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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetUploadStatusResponse.BuildercreatedDate(Instant createdDate)The date at which the upload was created.GetUploadStatusResponse.BuilderfailureReason(String... failureReason)The reason for an upload failure.GetUploadStatusResponse.BuilderfailureReason(Collection<String> failureReason)The reason for an upload failure.GetUploadStatusResponse.BuildernamespaceArn(String namespaceArn)The ARN of the upload.GetUploadStatusResponse.BuildernamespaceName(String namespaceName)The name of the upload's namespace.GetUploadStatusResponse.BuildernamespaceVersion(Long namespaceVersion)The version of the user's namespace.GetUploadStatusResponse.BuilderuploadId(String uploadId)The ID of the upload.GetUploadStatusResponse.BuilderuploadStatus(String uploadStatus)The status of the upload.GetUploadStatusResponse.BuilderuploadStatus(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 Detail
-
uploadId
GetUploadStatusResponse.Builder uploadId(String 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 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,UploadStatus
-
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 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,UploadStatus
-
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.
-
-