Package com.amazonaws.partitions.model
Class Service
java.lang.Object
com.amazonaws.partitions.model.Service
Endpoint configuration for a service in a partition.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreturns the default endpoints configuration for all regions in a partition.Returns the endpoints configuration for all regions in a partition that service supports.returns the region name if the service is enabled partition wide.boolean
A convienient method that returns true if a service has a partition wide endpoint available.boolean
returns true if the service is regionalized.void
setDefaults
(Endpoint defaults) Sets the default endpoints configuration for all regions in a partition.void
setPartitionEndpoint
(String partitionEndpoint) sets the region name if the service is enabled partition wide.void
setRegionalized
(boolean regionalized) sets the regionalized property for a service..
-
Constructor Details
-
Service
-
-
Method Details
-
getEndpoints
Returns the endpoints configuration for all regions in a partition that service supports. -
getDefaults
returns the default endpoints configuration for all regions in a partition. -
setDefaults
Sets the default endpoints configuration for all regions in a partition. -
getPartitionEndpoint
returns the region name if the service is enabled partition wide. -
setPartitionEndpoint
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.
-