Class Datacenter

java.lang.Object
org.jclouds.softlayer.domain.Datacenter

public class Datacenter extends Object
Class Datacenter
See Also:
  • Constructor Details

  • Method Details

    • builder

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

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

      public int getId()
      Returns:
      The unique identifier of a specific location.
    • getName

      @Nullable public String getName()
      Returns:
      A short location description.
    • getLongName

      @Nullable public String getLongName()
      Returns:
      A longer location description.
    • getLocationAddress

      @Nullable public Address getLocationAddress()
      Returns:
      A location's physical address (optional).
    • getRegions

      public Set<Region> getRegions()
      A location can be a member of 1 or more regions. Sometimes the list of regions is empty, for example as a new Datacenter is being added. The list of regions usually contains one with keyName=FIRST_AVAILABLE which should be ignored.
      Returns:
      The regions to which a location belongs.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object