Interface CreateSourceUploadResponse.Builder

  • Method Details

    • sourceUploadId

      CreateSourceUploadResponse.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 upload details, including the presigned URL for uploading the .zip file.

      Parameters:
      zipUpload - The upload details, including the presigned URL for uploading the .zip file.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • zipUpload

      The upload details, including the presigned URL for uploading the .zip file.

      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:
    • uploadExpiresAt

      CreateSourceUploadResponse.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.