@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeploymentTargets extends Object implements Serializable, Cloneable
[Service-managed
permissions] The AWS Organizations accounts to which StackSets deploys.
For update operations, you can specify either Accounts
or OrganizationalUnitIds
. For create
and delete operations, specify OrganizationalUnitIds
.
Constructor and Description |
---|
DeploymentTargets() |
Modifier and Type | Method and Description |
---|---|
DeploymentTargets |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAccounts()
The names of one or more AWS accounts for which you want to deploy stack set updates.
|
List<String> |
getOrganizationalUnitIds()
The organization root ID or organizational unit (OUs) IDs to which StackSets deploys.
|
int |
hashCode() |
void |
setAccounts(Collection<String> accounts)
The names of one or more AWS accounts for which you want to deploy stack set updates.
|
void |
setOrganizationalUnitIds(Collection<String> organizationalUnitIds)
The organization root ID or organizational unit (OUs) IDs to which StackSets deploys.
|
String |
toString()
Returns a string representation of this object.
|
DeploymentTargets |
withAccounts(Collection<String> accounts)
The names of one or more AWS accounts for which you want to deploy stack set updates.
|
DeploymentTargets |
withAccounts(String... accounts)
The names of one or more AWS accounts for which you want to deploy stack set updates.
|
DeploymentTargets |
withOrganizationalUnitIds(Collection<String> organizationalUnitIds)
The organization root ID or organizational unit (OUs) IDs to which StackSets deploys.
|
DeploymentTargets |
withOrganizationalUnitIds(String... organizationalUnitIds)
The organization root ID or organizational unit (OUs) IDs to which StackSets deploys.
|
public List<String> getAccounts()
The names of one or more AWS accounts for which you want to deploy stack set updates.
public void setAccounts(Collection<String> accounts)
The names of one or more AWS accounts for which you want to deploy stack set updates.
accounts
- The names of one or more AWS accounts for which you want to deploy stack set updates.public DeploymentTargets withAccounts(String... accounts)
The names of one or more AWS accounts for which you want to deploy stack set updates.
NOTE: This method appends the values to the existing list (if any). Use
setAccounts(java.util.Collection)
or withAccounts(java.util.Collection)
if you want to override
the existing values.
accounts
- The names of one or more AWS accounts for which you want to deploy stack set updates.public DeploymentTargets withAccounts(Collection<String> accounts)
The names of one or more AWS accounts for which you want to deploy stack set updates.
accounts
- The names of one or more AWS accounts for which you want to deploy stack set updates.public List<String> getOrganizationalUnitIds()
The organization root ID or organizational unit (OUs) IDs to which StackSets deploys.
public void setOrganizationalUnitIds(Collection<String> organizationalUnitIds)
The organization root ID or organizational unit (OUs) IDs to which StackSets deploys.
organizationalUnitIds
- The organization root ID or organizational unit (OUs) IDs to which StackSets deploys.public DeploymentTargets withOrganizationalUnitIds(String... organizationalUnitIds)
The organization root ID or organizational unit (OUs) IDs to which StackSets deploys.
NOTE: This method appends the values to the existing list (if any). Use
setOrganizationalUnitIds(java.util.Collection)
or
withOrganizationalUnitIds(java.util.Collection)
if you want to override the existing values.
organizationalUnitIds
- The organization root ID or organizational unit (OUs) IDs to which StackSets deploys.public DeploymentTargets withOrganizationalUnitIds(Collection<String> organizationalUnitIds)
The organization root ID or organizational unit (OUs) IDs to which StackSets deploys.
organizationalUnitIds
- The organization root ID or organizational unit (OUs) IDs to which StackSets deploys.public String toString()
toString
in class Object
Object.toString()
public DeploymentTargets clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.