public class NodeMetadataImpl extends ComputeMetadataImpl implements NodeMetadata
tags| Constructor and Description |
|---|
NodeMetadataImpl(String providerId,
String name,
String id,
Location location,
URI uri,
Map<String,String> userMetadata,
Set<String> tags,
String group,
Hardware hardware,
String imageId,
OperatingSystem os,
NodeState state,
int loginPort,
Iterable<String> publicAddresses,
Iterable<String> privateAddresses,
LoginCredentials credentials,
String hostname) |
NodeMetadataImpl(String providerId,
String name,
String id,
Location location,
URI uri,
Map<String,String> userMetadata,
Set<String> tags,
String group,
Hardware hardware,
String imageId,
OperatingSystem os,
NodeState state,
int loginPort,
Iterable<String> publicAddresses,
Iterable<String> privateAddresses,
String adminPassword,
Credentials credentials,
String hostname)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAdminPassword()
Deprecated.
|
LoginCredentials |
getCredentials()
If possible, these are returned upon all detail requests.
|
String |
getGroup()
Tag used for all resources that belong to the same logical group.
|
Hardware |
getHardware()
The hardware this node is running, if possible to determine.
|
String |
getHostname()
note
|
String |
getImageId()
The id of the image this node was created from, if possible to correlate.
|
int |
getLoginPort() |
OperatingSystem |
getOperatingSystem()
The operating system this node is running, if possible to determine.
|
Set<String> |
getPrivateAddresses()
All private IP addresses.
|
Set<String> |
getPublicAddresses()
All public IP addresses, potentially including shared ips.
|
NodeState |
getState()
Current State of the node
|
int |
hashCode() |
String |
toString() |
getId, getTags, getTypecompareTo, getLocation, getName, getProviderId, getUri, getUserMetadataclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetId, getName, getProviderId, getTags, getTypegetLocation, getUri, getUserMetadatacompareTo@Deprecated public NodeMetadataImpl(String providerId, String name, String id, Location location, URI uri, Map<String,String> userMetadata, Set<String> tags, @Nullable String group, @Nullable Hardware hardware, @Nullable String imageId, @Nullable OperatingSystem os, NodeState state, int loginPort, Iterable<String> publicAddresses, Iterable<String> privateAddresses, @Nullable String adminPassword, @Nullable Credentials credentials, String hostname)
public NodeMetadataImpl(String providerId, String name, String id, Location location, URI uri, Map<String,String> userMetadata, Set<String> tags, @Nullable String group, @Nullable Hardware hardware, @Nullable String imageId, @Nullable OperatingSystem os, NodeState state, int loginPort, Iterable<String> publicAddresses, Iterable<String> privateAddresses, @Nullable LoginCredentials credentials, String hostname)
public String getGroup()
getGroup in interface NodeMetadatapublic Hardware getHardware()
getHardware in interface NodeMetadata@Deprecated public String getAdminPassword()
echo 'password' |sudo -S commandgetAdminPassword in interface NodeMetadataLoginCredentials.shouldAuthenticateSudo()public LoginCredentials getCredentials()
getCredentials in interface NodeMetadatapublic Set<String> getPublicAddresses()
getPublicAddresses in interface NodeMetadatapublic Set<String> getPrivateAddresses()
getPrivateAddresses in interface NodeMetadatapublic NodeState getState()
getState in interface NodeMetadatapublic int getLoginPort()
getLoginPort in interface NodeMetadatapublic String getImageId()
getImageId in interface NodeMetadatapublic OperatingSystem getOperatingSystem()
getOperatingSystem in interface NodeMetadatapublic String getHostname()
getHostname in interface NodeMetadatapublic String toString()
toString in class ResourceMetadataImpl<ComputeType>public int hashCode()
hashCode in class ComputeMetadataImplpublic boolean equals(Object obj)
equals in class ComputeMetadataImplCopyright © 2009-2012 jclouds. All Rights Reserved.