@NotThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public final class AWSS3ControlClientBuilder extends AwsSyncClientBuilder<AWSS3ControlClientBuilder,AWSS3Control>
AWSS3Control
. Use of the builder is preferred over using
constructors of the client class.AwsClientBuilder.EndpointConfiguration
Modifier and Type | Method and Description |
---|---|
static AWSS3Control |
defaultClient() |
AWSS3ControlClientBuilder |
enableDualstack()
Enables use of Dual-Stack endpoints (supports both IPv4 and IPv6) on clients built with this builder.
|
AWSS3ControlClientBuilder |
enableFips()
Enables use of FIPS endpoints on clients built with this builder.
|
AWSS3ControlClientBuilder |
enableUseArnRegion()
This setting will enable the client to make calls to a region specified in an ARN that represents an S3 resource
even if that region is different to the region the client was initialized with.
|
Boolean |
isDualstackEnabled() |
Boolean |
isFipsEnabled() |
void |
setDualstackEnabled(Boolean dualstackEnabled)
Sets the status of Dual-Stack endpoints (supports both IPv4 and IPv6) for clients built with this builder.
|
void |
setFipsEnabled(Boolean fipsEnabled)
Sets the status of FIPS enabled endpoints for clients built with this builder.
|
void |
setUseArnRegionEnabled(Boolean useArnRegionEnabled)
This setting will enable the client to make calls to a region specified in an ARN that represents an S3 resource
even if that region is different to the region the client was initialized with.
|
static AWSS3ControlClientBuilder |
standard() |
AWSS3ControlClientBuilder |
withDualstackEnabled(Boolean dualstackEnabled)
Sets the status of Dual-Stack endpoints (supports both IPv4 and IPv6) for clients built with this builder.
|
AWSS3ControlClientBuilder |
withFipsEnabled(Boolean fipsEnabled)
Sets the status of FIPS enabled endpoints for clients built with this builder.
|
AWSS3ControlClientBuilder |
withUseArnRegionEnabled(Boolean useArnRegionEnabled)
This setting will enable the client to make calls to a region specified in an ARN that represents an S3 resource
even if that region is different to the region the client was initialized with.
|
build
getClientConfiguration, getClientSideMonitoringConfigurationProvider, getCredentials, getEndpoint, getMetricsCollector, getMonitoringListener, getRegion, getRequestHandlers, setClientConfiguration, setClientSideMonitoringConfigurationProvider, setCredentials, setEndpointConfiguration, setMetricsCollector, setMonitoringListener, setRegion, setRequestHandlers, withClientConfiguration, withClientSideMonitoringConfigurationProvider, withCredentials, withEndpointConfiguration, withMetricsCollector, withMonitoringListener, withRegion, withRegion, withRequestHandlers
public static AWSS3ControlClientBuilder standard()
public static AWSS3Control defaultClient()
DefaultAWSCredentialsProviderChain
and
DefaultAwsRegionProviderChain
chainpublic Boolean isDualstackEnabled()
public AWSS3ControlClientBuilder enableDualstack()
public void setDualstackEnabled(Boolean dualstackEnabled)
dualstackEnabled
- True if Dual-Stack endpoints should be used, false if Dual-Stack endpoints should not be used.public AWSS3ControlClientBuilder withDualstackEnabled(Boolean dualstackEnabled)
dualstackEnabled
- True if Dual-Stack endpoints should be used, false if Dual-Stack endpoints should not be used.public Boolean isFipsEnabled()
public AWSS3ControlClientBuilder enableFips()
public void setFipsEnabled(Boolean fipsEnabled)
fipsEnabled
- True if FIPS endpoints should be used, false if FIPS endpoints should not be used.public AWSS3ControlClientBuilder withFipsEnabled(Boolean fipsEnabled)
fipsEnabled
- True if FIPS endpoints should be used, false if FIPS endpoints should not be used.public AWSS3ControlClientBuilder enableUseArnRegion()
This setting will enable the client to make calls to a region specified in an ARN that represents an S3 resource even if that region is different to the region the client was initialized with. This setting is disabled by default.
public void setUseArnRegionEnabled(Boolean useArnRegionEnabled)
This setting will enable the client to make calls to a region specified in an ARN that represents an S3 resource even if that region is different to the region the client was initialized with. This setting is disabled by default.
public AWSS3ControlClientBuilder withUseArnRegionEnabled(Boolean useArnRegionEnabled)
This setting will enable the client to make calls to a region specified in an ARN that represents an S3 resource even if that region is different to the region the client was initialized with. This setting is disabled by default.