Interface CreateDeploymentJobResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateDeploymentJobResponse.Builder,
,CreateDeploymentJobResponse> RoboMakerResponse.Builder
,SdkBuilder<CreateDeploymentJobResponse.Builder,
,CreateDeploymentJobResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateDeploymentJobResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the deployment job.The time, in milliseconds since the epoch, when the fleet was created.deploymentApplicationConfigs
(Collection<DeploymentApplicationConfig> deploymentApplicationConfigs) The deployment application configuration.deploymentApplicationConfigs
(Consumer<DeploymentApplicationConfig.Builder>... deploymentApplicationConfigs) The deployment application configuration.deploymentApplicationConfigs
(DeploymentApplicationConfig... deploymentApplicationConfigs) The deployment application configuration.deploymentConfig
(Consumer<DeploymentConfig.Builder> deploymentConfig) The deployment configuration.deploymentConfig
(DeploymentConfig deploymentConfig) The deployment configuration.failureCode
(String failureCode) The failure code of the simulation job if it failed:failureCode
(DeploymentJobErrorCode failureCode) The failure code of the simulation job if it failed:failureReason
(String failureReason) The failure reason of the deployment job if it failed.The target fleet for the deployment job.The status of the deployment job.status
(DeploymentStatus status) The status of the deployment job.The list of all tags added to the deployment job.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.robomaker.model.RoboMakerResponse.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
-
arn
The Amazon Resource Name (ARN) of the deployment job.
- Parameters:
arn
- The Amazon Resource Name (ARN) of the deployment job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fleet
The target fleet for the deployment job.
- Parameters:
fleet
- The target fleet for the deployment job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the deployment job.
- Parameters:
status
- The status of the deployment job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the deployment job.
- Parameters:
status
- The status of the deployment job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
deploymentApplicationConfigs
CreateDeploymentJobResponse.Builder deploymentApplicationConfigs(Collection<DeploymentApplicationConfig> deploymentApplicationConfigs) The deployment application configuration.
- Parameters:
deploymentApplicationConfigs
- The deployment application configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentApplicationConfigs
CreateDeploymentJobResponse.Builder deploymentApplicationConfigs(DeploymentApplicationConfig... deploymentApplicationConfigs) The deployment application configuration.
- Parameters:
deploymentApplicationConfigs
- The deployment application configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentApplicationConfigs
CreateDeploymentJobResponse.Builder deploymentApplicationConfigs(Consumer<DeploymentApplicationConfig.Builder>... deploymentApplicationConfigs) The deployment application configuration.
This is a convenience method that creates an instance of theDeploymentApplicationConfig.Builder
avoiding the need to create one manually viaDeploymentApplicationConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todeploymentApplicationConfigs(List<DeploymentApplicationConfig>)
.- Parameters:
deploymentApplicationConfigs
- a consumer that will call methods onDeploymentApplicationConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failureReason
The failure reason of the deployment job if it failed.
- Parameters:
failureReason
- The failure reason of the deployment job if it failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureCode
The failure code of the simulation job if it failed:
- BadPermissionError
-
AWS Greengrass requires a service-level role permission to access other services. The role must include the
AWSGreengrassResourceAccessRolePolicy
managed policy. - ExtractingBundleFailure
-
The robot application could not be extracted from the bundle.
- FailureThresholdBreached
-
The percentage of robots that could not be updated exceeded the percentage set for the deployment.
- GreengrassDeploymentFailed
-
The robot application could not be deployed to the robot.
- GreengrassGroupVersionDoesNotExist
-
The AWS Greengrass group or version associated with a robot is missing.
- InternalServerError
-
An internal error has occurred. Retry your request, but if the problem persists, contact us with details.
- MissingRobotApplicationArchitecture
-
The robot application does not have a source that matches the architecture of the robot.
- MissingRobotDeploymentResource
-
One or more of the resources specified for the robot application are missing. For example, does the robot application have the correct launch package and launch file?
- PostLaunchFileFailure
-
The post-launch script failed.
- PreLaunchFileFailure
-
The pre-launch script failed.
- ResourceNotFound
-
One or more deployment resources are missing. For example, do robot application source bundles still exist?
- RobotDeploymentNoResponse
-
There is no response from the robot. It might not be powered on or connected to the internet.
- Parameters:
failureCode
- The failure code of the simulation job if it failed:- BadPermissionError
-
AWS Greengrass requires a service-level role permission to access other services. The role must include the
AWSGreengrassResourceAccessRolePolicy
managed policy. - ExtractingBundleFailure
-
The robot application could not be extracted from the bundle.
- FailureThresholdBreached
-
The percentage of robots that could not be updated exceeded the percentage set for the deployment.
- GreengrassDeploymentFailed
-
The robot application could not be deployed to the robot.
- GreengrassGroupVersionDoesNotExist
-
The AWS Greengrass group or version associated with a robot is missing.
- InternalServerError
-
An internal error has occurred. Retry your request, but if the problem persists, contact us with details.
- MissingRobotApplicationArchitecture
-
The robot application does not have a source that matches the architecture of the robot.
- MissingRobotDeploymentResource
-
One or more of the resources specified for the robot application are missing. For example, does the robot application have the correct launch package and launch file?
- PostLaunchFileFailure
-
The post-launch script failed.
- PreLaunchFileFailure
-
The pre-launch script failed.
- ResourceNotFound
-
One or more deployment resources are missing. For example, do robot application source bundles still exist?
- RobotDeploymentNoResponse
-
There is no response from the robot. It might not be powered on or connected to the internet.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failureCode
The failure code of the simulation job if it failed:
- BadPermissionError
-
AWS Greengrass requires a service-level role permission to access other services. The role must include the
AWSGreengrassResourceAccessRolePolicy
managed policy. - ExtractingBundleFailure
-
The robot application could not be extracted from the bundle.
- FailureThresholdBreached
-
The percentage of robots that could not be updated exceeded the percentage set for the deployment.
- GreengrassDeploymentFailed
-
The robot application could not be deployed to the robot.
- GreengrassGroupVersionDoesNotExist
-
The AWS Greengrass group or version associated with a robot is missing.
- InternalServerError
-
An internal error has occurred. Retry your request, but if the problem persists, contact us with details.
- MissingRobotApplicationArchitecture
-
The robot application does not have a source that matches the architecture of the robot.
- MissingRobotDeploymentResource
-
One or more of the resources specified for the robot application are missing. For example, does the robot application have the correct launch package and launch file?
- PostLaunchFileFailure
-
The post-launch script failed.
- PreLaunchFileFailure
-
The pre-launch script failed.
- ResourceNotFound
-
One or more deployment resources are missing. For example, do robot application source bundles still exist?
- RobotDeploymentNoResponse
-
There is no response from the robot. It might not be powered on or connected to the internet.
- Parameters:
failureCode
- The failure code of the simulation job if it failed:- BadPermissionError
-
AWS Greengrass requires a service-level role permission to access other services. The role must include the
AWSGreengrassResourceAccessRolePolicy
managed policy. - ExtractingBundleFailure
-
The robot application could not be extracted from the bundle.
- FailureThresholdBreached
-
The percentage of robots that could not be updated exceeded the percentage set for the deployment.
- GreengrassDeploymentFailed
-
The robot application could not be deployed to the robot.
- GreengrassGroupVersionDoesNotExist
-
The AWS Greengrass group or version associated with a robot is missing.
- InternalServerError
-
An internal error has occurred. Retry your request, but if the problem persists, contact us with details.
- MissingRobotApplicationArchitecture
-
The robot application does not have a source that matches the architecture of the robot.
- MissingRobotDeploymentResource
-
One or more of the resources specified for the robot application are missing. For example, does the robot application have the correct launch package and launch file?
- PostLaunchFileFailure
-
The post-launch script failed.
- PreLaunchFileFailure
-
The pre-launch script failed.
- ResourceNotFound
-
One or more deployment resources are missing. For example, do robot application source bundles still exist?
- RobotDeploymentNoResponse
-
There is no response from the robot. It might not be powered on or connected to the internet.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The time, in milliseconds since the epoch, when the fleet was created.
- Parameters:
createdAt
- The time, in milliseconds since the epoch, when the fleet was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentConfig
The deployment configuration.
- Parameters:
deploymentConfig
- The deployment configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentConfig
default CreateDeploymentJobResponse.Builder deploymentConfig(Consumer<DeploymentConfig.Builder> deploymentConfig) The deployment configuration.
This is a convenience method that creates an instance of theDeploymentConfig.Builder
avoiding the need to create one manually viaDeploymentConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todeploymentConfig(DeploymentConfig)
.- Parameters:
deploymentConfig
- a consumer that will call methods onDeploymentConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The list of all tags added to the deployment job.
- Parameters:
tags
- The list of all tags added to the deployment job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-