public static interface CreateDeploymentRequest.Builder extends GreengrassV2Request.Builder, SdkPojo, CopyableBuilder<CreateDeploymentRequest.Builder,CreateDeploymentRequest>
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateDeploymentRequest.Builder targetArn(String targetArn)
The ARN of the target IoT thing or thing group. When creating a subdeployment, the targetARN can only be a thing group.
targetArn - The ARN of
the target IoT thing or thing group. When creating a subdeployment, the targetARN can only be a thing
group.CreateDeploymentRequest.Builder deploymentName(String deploymentName)
The name of the deployment.
deploymentName - The name of the deployment.CreateDeploymentRequest.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.CreateDeploymentRequest.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 CreateDeploymentRequest.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)CreateDeploymentRequest.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 CreateDeploymentRequest.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)CreateDeploymentRequest.Builder parentTargetArn(String parentTargetArn)
The parent deployment's target ARN within a subdeployment.
parentTargetArn - The parent deployment's target ARN within a
subdeployment.CreateDeploymentRequest.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.CreateDeploymentRequest.Builder clientToken(String clientToken)
A unique, case-sensitive identifier that you can provide to ensure that the request is idempotent. Idempotency means that the request is successfully processed only once, even if you send the request multiple times. When a request succeeds, and you specify the same client token for subsequent successful requests, the IoT Greengrass V2 service returns the successful response that it caches from the previous request. IoT Greengrass V2 caches successful responses for idempotent requests for up to 8 hours.
clientToken - A unique, case-sensitive identifier that you can provide to ensure that the request is idempotent.
Idempotency means that the request is successfully processed only once, even if you send the request
multiple times. When a request succeeds, and you specify the same client token for subsequent
successful requests, the IoT Greengrass V2 service returns the successful response that it caches from
the previous request. IoT Greengrass V2 caches successful responses for idempotent requests for up to
8 hours.CreateDeploymentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateDeploymentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.