Class Service


  • public class Service
    extends Object
    Endpoint configuration for a service in a partition.
    • Method Detail

      • getEndpoints

        public Map<String,​Endpoint> getEndpoints()
        Returns the endpoints configuration for all regions in a partition that service supports.
      • getDefaults

        public Endpoint getDefaults()
        returns the default endpoints configuration for all regions in a partition.
      • setDefaults

        public void setDefaults​(Endpoint defaults)
        Sets the default endpoints configuration for all regions in a partition.
      • getPartitionEndpoint

        public String getPartitionEndpoint()
        returns the region name if the service is enabled partition wide.
      • setPartitionEndpoint

        public void setPartitionEndpoint​(String partitionEndpoint)
        sets the region name if the service is enabled partition wide.
      • isRegionalized

        public boolean isRegionalized()
        returns true if the service is regionalized.
      • setRegionalized

        public void setRegionalized​(boolean regionalized)
        sets the regionalized property for a service..
      • isPartitionWideEndpointAvailable

        public boolean isPartitionWideEndpointAvailable()
        A convienient method that returns true if a service has a partition wide endpoint available.