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.boolean
Returns true if the region is explicitly configured in the partition or if the region matches theregionRegex
of the partition.void
setDefaults
(Endpoint defaults) Sets the default endpoint configuration of the partition.void
setDnsSuffix
(String dnsSuffix) Sets the dns suffix of the partition.void
setPartition
(String partition) void
setPartitionName
(String partitionName) Sets the description of the partition.void
setRegionRegex
(String regionRegex) Sets the regex for the regions in the partition.void
setRegions
(Map<String, PartitionRegion> regions) void
setServices
(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 theregionRegex
of the partition.
-