Class Partition

java.lang.Object
software.amazon.awssdk.codegen.lite.regions.model.Partition

public final class Partition extends Object
This class models a AWS partition and contains all metadata about it.
  • Constructor Details

  • Method Details

    • getPartition

      public String getPartition()
      Returns the name of the partition.
    • setPartition

      public void setPartition(String partition)
    • getPartitionName

      public String getPartitionName()
      Returns the description of the partition.
    • setPartitionName

      public void setPartitionName(String partitionName)
      Sets the description of the partition.
    • getDnsSuffix

      public String getDnsSuffix()
      Returns the dns suffix of the partition.
    • setDnsSuffix

      public void setDnsSuffix(String dnsSuffix)
      Sets the dns suffix of the partition.
    • getRegionRegex

      public String getRegionRegex()
      Returns the regex for the regions in the partition.
    • setRegionRegex

      public void setRegionRegex(String regionRegex)
      Sets the regex for the regions in the partition.
    • getDefaults

      public Endpoint getDefaults()
      Returns the default endpoint configuration of the partition.
    • setDefaults

      public void setDefaults(Endpoint defaults)
      Sets the default endpoint configuration of the partition.
    • getRegions

      public Map<String,PartitionRegion> getRegions()
      Returns the set of regions associated with the partition.
    • setRegions

      public void setRegions(Map<String,PartitionRegion> regions)
    • getServices

      public Map<String,Service> getServices()
      Returns the set of services supported by the partition.
    • setServices

      public void setServices(Map<String,Service> services)
    • hasRegion

      public boolean hasRegion(String region)
      Returns true if the region is explicitly configured in the partition or if the region matches the regionRegex of the partition.