Interface DeleteObjectAnnotationRequest.Builder

  • Method Details

    • bucket

      The name of the bucket that contains the object.

      Parameters:
      bucket - The name of the bucket that contains the object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • key

      The object key.

      Parameters:
      key - The object key.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • annotationName

      DeleteObjectAnnotationRequest.Builder annotationName(String annotationName)

      The name of the annotation to delete. Annotation names are UTF-8 encoded and cannot start with aws or s3 (case-insensitive).

      Length Constraints: Minimum length of 1. Maximum length of 512 bytes.

      Parameters:
      annotationName - The name of the annotation to delete. Annotation names are UTF-8 encoded and cannot start with aws or s3 (case-insensitive).

      Length Constraints: Minimum length of 1. Maximum length of 512 bytes.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • versionId

      The version ID of the object.

      Parameters:
      versionId - The version ID of the object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • requestPayer

      DeleteObjectAnnotationRequest.Builder requestPayer(String requestPayer)
      Sets the value of the RequestPayer property for this object.
      Parameters:
      requestPayer - The new value for the RequestPayer property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • requestPayer

      Sets the value of the RequestPayer property for this object.
      Parameters:
      requestPayer - The new value for the RequestPayer property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • expectedBucketOwner

      DeleteObjectAnnotationRequest.Builder expectedBucketOwner(String expectedBucketOwner)

      The account ID of the expected bucket owner.

      Parameters:
      expectedBucketOwner - The account ID of the expected bucket owner.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • objectIfMatch

      DeleteObjectAnnotationRequest.Builder objectIfMatch(String objectIfMatch)

      If specified, the operation only succeeds if the object's ETag matches the provided value.

      Parameters:
      objectIfMatch - If specified, the operation only succeeds if the object's ETag matches the provided value.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      DeleteObjectAnnotationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.