Class CompletedPart.Builder

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

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

    • Builder

      public Builder()
  • Method Details

    • partNumber

      @BetaApi public CompletedPart.Builder partNumber(int partNumber)
      Sets the part number of the completed part.
      Parameters:
      partNumber - The part number.
      Returns:
      This builder.
      Since:
      2.60.0 This new api is in preview and is subject to breaking changes.
    • eTag

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

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