Class S3ControlConfiguration
java.lang.Object
software.amazon.awssdk.services.s3control.S3ControlConfiguration
- All Implemented Interfaces:
ServiceConfiguration
,ToCopyableBuilder<S3ControlConfiguration.Builder,
S3ControlConfiguration>
@Immutable
@ThreadSafe
public final class S3ControlConfiguration
extends Object
implements ServiceConfiguration, ToCopyableBuilder<S3ControlConfiguration.Builder,S3ControlConfiguration>
S3 Control specific configuration allowing customers to enable FIPS or
dualstack.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Create aS3ControlConfiguration.Builder
, used to create aS3ControlConfiguration
.boolean
Returns whether the client is configured to use dualstack mode for accessing S3.boolean
Returns whether the client has enabled fips mode for accessing S3 Control.Take this object and create a builder that contains all of the current property values of this object.boolean
Returns whether the client is configured 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.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
builder
Create aS3ControlConfiguration.Builder
, used to create aS3ControlConfiguration
. -
fipsModeEnabled
public boolean fipsModeEnabled()Returns whether the client has enabled fips mode for accessing S3 Control.
- Returns:
- True if client will use FIPS mode.
-
dualstackEnabled
public boolean dualstackEnabled()Returns whether the client is configured to use dualstack mode for accessing S3. If you want to use IPv6 when accessing S3, dualstack must be enabled.
Dualstack endpoints are disabled by default.
- Returns:
- True if the client will use the dualstack endpoints
-
useArnRegionEnabled
public boolean useArnRegionEnabled()Returns whether the client is configured 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.- Returns:
- true if use arn region is enabled.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<S3ControlConfiguration.Builder,
S3ControlConfiguration> - Returns:
- a builder for type T
-