Class InMemoryRegionImpl
java.lang.Object
com.amazonaws.regions.InMemoryRegionImpl
- All Implemented Interfaces:
RegionImpl
An implementation of
RegionImpl that holds all information in memory.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddEndpoint(String serviceName, String endpoint) Returns an immutable collection of all the endpoints available in the region metadata.Returns the domain for this region; ex: "amazonaws.com".getName()The unique system ID for this region; ex: "us-east-1".Returns the partition this region is in.getServiceEndpoint(String serviceName) Returns the endpoint for the service given.booleanhasHttpEndpoint(String serviceName) Returns whether the given service support the https protocol in this region.booleanhasHttpsEndpoint(String serviceName) Returns whether the given service support the http protocol in this region.booleanisServiceSupported(String serviceName) Returns whether the given service is supported in this region.
-
Constructor Details
-
InMemoryRegionImpl
-
-
Method Details
-
addEndpoint
-
addHttps
-
addHttp
-
getName
Description copied from interface:RegionImplThe unique system ID for this region; ex: "us-east-1".- Specified by:
getNamein interfaceRegionImpl- Returns:
- The unique system ID for this region.
-
getDomain
Description copied from interface:RegionImplReturns the domain for this region; ex: "amazonaws.com".- Specified by:
getDomainin interfaceRegionImpl- Returns:
- The domain for this region.
-
getPartition
Description copied from interface:RegionImplReturns the partition this region is in. I.E. 'aws' or 'aws-cn'- Specified by:
getPartitionin interfaceRegionImpl- Returns:
- The partition this region is in.
-
isServiceSupported
Description copied from interface:RegionImplReturns whether the given service is supported in this region.- Specified by:
isServiceSupportedin interfaceRegionImpl- See Also:
-
getServiceEndpoint
Description copied from interface:RegionImplReturns the endpoint for the service given.- Specified by:
getServiceEndpointin interfaceRegionImpl- See Also:
-
hasHttpsEndpoint
Description copied from interface:RegionImplReturns whether the given service support the http protocol in this region.- Specified by:
hasHttpsEndpointin interfaceRegionImpl- See Also:
-
hasHttpEndpoint
Description copied from interface:RegionImplReturns whether the given service support the https protocol in this region.- Specified by:
hasHttpEndpointin interfaceRegionImpl- See Also:
-
getAvailableEndpoints
Description copied from interface:RegionImplReturns an immutable collection of all the endpoints available in the region metadata.- Specified by:
getAvailableEndpointsin interfaceRegionImpl
-