Class HostAggregate

java.lang.Object
org.jclouds.openstack.nova.v2_0.domain.HostAggregate

public class HostAggregate extends Object
Aggregates can be manipulated using the Aggregate Extension to Nova (alias "OS-AGGREGATES")
See Also:
  • Constructor Details

  • Method Details

    • builder

      public static HostAggregate.Builder<?> builder()
    • toBuilder

      public HostAggregate.Builder<?> toBuilder()
    • getId

      public String getId()
    • getName

      public String getName()
    • getAvailabilityZone

      public String getAvailabilityZone()
      Returns:
      the availability zone this aggregate is in
    • getHosts

      public Set<String> getHosts()
    • getState

      public String getState()
    • getCreated

      public Date getCreated()
    • getUpdated

      public com.google.common.base.Optional<Date> getUpdated()
    • getMetadata

      public Map<String,String> getMetadata()
    • 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.MoreObjects.ToStringHelper string()
    • toString

      public String toString()
      Overrides:
      toString in class Object