Interface DeleteObjectsResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<DeleteObjectsResponse.Builder,DeleteObjectsResponse>, S3Response.Builder, SdkBuilder<DeleteObjectsResponse.Builder,DeleteObjectsResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
DeleteObjectsResponse

public static interface DeleteObjectsResponse.Builder extends S3Response.Builder, SdkPojo, CopyableBuilder<DeleteObjectsResponse.Builder,DeleteObjectsResponse>
  • Method Details

    • deleted

      Container element for a successful delete. It identifies the object that was successfully deleted.

      Parameters:
      deleted - Container element for a successful delete. It identifies the object that was successfully deleted.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • deleted

      Container element for a successful delete. It identifies the object that was successfully deleted.

      Parameters:
      deleted - Container element for a successful delete. It identifies the object that was successfully deleted.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • deleted

      Container element for a successful delete. It identifies the object that was successfully deleted.

      This is a convenience method that creates an instance of the DeletedObject.Builder avoiding the need to create one manually via DeletedObject.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to deleted(List<DeletedObject>).

      Parameters:
      deleted - a consumer that will call methods on DeletedObject.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • requestCharged

      DeleteObjectsResponse.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

      DeleteObjectsResponse.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:
    • errors

      Container for a failed delete action that describes the object that Amazon S3 attempted to delete and the error it encountered.

      Parameters:
      errors - Container for a failed delete action that describes the object that Amazon S3 attempted to delete and the error it encountered.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errors

      Container for a failed delete action that describes the object that Amazon S3 attempted to delete and the error it encountered.

      Parameters:
      errors - Container for a failed delete action that describes the object that Amazon S3 attempted to delete and the error it encountered.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errors

      Container for a failed delete action that describes the object that Amazon S3 attempted to delete and the error it encountered.

      This is a convenience method that creates an instance of the S3Error.Builder avoiding the need to create one manually via S3Error.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to errors(List<S3Error>).

      Parameters:
      errors - a consumer that will call methods on S3Error.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: