Interface VersioningConfiguration.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<VersioningConfiguration.Builder,VersioningConfiguration>
,SdkBuilder<VersioningConfiguration.Builder,VersioningConfiguration>
,SdkPojo
- Enclosing class:
- VersioningConfiguration
public static interface VersioningConfiguration.Builder extends SdkPojo, CopyableBuilder<VersioningConfiguration.Builder,VersioningConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VersioningConfiguration.Builder
mfaDelete(String mfaDelete)
Specifies whether MFA delete is enabled in the bucket versioning configuration.VersioningConfiguration.Builder
mfaDelete(MFADelete mfaDelete)
Specifies whether MFA delete is enabled in the bucket versioning configuration.VersioningConfiguration.Builder
status(String status)
The versioning state of the bucket.VersioningConfiguration.Builder
status(BucketVersioningStatus status)
The versioning state of the bucket.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
mfaDelete
VersioningConfiguration.Builder mfaDelete(String mfaDelete)
Specifies whether MFA delete is enabled in the bucket versioning configuration. This element is only returned if the bucket has been configured with MFA delete. If the bucket has never been so configured, this element is not returned.
- Parameters:
mfaDelete
- Specifies whether MFA delete is enabled in the bucket versioning configuration. This element is only returned if the bucket has been configured with MFA delete. If the bucket has never been so configured, this element is not returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MFADelete
,MFADelete
-
mfaDelete
VersioningConfiguration.Builder mfaDelete(MFADelete mfaDelete)
Specifies whether MFA delete is enabled in the bucket versioning configuration. This element is only returned if the bucket has been configured with MFA delete. If the bucket has never been so configured, this element is not returned.
- Parameters:
mfaDelete
- Specifies whether MFA delete is enabled in the bucket versioning configuration. This element is only returned if the bucket has been configured with MFA delete. If the bucket has never been so configured, this element is not returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MFADelete
,MFADelete
-
status
VersioningConfiguration.Builder status(String status)
The versioning state of the bucket.
- Parameters:
status
- The versioning state of the bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
BucketVersioningStatus
,BucketVersioningStatus
-
status
VersioningConfiguration.Builder status(BucketVersioningStatus status)
The versioning state of the bucket.
- Parameters:
status
- The versioning state of the bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
BucketVersioningStatus
,BucketVersioningStatus
-
-