java.lang.Object
org.jclouds.openstack.nova.v2_0.domain.regionscoped.RegionAndId
Direct Known Subclasses:
FlavorInRegion, ImageInRegion, ServerInRegion

public class RegionAndId extends Object
  • Field Details

    • regionId

      protected final String regionId
    • id

      protected final String id
  • Constructor Details

    • RegionAndId

      protected RegionAndId(String regionId, String id)
  • Method Details

    • fromSlashEncoded

      public static RegionAndId fromSlashEncoded(String id)
    • fromRegionAndId

      public static RegionAndId fromRegionAndId(String regionId, String id)
    • slashEncode

      public String slashEncode()
    • getRegion

      public String getRegion()
    • getId

      public String getId()
    • 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