Package com.amazonaws.partitions.model
Class Service
- java.lang.Object
-
- com.amazonaws.partitions.model.Service
-
public class Service extends Object
Endpoint configuration for a service in a partition.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Endpoint
getDefaults()
returns the default endpoints configuration for all regions in a partition.Map<String,Endpoint>
getEndpoints()
Returns the endpoints configuration for all regions in a partition that service supports.String
getPartitionEndpoint()
returns the region name if the service is enabled partition wide.boolean
isPartitionWideEndpointAvailable()
A convienient method that returns true if a service has a partition wide endpoint available.boolean
isRegionalized()
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..
-
-
-
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.
-
-