Interface GetDeploymentStatusResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetDeploymentStatusResponse.Builder,
,GetDeploymentStatusResponse> GreengrassResponse.Builder
,SdkBuilder<GetDeploymentStatusResponse.Builder,
,GetDeploymentStatusResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetDeploymentStatusResponse
public static interface GetDeploymentStatusResponse.Builder
extends GreengrassResponse.Builder, SdkPojo, CopyableBuilder<GetDeploymentStatusResponse.Builder,GetDeploymentStatusResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondeploymentStatus
(String deploymentStatus) The status of the deployment: ''InProgress'', ''Building'', ''Success'', or ''Failure''.deploymentType
(String deploymentType) The type of the deployment.deploymentType
(DeploymentType deploymentType) The type of the deployment.errorDetails
(Collection<ErrorDetail> errorDetails) Error detailserrorDetails
(Consumer<ErrorDetail.Builder>... errorDetails) Error details This is a convenience method that creates an instance of theErrorDetail.Builder
avoiding the need to create one manually viaErrorDetail.builder()
.errorDetails
(ErrorDetail... errorDetails) Error detailserrorMessage
(String errorMessage) Error messageThe time, in milliseconds since the epoch, when the deployment status was updated.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.greengrass.model.GreengrassResponse.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
-
deploymentStatus
The status of the deployment: ''InProgress'', ''Building'', ''Success'', or ''Failure''.- Parameters:
deploymentStatus
- The status of the deployment: ''InProgress'', ''Building'', ''Success'', or ''Failure''.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentType
The type of the deployment.- Parameters:
deploymentType
- The type of the deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
deploymentType
The type of the deployment.- Parameters:
deploymentType
- The type of the deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errorDetails
Error details- Parameters:
errorDetails
- Error details- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorDetails
Error details- Parameters:
errorDetails
- Error details- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorDetails
Error details This is a convenience method that creates an instance of theErrorDetail.Builder
avoiding the need to create one manually viaErrorDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toerrorDetails(List<ErrorDetail>)
.- Parameters:
errorDetails
- a consumer that will call methods onErrorDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errorMessage
Error message- Parameters:
errorMessage
- Error message- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The time, in milliseconds since the epoch, when the deployment status was updated.- Parameters:
updatedAt
- The time, in milliseconds since the epoch, when the deployment status was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-