Interface GetSourceUploadResponse.Builder

  • Method Details

    • sourceUploadId

      GetSourceUploadResponse.Builder sourceUploadId(String sourceUploadId)

      The ID of the source upload.

      Parameters:
      sourceUploadId - The ID of the source upload.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • zipUpload

      The .zip file upload information.

      Parameters:
      zipUpload - The .zip file upload information.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • zipUpload

      The .zip file upload information.

      This is a convenience method that creates an instance of the ZipUpload.Builder avoiding the need to create one manually via ZipUpload.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to zipUpload(ZipUpload).

      Parameters:
      zipUpload - a consumer that will call methods on ZipUpload.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • createdAt

      The time at which the source upload was created. The value is in ISO-8601 format.

      Parameters:
      createdAt - The time at which the source upload was created. The value is in ISO-8601 format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • uploadExpiresAt

      GetSourceUploadResponse.Builder uploadExpiresAt(Instant uploadExpiresAt)

      The time at which the upload expires. The value is in ISO-8601 format.

      Parameters:
      uploadExpiresAt - The time at which the upload expires. The value is in ISO-8601 format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sizeInBytes

      GetSourceUploadResponse.Builder sizeInBytes(Long sizeInBytes)

      The size of the source upload, in bytes.

      Parameters:
      sizeInBytes - The size of the source upload, in bytes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.