Interface BulkDeploymentResult.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<BulkDeploymentResult.Builder,
,BulkDeploymentResult> SdkBuilder<BulkDeploymentResult.Builder,
,BulkDeploymentResult> SdkPojo
- Enclosing class:
BulkDeploymentResult
public static interface BulkDeploymentResult.Builder
extends SdkPojo, CopyableBuilder<BulkDeploymentResult.Builder,BulkDeploymentResult>
-
Method Summary
Modifier and TypeMethodDescriptionThe time, in ISO format, when the deployment was created.deploymentArn
(String deploymentArn) The ARN of the group deployment.deploymentId
(String deploymentId) The ID of the group deployment.deploymentStatus
(String deploymentStatus) The current status of the group 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) Details about the error.errorDetails
(Consumer<ErrorDetail.Builder>... errorDetails) Details about the error.errorDetails
(ErrorDetail... errorDetails) Details about the error.errorMessage
(String errorMessage) The error message for a failed deploymentThe ARN of the Greengrass group.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
createdAt
The time, in ISO format, when the deployment was created.- Parameters:
createdAt
- The time, in ISO format, when the deployment was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentArn
The ARN of the group deployment.- Parameters:
deploymentArn
- The ARN of the group deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentId
The ID of the group deployment.- Parameters:
deploymentId
- The ID of the group deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentStatus
The current status of the group deployment: ''InProgress'', ''Building'', ''Success'', or ''Failure''.- Parameters:
deploymentStatus
- The current status of the group 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
Details about the error.- Parameters:
errorDetails
- Details about the error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorDetails
Details about the error.- Parameters:
errorDetails
- Details about the error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorDetails
Details about the error. 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
The error message for a failed deployment- Parameters:
errorMessage
- The error message for a failed deployment- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupArn
The ARN of the Greengrass group.- Parameters:
groupArn
- The ARN of the Greengrass group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-