Interface GetObjectRequest.Builder

  • Method Details

    • bucket

      Sets the value of the Bucket property for this object.
      Parameters:
      bucket - The new value for the Bucket property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • key

      Sets the value of the Key property for this object.
      Parameters:
      key - The new value for the Key property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ifMatch

      GetObjectRequest.Builder ifMatch(String ifMatch)
      Sets the value of the IfMatch property for this object.
      Parameters:
      ifMatch - The new value for the IfMatch property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ifModifiedSince

      GetObjectRequest.Builder ifModifiedSince(Instant ifModifiedSince)
      Sets the value of the IfModifiedSince property for this object.
      Parameters:
      ifModifiedSince - The new value for the IfModifiedSince property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ifNoneMatch

      GetObjectRequest.Builder ifNoneMatch(String ifNoneMatch)
      Sets the value of the IfNoneMatch property for this object.
      Parameters:
      ifNoneMatch - The new value for the IfNoneMatch property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ifUnmodifiedSince

      GetObjectRequest.Builder ifUnmodifiedSince(Instant ifUnmodifiedSince)
      Sets the value of the IfUnmodifiedSince property for this object.
      Parameters:
      ifUnmodifiedSince - The new value for the IfUnmodifiedSince property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • range

      Sets the value of the Range property for this object.
      Parameters:
      range - The new value for the Range property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • responseCacheControl

      GetObjectRequest.Builder responseCacheControl(String responseCacheControl)
      Sets the value of the ResponseCacheControl property for this object.
      Parameters:
      responseCacheControl - The new value for the ResponseCacheControl property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • responseContentDisposition

      GetObjectRequest.Builder responseContentDisposition(String responseContentDisposition)
      Sets the value of the ResponseContentDisposition property for this object.
      Parameters:
      responseContentDisposition - The new value for the ResponseContentDisposition property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • responseContentEncoding

      GetObjectRequest.Builder responseContentEncoding(String responseContentEncoding)
      Sets the value of the ResponseContentEncoding property for this object.
      Parameters:
      responseContentEncoding - The new value for the ResponseContentEncoding property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • responseContentLanguage

      GetObjectRequest.Builder responseContentLanguage(String responseContentLanguage)
      Sets the value of the ResponseContentLanguage property for this object.
      Parameters:
      responseContentLanguage - The new value for the ResponseContentLanguage property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • responseContentType

      GetObjectRequest.Builder responseContentType(String responseContentType)
      Sets the value of the ResponseContentType property for this object.
      Parameters:
      responseContentType - The new value for the ResponseContentType property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • responseExpires

      GetObjectRequest.Builder responseExpires(Instant responseExpires)
      Sets the value of the ResponseExpires property for this object.
      Parameters:
      responseExpires - The new value for the ResponseExpires property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • versionId

      GetObjectRequest.Builder versionId(String versionId)
      Sets the value of the VersionId property for this object.
      Parameters:
      versionId - The new value for the VersionId property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sseCustomerAlgorithm

      GetObjectRequest.Builder sseCustomerAlgorithm(String sseCustomerAlgorithm)
      Sets the value of the SSECustomerAlgorithm property for this object.
      Parameters:
      sseCustomerAlgorithm - The new value for the SSECustomerAlgorithm property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sseCustomerKey

      GetObjectRequest.Builder sseCustomerKey(String sseCustomerKey)
      Sets the value of the SSECustomerKey property for this object.
      Parameters:
      sseCustomerKey - The new value for the SSECustomerKey property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sseCustomerKeyMD5

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

      GetObjectRequest.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.
    • partNumber

      GetObjectRequest.Builder partNumber(Integer partNumber)
      Sets the value of the PartNumber property for this object.
      Parameters:
      partNumber - The new value for the PartNumber property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • expectedBucketOwner

      GetObjectRequest.Builder expectedBucketOwner(String expectedBucketOwner)
      Sets the value of the ExpectedBucketOwner property for this object.
      Parameters:
      expectedBucketOwner - The new value for the ExpectedBucketOwner property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • checksumMode

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

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

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