Class AwsClientEndpointProvider
java.lang.Object
software.amazon.awssdk.awscore.endpoint.AwsClientEndpointProvider
- All Implemented Interfaces:
ClientEndpointProvider
An implementation of
ClientEndpointProvider that loads the default client endpoint from:
- The client-level endpoint override
- The service-specific endpoint override system property (e.g. 'aws.endpointUrlS3')
- The service-agnostic endpoint override system property (i.e. 'aws.endpointUrl')
- The service-specific endpoint override environment variable (e.g. 'AWS_ENDPOINT_URL_S3')
- The service-agnostic endpoint override environment variable (i.e. 'AWS_ENDPOINT_URL')
- The service-specific endpoint override profile property (e.g. 's3.endpoint_url')
- The service-agnostic endpoint override profile property (i.e. 'endpoint_url')
- The
ServiceMetadatafor the service
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Retrieve the endpoint to be used by the client.booleanReturn true if the endpoint was overridden by the customer, or false if it was loaded from theServiceMetadata.
-
Method Details
-
builder
-
clientEndpoint
Retrieve the endpoint to be used by the client.- Specified by:
clientEndpointin interfaceClientEndpointProvider- Throws:
SdkClientException- If the endpoint could not be loaded or was invalid
-
isEndpointOverridden
public boolean isEndpointOverridden()Return true if the endpoint was overridden by the customer, or false if it was loaded from theServiceMetadata.- Specified by:
isEndpointOverriddenin interfaceClientEndpointProvider- Throws:
SdkClientException- If the endpoint could not be loaded or was invalid
-