Package com.adaptris.aws2
Class CustomEndpoint
java.lang.Object
com.adaptris.aws2.CustomEndpoint
- All Implemented Interfaces:
EndpointBuilder
Wraps
AwsClientBuilder.EndpointConfiguration for configuration purposes.- Since:
- 4.3.0
In the adapter configuration file this class is aliased as aws2-custom-endpoint which is the preferred alternative to the fully qualified classname when building your configuration.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSet the custom service endpoint (e.g.Set the signing region for the endpoint (e.g.booleanWhether or not this endpoint has configuration.<T extends software.amazon.awssdk.awscore.client.builder.AwsClientBuilder<?,?>>
Trebuild(T builder) voidsetServiceEndpoint(String serviceEndpoint) Set the custom service endpoint (e.g.voidsetSigningRegion(String signingRegion) Set the signing region for the endpoint (e.g.
-
Constructor Details
-
CustomEndpoint
public CustomEndpoint()
-
-
Method Details
-
isConfigured
public boolean isConfigured()Whether or not this endpoint has configuration.- Returns:
- true if both serviceEndpoint and signing region have are non-blank
-
rebuild
public <T extends software.amazon.awssdk.awscore.client.builder.AwsClientBuilder<?,?>> T rebuild(T builder) - Specified by:
rebuildin interfaceEndpointBuilder
-
withServiceEndpoint
-
withSigningRegion
-
getServiceEndpoint
Set the custom service endpoint (e.g.https://sns.us-west-1.amazonaws.com). -
setServiceEndpoint
Set the custom service endpoint (e.g.https://sns.us-west-1.amazonaws.com). -
getSigningRegion
Set the signing region for the endpoint (e.g.us-west-1). -
setSigningRegion
Set the signing region for the endpoint (e.g.us-west-1).
-