Interface GetDeploymentResponse.Builder

    • Method Detail

      • targetArn

        GetDeploymentResponse.Builder targetArn​(String targetArn)

        The ARN of the target IoT thing or thing group.

        Parameters:
        targetArn - The ARN of the target IoT thing or thing group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • revisionId

        GetDeploymentResponse.Builder revisionId​(String revisionId)

        The revision number of the deployment.

        Parameters:
        revisionId - The revision number of the deployment.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • deploymentId

        GetDeploymentResponse.Builder deploymentId​(String deploymentId)

        The ID of the deployment.

        Parameters:
        deploymentId - The ID of the deployment.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • deploymentName

        GetDeploymentResponse.Builder deploymentName​(String deploymentName)

        The name of the deployment.

        Parameters:
        deploymentName - The name of the deployment.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • iotJobId

        GetDeploymentResponse.Builder iotJobId​(String iotJobId)

        The ID of the IoT job that applies the deployment to target devices.

        Parameters:
        iotJobId - The ID of the IoT job that applies the deployment to target devices.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • iotJobArn

        GetDeploymentResponse.Builder iotJobArn​(String iotJobArn)

        The ARN of the IoT job that applies the deployment to target devices.

        Parameters:
        iotJobArn - The ARN of the IoT job that applies the deployment to target devices.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • components

        GetDeploymentResponse.Builder components​(Map<String,​ComponentDeploymentSpecification> components)

        The components to deploy. This is a dictionary, where each key is the name of a component, and each key's value is the version and configuration to deploy for that component.

        Parameters:
        components - The components to deploy. This is a dictionary, where each key is the name of a component, and each key's value is the version and configuration to deploy for that component.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • deploymentPolicies

        GetDeploymentResponse.Builder deploymentPolicies​(DeploymentPolicies deploymentPolicies)

        The deployment policies for the deployment. These policies define how the deployment updates components and handles failure.

        Parameters:
        deploymentPolicies - The deployment policies for the deployment. These policies define how the deployment updates components and handles failure.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • iotJobConfiguration

        GetDeploymentResponse.Builder iotJobConfiguration​(DeploymentIoTJobConfiguration iotJobConfiguration)

        The job configuration for the deployment configuration. The job configuration specifies the rollout, timeout, and stop configurations for the deployment configuration.

        Parameters:
        iotJobConfiguration - The job configuration for the deployment configuration. The job configuration specifies the rollout, timeout, and stop configurations for the deployment configuration.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • creationTimestamp

        GetDeploymentResponse.Builder creationTimestamp​(Instant creationTimestamp)

        The time at which the deployment was created, expressed in ISO 8601 format.

        Parameters:
        creationTimestamp - The time at which the deployment was created, expressed in ISO 8601 format.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isLatestForTarget

        GetDeploymentResponse.Builder isLatestForTarget​(Boolean isLatestForTarget)

        Whether or not the deployment is the latest revision for its target.

        Parameters:
        isLatestForTarget - Whether or not the deployment is the latest revision for its target.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • parentTargetArn

        GetDeploymentResponse.Builder parentTargetArn​(String parentTargetArn)

        The parent deployment's target ARN within a subdeployment.

        Parameters:
        parentTargetArn - The parent deployment's target ARN within a subdeployment.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        GetDeploymentResponse.Builder tags​(Map<String,​String> tags)

        A list of key-value pairs that contain metadata for the resource. For more information, see Tag your resources in the IoT Greengrass V2 Developer Guide.

        Parameters:
        tags - A list of key-value pairs that contain metadata for the resource. For more information, see Tag your resources in the IoT Greengrass V2 Developer Guide.
        Returns:
        Returns a reference to this object so that method calls can be chained together.