@Generated(value="software.amazon.awssdk:codegen") public final class DeploymentTargets extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DeploymentTargets.Builder,DeploymentTargets>
[Service-managed permissions] The Organizations accounts to which StackSets deploys. StackSets does not deploy stack instances to the organization management account, even if the organization management account is in your organization or in an OU in your organization.
For update operations, you can specify either Accounts or OrganizationalUnitIds. For create
and delete operations, specify OrganizationalUnitIds.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DeploymentTargets.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
accounts()
The names of one or more accounts for which you want to deploy stack set updates.
|
String |
accountsUrl()
Returns the value of the
AccountsUrl property. |
static DeploymentTargets.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAccounts()
Returns true if the Accounts property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasOrganizationalUnitIds()
Returns true if the OrganizationalUnitIds property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
List<String> |
organizationalUnitIds()
The organization root ID or organizational unit (OU) IDs to which StackSets deploys.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DeploymentTargets.Builder> |
serializableBuilderClass() |
DeploymentTargets.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasAccounts()
public final List<String> accounts()
The names of one or more accounts for which you want to deploy stack set updates.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasAccounts() to see if a value was sent in this field.
public final String accountsUrl()
Returns the value of the AccountsUrl property.
AccountsUrl property.public final boolean hasOrganizationalUnitIds()
public final List<String> organizationalUnitIds()
The organization root ID or organizational unit (OU) IDs to which StackSets deploys.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasOrganizationalUnitIds() to see if a value was sent in this field.
public DeploymentTargets.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DeploymentTargets.Builder,DeploymentTargets>public static DeploymentTargets.Builder builder()
public static Class<? extends DeploymentTargets.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.