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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BulkDeploymentResult.BuildercreatedAt(String createdAt)The time, in ISO format, when the deployment was created.BulkDeploymentResult.BuilderdeploymentArn(String deploymentArn)The ARN of the group deployment.BulkDeploymentResult.BuilderdeploymentId(String deploymentId)The ID of the group deployment.BulkDeploymentResult.BuilderdeploymentStatus(String deploymentStatus)The current status of the group deployment: ''InProgress'', ''Building'', ''Success'', or ''Failure''.BulkDeploymentResult.BuilderdeploymentType(String deploymentType)The type of the deployment.BulkDeploymentResult.BuilderdeploymentType(DeploymentType deploymentType)The type of the deployment.BulkDeploymentResult.BuildererrorDetails(Collection<ErrorDetail> errorDetails)Details about the error.BulkDeploymentResult.BuildererrorDetails(Consumer<ErrorDetail.Builder>... errorDetails)Details about the error.BulkDeploymentResult.BuildererrorDetails(ErrorDetail... errorDetails)Details about the error.BulkDeploymentResult.BuildererrorMessage(String errorMessage)The error message for a failed deploymentBulkDeploymentResult.BuildergroupArn(String groupArn)The 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 Detail
-
createdAt
BulkDeploymentResult.Builder createdAt(String 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
BulkDeploymentResult.Builder deploymentArn(String 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
BulkDeploymentResult.Builder deploymentId(String 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
BulkDeploymentResult.Builder deploymentStatus(String 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
BulkDeploymentResult.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
BulkDeploymentResult.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
BulkDeploymentResult.Builder errorDetails(Collection<ErrorDetail> 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
BulkDeploymentResult.Builder errorDetails(ErrorDetail... 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
BulkDeploymentResult.Builder errorDetails(Consumer<ErrorDetail.Builder>... errorDetails)
Details about the error. 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
BulkDeploymentResult.Builder errorMessage(String 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
BulkDeploymentResult.Builder groupArn(String 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.
-
-