Interface CreateDeploymentJobResponse.Builder

    • 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.
      • 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.
      • 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:
        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 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:
        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.
      • 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.