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

java.lang.Object
  extended by org.jclouds.openstack.v2_0.domain.Resource
      extended by org.jclouds.openstack.nova.v2_0.domain.ServerCreated
All Implemented Interfaces:
Comparable<org.jclouds.openstack.v2_0.domain.Resource>

public class ServerCreated
extends org.jclouds.openstack.v2_0.domain.Resource

Server Resource with administrative password returned by ServerApi#CreateServer calls

See Also:

Nested Class Summary
static class ServerCreated.Builder
           
 
Constructor Summary
protected ServerCreated(String id, String name, Set<org.jclouds.openstack.v2_0.domain.Link> links, String adminPass, String diskConfig)
           
 
Method Summary
static ServerCreated.Builder builder()
           
 boolean equals(Object obj)
           
 com.google.common.base.Optional<String> getAdminPass()
          present unless the nova install was configured with the option enable_instance_password=false
 com.google.common.base.Optional<String> getDiskConfig()
           
 int hashCode()
           
protected  com.google.common.base.Objects.ToStringHelper string()
           
 ServerCreated.Builder toBuilder()
           
 
Methods inherited from class org.jclouds.openstack.v2_0.domain.Resource
compareTo, getId, getLinks, getName, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServerCreated

@ConstructorProperties(value={"id","name","links","adminPass","OS-DCF:diskConfig"})
protected ServerCreated(String id,
                                                   @Nullable
                                                   String name,
                                                   Set<org.jclouds.openstack.v2_0.domain.Link> links,
                                                   @Nullable
                                                   String adminPass,
                                                   @Nullable
                                                   String diskConfig)
Method Detail

builder

public static ServerCreated.Builder builder()

toBuilder

public ServerCreated.Builder toBuilder()
Overrides:
toBuilder in class org.jclouds.openstack.v2_0.domain.Resource

getAdminPass

public com.google.common.base.Optional<String> getAdminPass()
present unless the nova install was configured with the option enable_instance_password=false


getDiskConfig

public com.google.common.base.Optional<String> getDiskConfig()
See Also:
CreateServerOptions#getDiskConfig()

hashCode

public int hashCode()
Overrides:
hashCode in class org.jclouds.openstack.v2_0.domain.Resource

equals

public boolean equals(Object obj)
Overrides:
equals in class org.jclouds.openstack.v2_0.domain.Resource

string

protected com.google.common.base.Objects.ToStringHelper string()
Overrides:
string in class org.jclouds.openstack.v2_0.domain.Resource


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.