public class Service extends Object
Constructor and Description |
---|
Service(Map<String,Endpoint> endpoints) |
Modifier and Type | Method and 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..
|
public Map<String,Endpoint> getEndpoints()
public Endpoint getDefaults()
public void setDefaults(Endpoint defaults)
public String getPartitionEndpoint()
public void setPartitionEndpoint(String partitionEndpoint)
public boolean isRegionalized()
public void setRegionalized(boolean regionalized)
public boolean isPartitionWideEndpointAvailable()
Copyright © 2023. All rights reserved.