Class ServerWithSecurityGroups

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

public class ServerWithSecurityGroups extends Server
Extended server returned by ServerWithSecurityGroupsApi
See Also:
  • Constructor Details

    • ServerWithSecurityGroups

      @ConstructorProperties({"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","OS-EXT-AZ:availability_zone"}) protected ServerWithSecurityGroups(String id, @Nullable String name, Set<org.jclouds.openstack.v2_0.domain.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, org.jclouds.openstack.v2_0.domain.Resource image, org.jclouds.openstack.v2_0.domain.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, @Nullable String availabilityZone)
  • Method Details

    • 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 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.MoreObjects.ToStringHelper string()
      Overrides:
      string in class Server