Interface DeleteObjectsResponse.Builder

    • Method Detail

      • deleted

        DeleteObjectsResponse.Builder deleted​(Collection<DeletedObject> 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

        DeleteObjectsResponse.Builder deleted​(DeletedObject... 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.
      • 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, RequestCharged
      • 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:
        RequestCharged, RequestCharged
      • errors

        DeleteObjectsResponse.Builder errors​(Collection<S3Error> 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

        DeleteObjectsResponse.Builder errors​(S3Error... 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

        DeleteObjectsResponse.Builder errors​(Consumer<S3Error.Builder>... 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).

        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:
        #errors(java.util.Collection)