public class NodeMetadataImpl extends ComputeMetadataImpl implements NodeMetadata
NodeMetadata.Status
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,
NodeMetadata.Status status,
String backendStatus,
int loginPort,
Iterable<String> publicAddresses,
Iterable<String> privateAddresses,
LoginCredentials credentials,
String hostname) |
Modifier and Type | Method and Description |
---|---|
String |
getBackendStatus()
status of the resource, as supplied literally from the backend api.
|
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.
|
NodeMetadata.Status |
getStatus()
portable status of the resource
|
protected com.google.common.base.Objects.ToStringHelper |
string() |
addComputeToStringSuffix, computeToStringPrefix, equals, getId, getTags, getType, hashCode
compareTo, getLocation, getName, getProviderId, getUri, getUserMetadata, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getId, getName, getProviderId, getTags, getType
getLocation, getUri, getUserMetadata
compareTo
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, NodeMetadata.Status status, @Nullable String backendStatus, 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
public LoginCredentials getCredentials()
getCredentials
in interface NodeMetadata
ComputeServiceContext#credentialStore
public Set<String> getPublicAddresses()
getPublicAddresses
in interface NodeMetadata
public Set<String> getPrivateAddresses()
getPrivateAddresses
in interface NodeMetadata
public NodeMetadata.Status getStatus()
getStatus
in interface ComputeMetadataIncludingStatus<NodeMetadata.Status>
public String getBackendStatus()
getBackendStatus
in interface ComputeMetadataIncludingStatus<NodeMetadata.Status>
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
protected com.google.common.base.Objects.ToStringHelper string()
string
in class ComputeMetadataImpl
Copyright © 2009-2013 jclouds. All Rights Reserved.