public class NodeMetadataBuilder extends ComputeMetadataBuilder
id, tags, type
location, name, providerId, uri, userMetadata
Constructor and Description |
---|
NodeMetadataBuilder() |
fromComputeMetadata
public NodeMetadataBuilder loginPort(int loginPort)
public NodeMetadataBuilder status(NodeMetadata.Status status)
public NodeMetadataBuilder backendStatus(@Nullable String backendStatus)
public NodeMetadataBuilder publicAddresses(Iterable<String> publicAddresses)
public NodeMetadataBuilder privateAddresses(Iterable<String> privateAddresses)
public NodeMetadataBuilder credentials(@Nullable LoginCredentials credentials)
public NodeMetadataBuilder group(@Nullable String group)
public NodeMetadataBuilder imageId(@Nullable String imageId)
public NodeMetadataBuilder hardware(@Nullable Hardware hardware)
public NodeMetadataBuilder operatingSystem(@Nullable OperatingSystem os)
public NodeMetadataBuilder hostname(String hostname)
public NodeMetadataBuilder id(String id)
id
in class ComputeMetadataBuilder
public NodeMetadataBuilder tags(Iterable<String> tags)
tags
in class ComputeMetadataBuilder
public NodeMetadataBuilder ids(String id)
ComputeMetadataBuilder
ids
in class ComputeMetadataBuilder
public NodeMetadataBuilder providerId(String providerId)
providerId
in class ComputeMetadataBuilder
public NodeMetadataBuilder name(String name)
name
in class ComputeMetadataBuilder
public NodeMetadataBuilder location(Location location)
location
in class ComputeMetadataBuilder
public NodeMetadataBuilder uri(URI uri)
uri
in class ComputeMetadataBuilder
public NodeMetadataBuilder userMetadata(Map<String,String> userMetadata)
userMetadata
in class ComputeMetadataBuilder
public NodeMetadata build()
build
in class ComputeMetadataBuilder
public static NodeMetadataBuilder fromNodeMetadata(NodeMetadata node)
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.