Interface AutoDeployment.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AutoDeployment.Builder,AutoDeployment>,SdkBuilder<AutoDeployment.Builder,AutoDeployment>,SdkPojo
- Enclosing class:
- AutoDeployment
@Mutable @NotThreadSafe public static interface AutoDeployment.Builder extends SdkPojo, CopyableBuilder<AutoDeployment.Builder,AutoDeployment>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AutoDeployment.BuilderdependsOn(String... dependsOn)A list of StackSet ARNs that this StackSet depends on for auto-deployment operations.AutoDeployment.BuilderdependsOn(Collection<String> dependsOn)A list of StackSet ARNs that this StackSet depends on for auto-deployment operations.AutoDeployment.Builderenabled(Boolean 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.AutoDeployment.BuilderretainStacksOnAccountRemoval(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
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
enabled
AutoDeployment.Builder enabled(Boolean 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
AutoDeployment.Builder retainStacksOnAccountRemoval(Boolean 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
AutoDeployment.Builder dependsOn(Collection<String> 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
AutoDeployment.Builder dependsOn(String... 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.
-
-