Class RegionSummary
- java.lang.Object
-
- com.rivet.api.resources.cloud.common.types.RegionSummary
-
public final class RegionSummary extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRegionSummary._FinalStagestatic classRegionSummary.Builderstatic interfaceRegionSummary.ProviderDisplayNameStagestatic interfaceRegionSummary.ProviderStagestatic interfaceRegionSummary.RegionDisplayNameStagestatic interfaceRegionSummary.RegionIdStagestatic interfaceRegionSummary.RegionNameIdStagestatic interfaceRegionSummary.UniversalRegionStage
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RegionSummary.RegionIdStagebuilder()booleanequals(java.lang.Object other)java.lang.StringgetProvider()java.lang.StringgetProviderDisplayName()java.lang.StringgetRegionDisplayName()java.util.UUIDgetRegionId()java.lang.StringgetRegionNameId()doublegetUniversalRegion()inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getRegionId
public java.util.UUID getRegionId()
-
getRegionNameId
public java.lang.String getRegionNameId()
- Returns:
- A human readable short identifier used to references resources. Different than a
rivet.common#Uuidbecause this is intended to be human readable. Different thanrivet.common#DisplayNamebecause this should not include special characters and be short.
-
getProvider
public java.lang.String getProvider()
- Returns:
- The server provider of this region.
-
getUniversalRegion
public double getUniversalRegion()
- Returns:
- A universal number given to this region.
-
getProviderDisplayName
public java.lang.String getProviderDisplayName()
- Returns:
- Represent a resource's readable display name.
-
getRegionDisplayName
public java.lang.String getRegionDisplayName()
- Returns:
- Represent a resource's readable display name.
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
builder
public static RegionSummary.RegionIdStage builder()
-
-