public static interface GetDeploymentResponse.Builder extends GreengrassV2Response.Builder, SdkPojo, CopyableBuilder<GetDeploymentResponse.Builder,GetDeploymentResponse>
| Modifier and Type | Method and Description |
|---|---|
GetDeploymentResponse.Builder |
components(Map<String,ComponentDeploymentSpecification> components)
The components to deploy.
|
GetDeploymentResponse.Builder |
creationTimestamp(Instant creationTimestamp)
The time at which the deployment was created, expressed in ISO 8601 format.
|
GetDeploymentResponse.Builder |
deploymentId(String deploymentId)
The ID of the deployment.
|
GetDeploymentResponse.Builder |
deploymentName(String deploymentName)
The name of the deployment.
|
default GetDeploymentResponse.Builder |
deploymentPolicies(Consumer<DeploymentPolicies.Builder> deploymentPolicies)
The deployment policies for the deployment.
|
GetDeploymentResponse.Builder |
deploymentPolicies(DeploymentPolicies deploymentPolicies)
The deployment policies for the deployment.
|
GetDeploymentResponse.Builder |
deploymentStatus(DeploymentStatus deploymentStatus)
The status of the deployment.
|
GetDeploymentResponse.Builder |
deploymentStatus(String deploymentStatus)
The status of the deployment.
|
GetDeploymentResponse.Builder |
iotJobArn(String iotJobArn)
The ARN of the IoT
job that applies the deployment to target devices.
|
default GetDeploymentResponse.Builder |
iotJobConfiguration(Consumer<DeploymentIoTJobConfiguration.Builder> iotJobConfiguration)
The job configuration for the deployment configuration.
|
GetDeploymentResponse.Builder |
iotJobConfiguration(DeploymentIoTJobConfiguration iotJobConfiguration)
The job configuration for the deployment configuration.
|
GetDeploymentResponse.Builder |
iotJobId(String iotJobId)
The ID of the IoT job that applies the deployment to target devices.
|
GetDeploymentResponse.Builder |
isLatestForTarget(Boolean isLatestForTarget)
Whether or not the deployment is the latest revision for its target.
|
GetDeploymentResponse.Builder |
parentTargetArn(String parentTargetArn)
The parent deployment's target ARN within a
subdeployment.
|
GetDeploymentResponse.Builder |
revisionId(String revisionId)
The revision number of the deployment.
|
GetDeploymentResponse.Builder |
tags(Map<String,String> tags)
A list of key-value pairs that contain metadata for the resource.
|
GetDeploymentResponse.Builder |
targetArn(String targetArn)
The ARN of the
target IoT thing or thing group.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetDeploymentResponse.Builder targetArn(String targetArn)
The ARN of the target IoT thing or thing group.
targetArn - The ARN of
the target IoT thing or thing group.GetDeploymentResponse.Builder revisionId(String revisionId)
The revision number of the deployment.
revisionId - The revision number of the deployment.GetDeploymentResponse.Builder deploymentId(String deploymentId)
The ID of the deployment.
deploymentId - The ID of the deployment.GetDeploymentResponse.Builder deploymentName(String deploymentName)
The name of the deployment.
deploymentName - The name of the deployment.GetDeploymentResponse.Builder deploymentStatus(String deploymentStatus)
The status of the deployment.
deploymentStatus - The status of the deployment.DeploymentStatus,
DeploymentStatusGetDeploymentResponse.Builder deploymentStatus(DeploymentStatus deploymentStatus)
The status of the deployment.
deploymentStatus - The status of the deployment.DeploymentStatus,
DeploymentStatusGetDeploymentResponse.Builder iotJobId(String iotJobId)
The ID of the IoT job that applies the deployment to target devices.
iotJobId - The ID of the IoT job that applies the deployment to target devices.GetDeploymentResponse.Builder iotJobArn(String iotJobArn)
The ARN of the IoT job that applies the deployment to target devices.
iotJobArn - The ARN of
the IoT job that applies the deployment to target devices.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.
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.GetDeploymentResponse.Builder deploymentPolicies(DeploymentPolicies deploymentPolicies)
The deployment policies for the deployment. These policies define how the deployment updates components and handles failure.
deploymentPolicies - The deployment policies for the deployment. These policies define how the deployment updates
components and handles failure.default GetDeploymentResponse.Builder deploymentPolicies(Consumer<DeploymentPolicies.Builder> deploymentPolicies)
The deployment policies for the deployment. These policies define how the deployment updates components and handles failure.
This is a convenience method that creates an instance of theDeploymentPolicies.Builder avoiding the
need to create one manually via DeploymentPolicies.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to deploymentPolicies(DeploymentPolicies).
deploymentPolicies - a consumer that will call methods on DeploymentPolicies.BuilderdeploymentPolicies(DeploymentPolicies)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.
iotJobConfiguration - The job configuration for the deployment configuration. The job configuration specifies the rollout,
timeout, and stop configurations for the deployment configuration.default GetDeploymentResponse.Builder iotJobConfiguration(Consumer<DeploymentIoTJobConfiguration.Builder> iotJobConfiguration)
The job configuration for the deployment configuration. The job configuration specifies the rollout, timeout, and stop configurations for the deployment configuration.
This is a convenience method that creates an instance of theDeploymentIoTJobConfiguration.Builder
avoiding the need to create one manually via DeploymentIoTJobConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to iotJobConfiguration(DeploymentIoTJobConfiguration).
iotJobConfiguration - a consumer that will call methods on DeploymentIoTJobConfiguration.BuilderiotJobConfiguration(DeploymentIoTJobConfiguration)GetDeploymentResponse.Builder creationTimestamp(Instant creationTimestamp)
The time at which the deployment was created, expressed in ISO 8601 format.
creationTimestamp - The time at which the deployment was created, expressed in ISO 8601 format.GetDeploymentResponse.Builder isLatestForTarget(Boolean isLatestForTarget)
Whether or not the deployment is the latest revision for its target.
isLatestForTarget - Whether or not the deployment is the latest revision for its target.GetDeploymentResponse.Builder parentTargetArn(String parentTargetArn)
The parent deployment's target ARN within a subdeployment.
parentTargetArn - The parent deployment's target ARN within a
subdeployment.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.
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.Copyright © 2023. All rights reserved.