Interface GetDeploymentResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CopyableBuilder<GetDeploymentResponse.Builder,,- GetDeploymentResponse> - GreengrassV2Response.Builder,- SdkBuilder<GetDeploymentResponse.Builder,,- GetDeploymentResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- GetDeploymentResponse
- 
Method SummaryModifier and TypeMethodDescriptioncomponents(Map<String, ComponentDeploymentSpecification> components) The components to deploy.creationTimestamp(Instant creationTimestamp) The time at which the deployment was created, expressed in ISO 8601 format.deploymentId(String deploymentId) The ID of the deployment.deploymentName(String deploymentName) The name of the deployment.default GetDeploymentResponse.BuilderdeploymentPolicies(Consumer<DeploymentPolicies.Builder> deploymentPolicies) The deployment policies for the deployment.deploymentPolicies(DeploymentPolicies deploymentPolicies) The deployment policies for the deployment.deploymentStatus(String deploymentStatus) The status of the deployment.deploymentStatus(DeploymentStatus deploymentStatus) The status of the deployment.The ARN of the IoT job that applies the deployment to target devices.default GetDeploymentResponse.BuilderiotJobConfiguration(Consumer<DeploymentIoTJobConfiguration.Builder> iotJobConfiguration) The job configuration for the deployment configuration.iotJobConfiguration(DeploymentIoTJobConfiguration iotJobConfiguration) The job configuration for the deployment configuration.The ID of the IoT job that applies the deployment to target devices.isLatestForTarget(Boolean isLatestForTarget) Whether or not the deployment is the latest revision for its target.parentTargetArn(String parentTargetArn) The parent deployment's target ARN within a subdeployment.revisionId(String revisionId) The revision number of the deployment.A list of key-value pairs that contain metadata for the resource.The ARN of the target IoT thing or thing group.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.greengrassv2.model.GreengrassV2Response.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
targetArn
- 
revisionIdThe 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.
 
- 
deploymentIdThe 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.
 
- 
deploymentNameThe 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.
 
- 
deploymentStatusThe status of the deployment. - Parameters:
- deploymentStatus- The status of the deployment.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
deploymentStatusThe status of the deployment. - Parameters:
- deploymentStatus- The status of the deployment.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
iotJobIdThe 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
- 
componentsThe 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.
 
- 
deploymentPoliciesThe 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.
 
- 
deploymentPoliciesdefault 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.Builderavoiding the need to create one manually viaDeploymentPolicies.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todeploymentPolicies(DeploymentPolicies).- Parameters:
- deploymentPolicies- a consumer that will call methods on- DeploymentPolicies.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
iotJobConfigurationGetDeploymentResponse.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.
 
- 
iotJobConfigurationdefault 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.Builderavoiding the need to create one manually viaDeploymentIoTJobConfiguration.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toiotJobConfiguration(DeploymentIoTJobConfiguration).- Parameters:
- iotJobConfiguration- a consumer that will call methods on- DeploymentIoTJobConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
creationTimestampThe 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.
 
- 
isLatestForTargetWhether 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
- 
tagsA 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.
 
 
-