@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AutoDeployment extends Object implements Serializable, Cloneable
[Service-managed permissions] Describes whether StackSets automatically deploys to Organizations accounts that are added to a target organization or organizational unit (OU).
Constructor and Description |
---|
AutoDeployment() |
Modifier and Type | Method and Description |
---|---|
AutoDeployment |
clone() |
boolean |
equals(Object obj) |
Boolean |
getEnabled()
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. |
Boolean |
getRetainStacksOnAccountRemoval()
If set to
true , stack resources are retained when an account is removed from a target organization
or OU. |
int |
hashCode() |
Boolean |
isEnabled()
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. |
Boolean |
isRetainStacksOnAccountRemoval()
If set to
true , stack resources are retained when an account is removed from a target organization
or OU. |
void |
setEnabled(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. |
void |
setRetainStacksOnAccountRemoval(Boolean retainStacksOnAccountRemoval)
If set to
true , stack resources are retained when an account is removed from a target organization
or OU. |
String |
toString()
Returns a string representation of this object.
|
AutoDeployment |
withEnabled(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. |
AutoDeployment |
withRetainStacksOnAccountRemoval(Boolean retainStacksOnAccountRemoval)
If set to
true , stack resources are retained when an account is removed from a target organization
or OU. |
public void setEnabled(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.
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.public Boolean getEnabled()
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.
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.public AutoDeployment withEnabled(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.
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.public Boolean isEnabled()
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.
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.public void setRetainStacksOnAccountRemoval(Boolean retainStacksOnAccountRemoval)
If set to true
, stack resources are retained when an account is removed from a target organization
or OU. If set to false
, stack resources are deleted. Specify only if Enabled
is set to
True
.
retainStacksOnAccountRemoval
- If set to true
, stack resources are retained when an account is removed from a target
organization or OU. If set to false
, stack resources are deleted. Specify only if
Enabled
is set to True
.public Boolean getRetainStacksOnAccountRemoval()
If set to true
, stack resources are retained when an account is removed from a target organization
or OU. If set to false
, stack resources are deleted. Specify only if Enabled
is set to
True
.
true
, stack resources are retained when an account is removed from a target
organization or OU. If set to false
, stack resources are deleted. Specify only if
Enabled
is set to True
.public AutoDeployment withRetainStacksOnAccountRemoval(Boolean retainStacksOnAccountRemoval)
If set to true
, stack resources are retained when an account is removed from a target organization
or OU. If set to false
, stack resources are deleted. Specify only if Enabled
is set to
True
.
retainStacksOnAccountRemoval
- If set to true
, stack resources are retained when an account is removed from a target
organization or OU. If set to false
, stack resources are deleted. Specify only if
Enabled
is set to True
.public Boolean isRetainStacksOnAccountRemoval()
If set to true
, stack resources are retained when an account is removed from a target organization
or OU. If set to false
, stack resources are deleted. Specify only if Enabled
is set to
True
.
true
, stack resources are retained when an account is removed from a target
organization or OU. If set to false
, stack resources are deleted. Specify only if
Enabled
is set to True
.public String toString()
toString
in class Object
Object.toString()
public AutoDeployment clone()