Interface CreateDeploymentJobResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateDeploymentJobResponse.Builder,CreateDeploymentJobResponse>,RoboMakerResponse.Builder,SdkBuilder<CreateDeploymentJobResponse.Builder,CreateDeploymentJobResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateDeploymentJobResponse
public static interface CreateDeploymentJobResponse.Builder extends RoboMakerResponse.Builder, SdkPojo, CopyableBuilder<CreateDeploymentJobResponse.Builder,CreateDeploymentJobResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateDeploymentJobResponse.Builderarn(String arn)The Amazon Resource Name (ARN) of the deployment job.CreateDeploymentJobResponse.BuildercreatedAt(Instant createdAt)The time, in milliseconds since the epoch, when the fleet was created.CreateDeploymentJobResponse.BuilderdeploymentApplicationConfigs(Collection<DeploymentApplicationConfig> deploymentApplicationConfigs)The deployment application configuration.CreateDeploymentJobResponse.BuilderdeploymentApplicationConfigs(Consumer<DeploymentApplicationConfig.Builder>... deploymentApplicationConfigs)The deployment application configuration.CreateDeploymentJobResponse.BuilderdeploymentApplicationConfigs(DeploymentApplicationConfig... deploymentApplicationConfigs)The deployment application configuration.default CreateDeploymentJobResponse.BuilderdeploymentConfig(Consumer<DeploymentConfig.Builder> deploymentConfig)The deployment configuration.CreateDeploymentJobResponse.BuilderdeploymentConfig(DeploymentConfig deploymentConfig)The deployment configuration.CreateDeploymentJobResponse.BuilderfailureCode(String failureCode)The failure code of the simulation job if it failed:CreateDeploymentJobResponse.BuilderfailureCode(DeploymentJobErrorCode failureCode)The failure code of the simulation job if it failed:CreateDeploymentJobResponse.BuilderfailureReason(String failureReason)The failure reason of the deployment job if it failed.CreateDeploymentJobResponse.Builderfleet(String fleet)The target fleet for the deployment job.CreateDeploymentJobResponse.Builderstatus(String status)The status of the deployment job.CreateDeploymentJobResponse.Builderstatus(DeploymentStatus status)The status of the deployment job.CreateDeploymentJobResponse.Buildertags(Map<String,String> tags)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 Detail
-
arn
CreateDeploymentJobResponse.Builder arn(String 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
CreateDeploymentJobResponse.Builder fleet(String 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
CreateDeploymentJobResponse.Builder status(String 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:
DeploymentStatus,DeploymentStatus
-
status
CreateDeploymentJobResponse.Builder status(DeploymentStatus 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:
DeploymentStatus,DeploymentStatus
-
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.Builderavoiding the need to create one manually viaDeploymentApplicationConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#deploymentApplicationConfigs(List.) - 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:
#deploymentApplicationConfigs(java.util.Collection)
-
failureReason
CreateDeploymentJobResponse.Builder failureReason(String 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
CreateDeploymentJobResponse.Builder failureCode(String 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
AWSGreengrassResourceAccessRolePolicymanaged 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
AWSGreengrassResourceAccessRolePolicymanaged 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:
DeploymentJobErrorCode,DeploymentJobErrorCode
-
failureCode
CreateDeploymentJobResponse.Builder failureCode(DeploymentJobErrorCode 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
AWSGreengrassResourceAccessRolePolicymanaged 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
AWSGreengrassResourceAccessRolePolicymanaged 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:
DeploymentJobErrorCode,DeploymentJobErrorCode
-
createdAt
CreateDeploymentJobResponse.Builder createdAt(Instant 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
CreateDeploymentJobResponse.Builder deploymentConfig(DeploymentConfig 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.Builderavoiding the need to create one manually viaDeploymentConfig.builder().When the
Consumercompletes,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:
deploymentConfig(DeploymentConfig)
-
tags
CreateDeploymentJobResponse.Builder tags(Map<String,String> 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.
-
-