Interface GetUploadStatusResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<GetUploadStatusResponse.Builder,GetUploadStatusResponse>, IoTThingsGraphResponse.Builder, SdkBuilder<GetUploadStatusResponse.Builder,GetUploadStatusResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
GetUploadStatusResponse

public static interface GetUploadStatusResponse.Builder extends IoTThingsGraphResponse.Builder, SdkPojo, CopyableBuilder<GetUploadStatusResponse.Builder,GetUploadStatusResponse>
  • Method Details

    • uploadId

      The ID of the upload.

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

      GetUploadStatusResponse.Builder uploadStatus(String uploadStatus)

      The status of the upload. The initial status is IN_PROGRESS. The response show all validation failures if the upload fails.

      Parameters:
      uploadStatus - The status of the upload. The initial status is IN_PROGRESS. The response show all validation failures if the upload fails.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • uploadStatus

      GetUploadStatusResponse.Builder uploadStatus(UploadStatus uploadStatus)

      The status of the upload. The initial status is IN_PROGRESS. The response show all validation failures if the upload fails.

      Parameters:
      uploadStatus - The status of the upload. The initial status is IN_PROGRESS. The response show all validation failures if the upload fails.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • namespaceArn

      GetUploadStatusResponse.Builder namespaceArn(String namespaceArn)

      The ARN of the upload.

      Parameters:
      namespaceArn - The ARN of the upload.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • namespaceName

      GetUploadStatusResponse.Builder namespaceName(String namespaceName)

      The name of the upload's namespace.

      Parameters:
      namespaceName - The name of the upload's namespace.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • namespaceVersion

      GetUploadStatusResponse.Builder namespaceVersion(Long namespaceVersion)

      The version of the user's namespace. Defaults to the latest version of the user's namespace.

      Parameters:
      namespaceVersion - The version of the user's namespace. Defaults to the latest version of the user's namespace.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • failureReason

      GetUploadStatusResponse.Builder failureReason(Collection<String> failureReason)

      The reason for an upload failure.

      Parameters:
      failureReason - The reason for an upload failure.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • failureReason

      GetUploadStatusResponse.Builder failureReason(String... failureReason)

      The reason for an upload failure.

      Parameters:
      failureReason - The reason for an upload failure.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdDate

      GetUploadStatusResponse.Builder createdDate(Instant createdDate)

      The date at which the upload was created.

      Parameters:
      createdDate - The date at which the upload was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.