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 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 the DeploymentApplicationConfig.Builder avoiding the need to create one manually via DeploymentApplicationConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to deploymentApplicationConfigs(List<DeploymentApplicationConfig>).

      Parameters:
      deploymentApplicationConfigs - a consumer that will call methods on DeploymentApplicationConfig.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 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

      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 the DeploymentConfig.Builder avoiding the need to create one manually via DeploymentConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to deploymentConfig(DeploymentConfig).

      Parameters:
      deploymentConfig - a consumer that will call methods on DeploymentConfig.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.