Class AwsServiceEndPoint
- java.lang.Object
-
- be.wegenenverkeer.rxhttpclient.aws.AwsServiceEndPoint
-
public class AwsServiceEndPoint extends java.lang.ObjectUtility class to determine Endpoints for service/region combinationCreated by Karel Maesen, Geovise BVBA on 24/06/16.
-
-
Field Summary
Fields Modifier and Type Field Description static AwsRegionDEFAULT_REGION
-
Constructor Summary
Constructors Constructor Description AwsServiceEndPoint(AwsService service, AwsRegion region, java.lang.String domain)Creates an endpoint
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AwsServiceEndPointdefaultFor(AwsService service)static AwsServiceEndPointdefaultFor(AwsService service, AwsRegion region)static java.lang.StringdefaultHostFor(AwsService service, AwsRegion region)java.lang.StringendPointUrl()java.lang.StringgetDomain()AwsRegiongetRegion()AwsServicegetService()
-
-
-
Field Detail
-
DEFAULT_REGION
public static AwsRegion DEFAULT_REGION
-
-
Constructor Detail
-
AwsServiceEndPoint
public AwsServiceEndPoint(AwsService service, AwsRegion region, java.lang.String domain)
Creates an endpoint- Parameters:
service- the AWS Service for this endpointregion- the AWS Region to usedomain- the domain name (host name) of the service
-
-
Method Detail
-
endPointUrl
public java.lang.String endPointUrl()
-
getRegion
public AwsRegion getRegion()
-
getDomain
public java.lang.String getDomain()
-
getService
public AwsService getService()
-
defaultFor
public static AwsServiceEndPoint defaultFor(AwsService service, AwsRegion region)
-
defaultFor
public static AwsServiceEndPoint defaultFor(AwsService service)
-
defaultHostFor
public static java.lang.String defaultHostFor(AwsService service, AwsRegion region)
-
-