Interface AutoDeployment.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AutoDeployment.Builder,,AutoDeployment> SdkBuilder<AutoDeployment.Builder,,AutoDeployment> SdkPojo
- Enclosing class:
AutoDeployment
public static interface AutoDeployment.Builder
extends SdkPojo, CopyableBuilder<AutoDeployment.Builder,AutoDeployment>
-
Method Summary
Modifier and TypeMethodDescriptionIf 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.
-