Class CompleteMultipartUploadRequest

java.lang.Object
com.google.cloud.storage.multipartupload.model.CompleteMultipartUploadRequest

@BetaApi public final class CompleteMultipartUploadRequest extends Object
Represents a request to complete a multipart upload.
Since:
2.60.0 This new api is in preview and is subject to breaking changes.
  • Method Details

    • bucket

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

      @BetaApi public String key()
      Returns the object name.
      Returns:
      The object name.
      Since:
      2.60.0 This new api is in preview and is subject to breaking changes.
    • uploadId

      @BetaApi public String uploadId()
      Returns the upload ID of the multipart upload.
      Returns:
      The upload ID.
      Since:
      2.60.0 This new api is in preview and is subject to breaking changes.
    • multipartUpload

      @BetaApi public CompletedMultipartUpload multipartUpload()
      Returns the CompletedMultipartUpload payload for this request.
      Returns:
      The CompletedMultipartUpload payload.
      Since:
      2.60.0 This new api is in preview and is subject to breaking changes.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • builder

      @BetaApi public static CompleteMultipartUploadRequest.Builder builder()
      Creates a new builder for CompleteMultipartUploadRequest.
      Returns:
      A new builder.
      Since:
      2.60.0 This new api is in preview and is subject to breaking changes.