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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetDeploymentStatusResponse.BuilderdeploymentStatus(String deploymentStatus)The status of the deployment: ''InProgress'', ''Building'', ''Success'', or ''Failure''.GetDeploymentStatusResponse.BuilderdeploymentType(String deploymentType)The type of the deployment.GetDeploymentStatusResponse.BuilderdeploymentType(DeploymentType deploymentType)The type of the deployment.GetDeploymentStatusResponse.BuildererrorDetails(Collection<ErrorDetail> errorDetails)Error detailsGetDeploymentStatusResponse.BuildererrorDetails(Consumer<ErrorDetail.Builder>... errorDetails)Error details This is a convenience method that creates an instance of theErrorDetail.Builderavoiding the need to create one manually viaErrorDetail.builder().GetDeploymentStatusResponse.BuildererrorDetails(ErrorDetail... errorDetails)Error detailsGetDeploymentStatusResponse.BuildererrorMessage(String errorMessage)Error messageGetDeploymentStatusResponse.BuilderupdatedAt(String updatedAt)The 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 Detail
-
deploymentStatus
GetDeploymentStatusResponse.Builder deploymentStatus(String 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
GetDeploymentStatusResponse.Builder deploymentType(String 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,DeploymentType
-
deploymentType
GetDeploymentStatusResponse.Builder deploymentType(DeploymentType 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,DeploymentType
-
errorDetails
GetDeploymentStatusResponse.Builder errorDetails(Collection<ErrorDetail> errorDetails)
Error details- Parameters:
errorDetails- Error details- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorDetails
GetDeploymentStatusResponse.Builder errorDetails(ErrorDetail... errorDetails)
Error details- Parameters:
errorDetails- Error details- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorDetails
GetDeploymentStatusResponse.Builder errorDetails(Consumer<ErrorDetail.Builder>... errorDetails)
Error details This is a convenience method that creates an instance of theErrorDetail.Builderavoiding the need to create one manually viaErrorDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#errorDetails(List.) - 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:
#errorDetails(java.util.Collection)
-
errorMessage
GetDeploymentStatusResponse.Builder errorMessage(String errorMessage)
Error message- Parameters:
errorMessage- Error message- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
GetDeploymentStatusResponse.Builder updatedAt(String 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.
-
-