Interface DeleteObjectResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DeleteObjectResponse.Builder,DeleteObjectResponse>,S3Response.Builder,SdkBuilder<DeleteObjectResponse.Builder,DeleteObjectResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DeleteObjectResponse
@Mutable @NotThreadSafe public static interface DeleteObjectResponse.Builder extends S3Response.Builder, SdkPojo, CopyableBuilder<DeleteObjectResponse.Builder,DeleteObjectResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DeleteObjectResponse.BuilderdeleteMarker(Boolean deleteMarker)Indicates whether the specified object version that was permanently deleted was (true) or was not (false) a delete marker before deletion.DeleteObjectResponse.BuilderrequestCharged(String requestCharged)Sets the value of the RequestCharged property for this object.DeleteObjectResponse.BuilderrequestCharged(RequestCharged requestCharged)Sets the value of the RequestCharged property for this object.DeleteObjectResponse.BuilderversionId(String versionId)Returns the version ID of the delete marker created as a result of the DELETE operation.-
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
deleteMarker
DeleteObjectResponse.Builder deleteMarker(Boolean deleteMarker)
Indicates whether the specified object version that was permanently deleted was (true) or was not (false) a delete marker before deletion. In a simple DELETE, this header indicates whether (true) or not (false) the current version of the object is a delete marker. To learn more about delete markers, see Working with delete markers.
This functionality is not supported for directory buckets.
- Parameters:
deleteMarker- Indicates whether the specified object version that was permanently deleted was (true) or was not (false) a delete marker before deletion. In a simple DELETE, this header indicates whether (true) or not (false) the current version of the object is a delete marker. To learn more about delete markers, see Working with delete markers.This functionality is not supported for directory buckets.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versionId
DeleteObjectResponse.Builder versionId(String versionId)
Returns the version ID of the delete marker created as a result of the DELETE operation.
This functionality is not supported for directory buckets.
- Parameters:
versionId- Returns the version ID of the delete marker created as a result of the DELETE operation.This functionality is not supported for directory buckets.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requestCharged
DeleteObjectResponse.Builder requestCharged(String requestCharged)
Sets the value of the RequestCharged property for this object.- Parameters:
requestCharged- The new value for the RequestCharged property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RequestCharged,RequestCharged
-
requestCharged
DeleteObjectResponse.Builder requestCharged(RequestCharged requestCharged)
Sets the value of the RequestCharged property for this object.- Parameters:
requestCharged- The new value for the RequestCharged property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RequestCharged,RequestCharged
-
-