Interface AutoDeployment.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AutoDeployment.Builder,,AutoDeployment> SdkBuilder<AutoDeployment.Builder,,AutoDeployment> SdkPojo
- Enclosing class:
AutoDeployment
-
Method Summary
Modifier and TypeMethodDescriptionA list of StackSet ARNs that this StackSet depends on for auto-deployment operations.dependsOn(Collection<String> dependsOn) A list of StackSet ARNs that this StackSet depends on for auto-deployment operations.If set totrue, StackSets automatically deploys additional stack instances to Organizations accounts that are added to a target organization or organizational unit (OU) in the specified Regions.retainStacksOnAccountRemoval(Boolean retainStacksOnAccountRemoval) If set totrue, stack resources are retained when an account is removed from a target organization or OU.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
enabled
If set to
true, StackSets automatically deploys additional stack instances to Organizations accounts that are added to a target organization or organizational unit (OU) in the specified Regions. If an account is removed from a target organization or OU, StackSets deletes stack instances from the account in the specified Regions.- Parameters:
enabled- If set totrue, StackSets automatically deploys additional stack instances to Organizations accounts that are added to a target organization or organizational unit (OU) in the specified Regions. If an account is removed from a target organization or OU, StackSets deletes stack instances from the account in the specified Regions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retainStacksOnAccountRemoval
If set to
true, stack resources are retained when an account is removed from a target organization or OU. If set tofalse, stack resources are deleted. Specify only ifEnabledis set toTrue.- Parameters:
retainStacksOnAccountRemoval- If set totrue, stack resources are retained when an account is removed from a target organization or OU. If set tofalse, stack resources are deleted. Specify only ifEnabledis set toTrue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dependsOn
A list of StackSet ARNs that this StackSet depends on for auto-deployment operations. When auto-deployment is triggered, operations will be sequenced to ensure all dependencies complete successfully before this StackSet's operation begins.
- Parameters:
dependsOn- A list of StackSet ARNs that this StackSet depends on for auto-deployment operations. When auto-deployment is triggered, operations will be sequenced to ensure all dependencies complete successfully before this StackSet's operation begins.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dependsOn
A list of StackSet ARNs that this StackSet depends on for auto-deployment operations. When auto-deployment is triggered, operations will be sequenced to ensure all dependencies complete successfully before this StackSet's operation begins.
- Parameters:
dependsOn- A list of StackSet ARNs that this StackSet depends on for auto-deployment operations. When auto-deployment is triggered, operations will be sequenced to ensure all dependencies complete successfully before this StackSet's operation begins.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-