Class UploadPartResponse.Builder

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

@BetaApi public static class UploadPartResponse.Builder extends Object
A builder for creating UploadPartResponse instances.
Since:
2.60.0 This new api is in preview and is subject to breaking changes.
  • Method Details

    • eTag

      @BetaApi public UploadPartResponse.Builder eTag(String etag)
      Sets the ETag for the uploaded part.
      Parameters:
      etag - The ETag.
      Returns:
      This builder.
      Since:
      2.60.0 This new api is in preview and is subject to breaking changes.
    • md5

      @BetaApi public UploadPartResponse.Builder md5(String md5)
      Sets the MD5 hash for the uploaded part.
      Parameters:
      md5 - The MD5 hash.
      Returns:
      This builder.
      Since:
      2.60.0 This new api is in preview and is subject to breaking changes.
    • build

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