public class NodeMetadataImpl extends ComputeMetadataImpl implements NodeMetadata
NodeMetadata.Statustags| 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, compareTo, computeToStringPrefix, equals, getId, getTags, getType, hashCodegetLocation, getName, getProviderId, getUri, getUserMetadata, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetId, getName, getProviderId, getTags, getTypegetLocation, getUri, getUserMetadatacompareTopublic 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 NodeMetadatapublic Hardware getHardware()
getHardware in interface NodeMetadatapublic LoginCredentials getCredentials()
getCredentials in interface NodeMetadataComputeServiceContext#credentialStorepublic Set<String> getPublicAddresses()
getPublicAddresses in interface NodeMetadatapublic Set<String> getPrivateAddresses()
getPrivateAddresses in interface NodeMetadatapublic NodeMetadata.Status getStatus()
getStatus in interface ComputeMetadataIncludingStatus<NodeMetadata.Status>public String getBackendStatus()
getBackendStatus in interface ComputeMetadataIncludingStatus<NodeMetadata.Status>public int getLoginPort()
getLoginPort in interface NodeMetadatapublic String getImageId()
getImageId in interface NodeMetadatapublic OperatingSystem getOperatingSystem()
getOperatingSystem in interface NodeMetadatapublic String getHostname()
getHostname in interface NodeMetadataprotected com.google.common.base.Objects.ToStringHelper string()
string in class ComputeMetadataImplCopyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.