org.jclouds.openstack.nova.v2_0.domain
Class ServerExtendedAttributes

java.lang.Object
  extended by org.jclouds.openstack.nova.v2_0.domain.ServerExtendedAttributes

public class ServerExtendedAttributes
extends Object

Additional attributes delivered by Extended Server Attributes extension (alias "OS-EXT-SRV-ATTR")

Author:
Adam Lowe
See Also:
, ExtensionApi.getExtensionByAlias(java.lang.String), ExtensionNamespaces.EXTENDED_STATUS

Nested Class Summary
static class ServerExtendedAttributes.Builder<T extends ServerExtendedAttributes.Builder<T>>
           
 
Field Summary
static String PREFIX
           
 
Constructor Summary
protected ServerExtendedAttributes(String instanceName, String hostName, String hypervisorHostName)
           
 
Method Summary
static ServerExtendedAttributes.Builder<?> builder()
           
 boolean equals(Object obj)
           
 String getHostName()
           
 String getHypervisorHostName()
           
 String getInstanceName()
           
 int hashCode()
           
protected  com.google.common.base.Objects.ToStringHelper string()
           
 ServerExtendedAttributes.Builder<?> toBuilder()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

PREFIX

public static String PREFIX
Constructor Detail

ServerExtendedAttributes

@ConstructorProperties(value={"OS-EXT-SRV-ATTR:instance_name","OS-EXT-SRV-ATTR:host","OS-EXT-SRV-ATTR:hypervisor_hostname"})
protected ServerExtendedAttributes(@Nullable
                                                              String instanceName,
                                                              @Nullable
                                                              String hostName,
                                                              @Nullable
                                                              String hypervisorHostName)
Method Detail

builder

public static ServerExtendedAttributes.Builder<?> builder()

toBuilder

public ServerExtendedAttributes.Builder<?> toBuilder()

getInstanceName

@Nullable
public String getInstanceName()

getHostName

@Nullable
public String getHostName()

getHypervisorHostName

@Nullable
public String getHypervisorHostName()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

string

protected com.google.common.base.Objects.ToStringHelper string()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2012 jclouds. All Rights Reserved.