Package org.jclouds.compute.domain
Class NodeMetadataBuilder
- java.lang.Object
-
- org.jclouds.domain.ResourceMetadataBuilder<ComputeType>
-
- org.jclouds.compute.domain.ComputeMetadataBuilder
-
- org.jclouds.compute.domain.NodeMetadataBuilder
-
public class NodeMetadataBuilder extends ComputeMetadataBuilder
-
-
Field Summary
-
Fields inherited from class org.jclouds.compute.domain.ComputeMetadataBuilder
id, tags, type
-
Fields inherited from class org.jclouds.domain.ResourceMetadataBuilder
location, name, providerId, uri, userMetadata
-
-
Constructor Summary
Constructors Constructor Description NodeMetadataBuilder()
-
Method Summary
-
Methods inherited from class org.jclouds.compute.domain.ComputeMetadataBuilder
fromComputeMetadata
-
-
-
-
Method Detail
-
loginPort
public NodeMetadataBuilder loginPort(int loginPort)
-
status
public NodeMetadataBuilder status(NodeMetadata.Status status)
-
backendStatus
public NodeMetadataBuilder backendStatus(@Nullable String backendStatus)
-
publicAddresses
public NodeMetadataBuilder publicAddresses(Iterable<String> publicAddresses)
-
privateAddresses
public NodeMetadataBuilder privateAddresses(Iterable<String> privateAddresses)
-
credentials
public NodeMetadataBuilder credentials(@Nullable LoginCredentials credentials)
-
group
public NodeMetadataBuilder group(@Nullable String group)
-
imageId
public NodeMetadataBuilder imageId(@Nullable String imageId)
-
hardware
public NodeMetadataBuilder hardware(@Nullable Hardware hardware)
-
operatingSystem
public NodeMetadataBuilder operatingSystem(@Nullable OperatingSystem os)
-
hostname
public NodeMetadataBuilder hostname(String hostname)
-
id
public NodeMetadataBuilder id(String id)
- Overrides:
id
in classComputeMetadataBuilder
-
tags
public NodeMetadataBuilder tags(Iterable<String> tags)
- Overrides:
tags
in classComputeMetadataBuilder
-
ids
public NodeMetadataBuilder ids(String id)
Description copied from class:ComputeMetadataBuilder
set id and providerId to the same value;- Overrides:
ids
in classComputeMetadataBuilder
-
providerId
public NodeMetadataBuilder providerId(String providerId)
- Overrides:
providerId
in classComputeMetadataBuilder
-
name
public NodeMetadataBuilder name(String name)
- Overrides:
name
in classComputeMetadataBuilder
-
location
public NodeMetadataBuilder location(Location location)
- Overrides:
location
in classComputeMetadataBuilder
-
uri
public NodeMetadataBuilder uri(URI uri)
- Overrides:
uri
in classComputeMetadataBuilder
-
userMetadata
public NodeMetadataBuilder userMetadata(Map<String,String> userMetadata)
- Overrides:
userMetadata
in classComputeMetadataBuilder
-
build
public NodeMetadata build()
- Overrides:
build
in classComputeMetadataBuilder
-
fromNodeMetadata
public static NodeMetadataBuilder fromNodeMetadata(NodeMetadata node)
-
-