Class CompleteMultipartUploadResponse.Builder

java.lang.Object
com.google.cloud.storage.multipartupload.model.CompleteMultipartUploadResponse.Builder
Enclosing class:
CompleteMultipartUploadResponse

@BetaApi public static class CompleteMultipartUploadResponse.Builder extends Object
Since:
2.60.0 This new api is in preview and is subject to breaking changes.
  • Method Details

    • location

      @BetaApi public CompleteMultipartUploadResponse.Builder location(String location)
      Sets the URL of the completed object.
      Parameters:
      location - The URL of the completed object.
      Returns:
      This builder.
      Since:
      2.60.0 This new api is in preview and is subject to breaking changes.
    • bucket

      @BetaApi public CompleteMultipartUploadResponse.Builder bucket(String bucket)
      Sets the bucket name.
      Parameters:
      bucket - The bucket name.
      Returns:
      This builder.
      Since:
      2.60.0 This new api is in preview and is subject to breaking changes.
    • key

      Sets the object name.
      Parameters:
      key - The object name.
      Returns:
      This builder.
      Since:
      2.60.0 This new api is in preview and is subject to breaking changes.
    • etag

      @BetaApi public CompleteMultipartUploadResponse.Builder etag(String etag)
      Sets the ETag of the completed object.
      Parameters:
      etag - The ETag of the completed object.
      Returns:
      This builder.
      Since:
      2.60.0 This new api is in preview and is subject to breaking changes.
    • crc32c

      @BetaApi public CompleteMultipartUploadResponse.Builder crc32c(String crc32c)
      Sets the CRC32C checksum of the completed object.
      Parameters:
      crc32c - The CRC32C checksum of the completed object.
      Returns:
      This builder.
      Since:
      2.60.0 This new api is in preview and is subject to breaking changes.
    • build

      @BetaApi public CompleteMultipartUploadResponse build()
      Returns:
      The new CompleteMultipartUploadResponse object.
      Since:
      2.60.0 This new api is in preview and is subject to breaking changes.