Class Partition
java.lang.Object
software.amazon.awssdk.codegen.lite.regions.model.Partition
This class models a AWS partition and contains all metadata about it.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the default endpoint configuration of the partition.Returns the dns suffix of the partition.Returns the name of the partition.Returns the description of the partition.Returns the regex for the regions in the partition.Returns the set of regions associated with the partition.Returns the set of services supported by the partition.booleanReturns true if the region is explicitly configured in the partition or if the region matches theregionRegexof the partition.voidsetDefaults(Endpoint defaults) Sets the default endpoint configuration of the partition.voidsetDnsSuffix(String dnsSuffix) Sets the dns suffix of the partition.voidsetPartition(String partition) voidsetPartitionName(String partitionName) Sets the description of the partition.voidsetRegionRegex(String regionRegex) Sets the regex for the regions in the partition.voidsetRegions(Map<String, PartitionRegion> regions) voidsetServices(Map<String, Service> services)
-
Constructor Details
-
Partition
public Partition() -
Partition
-
-
Method Details
-
getPartition
Returns the name of the partition. -
setPartition
-
getPartitionName
Returns the description of the partition. -
setPartitionName
Sets the description of the partition. -
getDnsSuffix
Returns the dns suffix of the partition. -
setDnsSuffix
Sets the dns suffix of the partition. -
getRegionRegex
Returns the regex for the regions in the partition. -
setRegionRegex
Sets the regex for the regions in the partition. -
getDefaults
Returns the default endpoint configuration of the partition. -
setDefaults
Sets the default endpoint configuration of the partition. -
getRegions
Returns the set of regions associated with the partition. -
setRegions
-
getServices
-
setServices
-
hasRegion
Returns true if the region is explicitly configured in the partition or if the region matches theregionRegexof the partition.
-