Class MultipartUpload

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

public final class MultipartUpload extends Object
Represents a multipart upload that is in progress.
Since:
2.61.0
  • Method Details

    • key

      public String key()
      The object name for which the multipart upload was initiated.
      Returns:
      The object name.
      Since:
      2.61.0
    • uploadId

      public String uploadId()
      The ID of the multipart upload.
      Returns:
      The upload ID.
      Since:
      2.61.0
    • storageClass

      public StorageClass storageClass()
      The storage class of the object.
      Returns:
      The storage class.
      Since:
      2.61.0
    • initiated

      public OffsetDateTime initiated()
      The date and time at which the multipart upload was initiated.
      Returns:
      The initiation date and time.
      Since:
      2.61.0
    • 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
    • newBuilder

      public static MultipartUpload.Builder newBuilder()
      Returns a new builder for this multipart upload.
      Returns:
      A new builder.
      Since:
      2.61.0