Class DefaultServiceEndpointBuilder
- java.lang.Object
-
- software.amazon.awssdk.awscore.endpoint.DefaultServiceEndpointBuilder
-
@NotThreadSafe public final class DefaultServiceEndpointBuilder extends Object
Uses service metadata and the request region to construct an endpoint for a specific service
-
-
Constructor Summary
Constructors Constructor Description DefaultServiceEndpointBuilder(String serviceName, String protocol)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Region
getRegion()
URI
getServiceEndpoint()
<T> DefaultServiceEndpointBuilder
putAdvancedOption(ServiceMetadataAdvancedOption<T> option, T value)
DefaultServiceEndpointBuilder
withDualstackEnabled(Boolean dualstackEnabled)
DefaultServiceEndpointBuilder
withFipsEnabled(Boolean fipsEnabled)
DefaultServiceEndpointBuilder
withProfileFile(Supplier<ProfileFile> profileFile)
DefaultServiceEndpointBuilder
withProfileFile(ProfileFile profileFile)
DefaultServiceEndpointBuilder
withProfileName(String profileName)
DefaultServiceEndpointBuilder
withRegion(Region region)
-
-
-
Method Detail
-
withRegion
public DefaultServiceEndpointBuilder withRegion(Region region)
-
withProfileFile
public DefaultServiceEndpointBuilder withProfileFile(Supplier<ProfileFile> profileFile)
-
withProfileFile
public DefaultServiceEndpointBuilder withProfileFile(ProfileFile profileFile)
-
withProfileName
public DefaultServiceEndpointBuilder withProfileName(String profileName)
-
putAdvancedOption
public <T> DefaultServiceEndpointBuilder putAdvancedOption(ServiceMetadataAdvancedOption<T> option, T value)
-
withDualstackEnabled
public DefaultServiceEndpointBuilder withDualstackEnabled(Boolean dualstackEnabled)
-
withFipsEnabled
public DefaultServiceEndpointBuilder withFipsEnabled(Boolean fipsEnabled)
-
getServiceEndpoint
public URI getServiceEndpoint()
-
getRegion
public Region getRegion()
-
-