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

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

public class ServerWithSecurityGroups
extends Server

Extended server returned by ServerWithSecurityGroupsApi

Author:
Adam Lowe
See Also:

Nested Class Summary
static class ServerWithSecurityGroups.Builder<T extends ServerWithSecurityGroups.Builder<T>>
           
 
Nested classes/interfaces inherited from class org.jclouds.openstack.nova.v2_0.domain.Server
Server.Status
 
Constructor Summary
protected ServerWithSecurityGroups(String id, String name, Set<Link> links, String uuid, String tenantId, String userId, Date updated, Date created, String hostId, String accessIPv4, String accessIPv6, Server.Status status, Resource image, Resource flavor, String keyName, String configDrive, com.google.common.collect.Multimap<String,Address> addresses, Map<String,String> metadata, ServerExtendedStatus extendedStatus, ServerExtendedAttributes extendedAttributes, String diskConfig, Set<String> securityGroupNames)
           
 
Method Summary
static ServerWithSecurityGroups.Builder<?> builder()
           
 boolean equals(Object obj)
           
 Set<String> getSecurityGroupNames()
           
 int hashCode()
           
protected  com.google.common.base.Objects.ToStringHelper string()
           
 ServerWithSecurityGroups.Builder<?> toBuilder()
           
 
Methods inherited from class org.jclouds.openstack.nova.v2_0.domain.Server
getAccessIPv4, getAccessIPv6, getAddresses, getConfigDrive, getCreated, getDiskConfig, getExtendedAttributes, getExtendedStatus, getFlavor, getHostId, getImage, getKeyName, getMetadata, getStatus, getTenantId, getUpdated, getUserId, getUuid
 
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

ServerWithSecurityGroups

@ConstructorProperties(value={"id","name","links","uuid","tenant_id","user_id","updated","created","hostId","accessIPv4","accessIPv6","status","image","flavor","key_name","config_drive","addresses","metadata","extendedStatus","extendedAttributes","OS-DCF:diskConfig","security_groups"})
protected ServerWithSecurityGroups(String id,
                                                              @Nullable
                                                              String name,
                                                              Set<Link> links,
                                                              @Nullable
                                                              String uuid,
                                                              String tenantId,
                                                              String userId,
                                                              Date updated,
                                                              Date created,
                                                              @Nullable
                                                              String hostId,
                                                              @Nullable
                                                              String accessIPv4,
                                                              @Nullable
                                                              String accessIPv6,
                                                              Server.Status status,
                                                              Resource image,
                                                              Resource flavor,
                                                              @Nullable
                                                              String keyName,
                                                              @Nullable
                                                              String configDrive,
                                                              com.google.common.collect.Multimap<String,Address> addresses,
                                                              Map<String,String> metadata,
                                                              @Nullable
                                                              ServerExtendedStatus extendedStatus,
                                                              @Nullable
                                                              ServerExtendedAttributes extendedAttributes,
                                                              @Nullable
                                                              String diskConfig,
                                                              Set<String> securityGroupNames)
Method Detail

builder

public static ServerWithSecurityGroups.Builder<?> builder()

toBuilder

public ServerWithSecurityGroups.Builder<?> toBuilder()
Overrides:
toBuilder in class Server

getSecurityGroupNames

public Set<String> getSecurityGroupNames()

hashCode

public int hashCode()
Overrides:
hashCode in class Resource

equals

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

string

protected com.google.common.base.Objects.ToStringHelper string()
Overrides:
string in class Server


Copyright © 2009-2012 jclouds. All Rights Reserved.