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
- Author:
- Adrian Cole
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NodeMetadataBuilder
public NodeMetadataBuilder()
loginPort
public NodeMetadataBuilder loginPort(int loginPort)
state
public NodeMetadataBuilder state(NodeState state)
publicAddresses
public NodeMetadataBuilder publicAddresses(Iterable<String> publicAddresses)
privateAddresses
public NodeMetadataBuilder privateAddresses(Iterable<String> privateAddresses)
credentials
public NodeMetadataBuilder credentials(@Nullable
Credentials credentials)
adminPassword
public NodeMetadataBuilder adminPassword(@Nullable
String adminPassword)
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 class ComputeMetadataBuilder
tags
public NodeMetadataBuilder tags(Iterable<String> tags)
- Overrides:
tags
in class ComputeMetadataBuilder
ids
public NodeMetadataBuilder ids(String id)
- Description copied from class:
ComputeMetadataBuilder
- set id and providerId to the same value;
- Overrides:
ids
in class ComputeMetadataBuilder
providerId
public NodeMetadataBuilder providerId(String providerId)
- Overrides:
providerId
in class ComputeMetadataBuilder
name
public NodeMetadataBuilder name(String name)
- Overrides:
name
in class ComputeMetadataBuilder
location
public NodeMetadataBuilder location(Location location)
- Overrides:
location
in class ComputeMetadataBuilder
uri
public NodeMetadataBuilder uri(URI uri)
- Overrides:
uri
in class ComputeMetadataBuilder
userMetadata
public NodeMetadataBuilder userMetadata(Map<String,String> userMetadata)
- Overrides:
userMetadata
in class ComputeMetadataBuilder
build
public NodeMetadata build()
- Overrides:
build
in class ComputeMetadataBuilder
fromNodeMetadata
public static NodeMetadataBuilder fromNodeMetadata(NodeMetadata node)
Copyright © 2009-2011 jclouds. All Rights Reserved.