|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jclouds.domain.internal.ResourceMetadataImpl<ComputeType> org.jclouds.compute.domain.internal.ComputeMetadataImpl org.jclouds.compute.domain.internal.NodeMetadataImpl
public class NodeMetadataImpl
Field Summary |
---|
Fields inherited from class org.jclouds.compute.domain.internal.ComputeMetadataImpl |
---|
tags |
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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()
|
Methods inherited from class org.jclouds.compute.domain.internal.ComputeMetadataImpl |
---|
getId, getTags, getType |
Methods inherited from class org.jclouds.domain.internal.ResourceMetadataImpl |
---|
compareTo, getLocation, getName, getProviderId, getUri, getUserMetadata |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.jclouds.compute.domain.ComputeMetadata |
---|
getId, getName, getProviderId, getTags, getType |
Methods inherited from interface org.jclouds.domain.ResourceMetadata |
---|
getLocation, getUri, getUserMetadata |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Constructor Detail |
---|
@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)
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |