Interface GetBucketVersioningResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetBucketVersioningResponse.Builder,GetBucketVersioningResponse>
,S3Response.Builder
,SdkBuilder<GetBucketVersioningResponse.Builder,GetBucketVersioningResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- GetBucketVersioningResponse
public static interface GetBucketVersioningResponse.Builder extends S3Response.Builder, SdkPojo, CopyableBuilder<GetBucketVersioningResponse.Builder,GetBucketVersioningResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetBucketVersioningResponse.Builder
mfaDelete(String mfaDelete)
Specifies whether MFA delete is enabled in the bucket versioning configuration.GetBucketVersioningResponse.Builder
mfaDelete(MFADeleteStatus mfaDelete)
Specifies whether MFA delete is enabled in the bucket versioning configuration.GetBucketVersioningResponse.Builder
status(String status)
The versioning state of the bucket.GetBucketVersioningResponse.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.services.s3.model.S3Response.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
status
GetBucketVersioningResponse.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
GetBucketVersioningResponse.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
-
mfaDelete
GetBucketVersioningResponse.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:
MFADeleteStatus
,MFADeleteStatus
-
mfaDelete
GetBucketVersioningResponse.Builder mfaDelete(MFADeleteStatus 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:
MFADeleteStatus
,MFADeleteStatus
-
-