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, getType
compareTo, getLocation, getName, getProviderId, getUri, getUserMetadata
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getId, getName, getProviderId, getTags, getType
getLocation, getUri, getUserMetadata
compareTo
@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 NodeMetadata
public Hardware getHardware()
getHardware
in interface NodeMetadata
@Deprecated public String getAdminPassword()
echo 'password' |sudo -S command
getAdminPassword
in interface NodeMetadata
LoginCredentials.shouldAuthenticateSudo()
public LoginCredentials getCredentials()
getCredentials
in interface NodeMetadata
public Set<String> getPublicAddresses()
getPublicAddresses
in interface NodeMetadata
public Set<String> getPrivateAddresses()
getPrivateAddresses
in interface NodeMetadata
public NodeState getState()
getState
in interface NodeMetadata
public int getLoginPort()
getLoginPort
in interface NodeMetadata
public String getImageId()
getImageId
in interface NodeMetadata
public OperatingSystem getOperatingSystem()
getOperatingSystem
in interface NodeMetadata
public String getHostname()
getHostname
in interface NodeMetadata
public String toString()
toString
in class ResourceMetadataImpl<ComputeType>
public int hashCode()
hashCode
in class ComputeMetadataImpl
public boolean equals(Object obj)
equals
in class ComputeMetadataImpl
Copyright © 2009-2012 jclouds. All Rights Reserved.