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 Summary
Modifier and TypeMethodDescriptioncreatedDate
(Instant createdDate) The date at which the upload was created.failureReason
(String... failureReason) The reason for an upload failure.failureReason
(Collection<String> failureReason) The reason for an upload failure.namespaceArn
(String namespaceArn) The ARN of the upload.namespaceName
(String namespaceName) The name of the upload's namespace.namespaceVersion
(Long namespaceVersion) The version of the user's namespace.The ID of the upload.uploadStatus
(String uploadStatus) The status of the upload.uploadStatus
(UploadStatus uploadStatus) The status of the upload.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iotthingsgraph.model.IoTThingsGraphResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
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
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 isIN_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
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 isIN_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
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
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
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
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
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
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.
-