Interface GetObjectAnnotationRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<GetObjectAnnotationRequest.Builder,GetObjectAnnotationRequest>, S3Request.Builder, SdkBuilder<GetObjectAnnotationRequest.Builder,GetObjectAnnotationRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
GetObjectAnnotationRequest

  • 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

      GetObjectAnnotationRequest.Builder annotationName(String annotationName)

      The name of the annotation to retrieve.

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

      Parameters:
      annotationName - The name of the annotation to retrieve.

      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

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

      GetObjectAnnotationRequest.Builder expectedBucketOwner(String expectedBucketOwner)

      The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with an HTTP 403 (Access Denied) error.

      Parameters:
      expectedBucketOwner - The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with an HTTP 403 (Access Denied) error.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • checksumMode

      GetObjectAnnotationRequest.Builder checksumMode(String checksumMode)

      Set to ENABLED to validate the checksum of the annotation payload on retrieval.

      Parameters:
      checksumMode - Set to ENABLED to validate the checksum of the annotation payload on retrieval.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • checksumMode

      Set to ENABLED to validate the checksum of the annotation payload on retrieval.

      Parameters:
      checksumMode - Set to ENABLED to validate the checksum of the annotation payload on retrieval.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      GetObjectAnnotationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
    • overrideConfiguration

      Specified by:
      overrideConfiguration in interface AwsRequest.Builder