@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StackSetAutoDeploymentTargetSummary extends Object implements Serializable, Cloneable
One of the targets for the stack set. Returned by the ListStackSetAutoDeploymentTargets API operation.
Constructor and Description |
---|
StackSetAutoDeploymentTargetSummary() |
Modifier and Type | Method and Description |
---|---|
StackSetAutoDeploymentTargetSummary |
clone() |
boolean |
equals(Object obj) |
String |
getOrganizationalUnitId()
The organization root ID or organizational unit (OU) IDs where the stack set is targeted.
|
List<String> |
getRegions()
The list of Regions targeted for this organization or OU.
|
int |
hashCode() |
void |
setOrganizationalUnitId(String organizationalUnitId)
The organization root ID or organizational unit (OU) IDs where the stack set is targeted.
|
void |
setRegions(Collection<String> regions)
The list of Regions targeted for this organization or OU.
|
String |
toString()
Returns a string representation of this object.
|
StackSetAutoDeploymentTargetSummary |
withOrganizationalUnitId(String organizationalUnitId)
The organization root ID or organizational unit (OU) IDs where the stack set is targeted.
|
StackSetAutoDeploymentTargetSummary |
withRegions(Collection<String> regions)
The list of Regions targeted for this organization or OU.
|
StackSetAutoDeploymentTargetSummary |
withRegions(String... regions)
The list of Regions targeted for this organization or OU.
|
public void setOrganizationalUnitId(String organizationalUnitId)
The organization root ID or organizational unit (OU) IDs where the stack set is targeted.
organizationalUnitId
- The organization root ID or organizational unit (OU) IDs where the stack set is targeted.public String getOrganizationalUnitId()
The organization root ID or organizational unit (OU) IDs where the stack set is targeted.
public StackSetAutoDeploymentTargetSummary withOrganizationalUnitId(String organizationalUnitId)
The organization root ID or organizational unit (OU) IDs where the stack set is targeted.
organizationalUnitId
- The organization root ID or organizational unit (OU) IDs where the stack set is targeted.public List<String> getRegions()
The list of Regions targeted for this organization or OU.
public void setRegions(Collection<String> regions)
The list of Regions targeted for this organization or OU.
regions
- The list of Regions targeted for this organization or OU.public StackSetAutoDeploymentTargetSummary withRegions(String... regions)
The list of Regions targeted for this organization or OU.
NOTE: This method appends the values to the existing list (if any). Use
setRegions(java.util.Collection)
or withRegions(java.util.Collection)
if you want to override
the existing values.
regions
- The list of Regions targeted for this organization or OU.public StackSetAutoDeploymentTargetSummary withRegions(Collection<String> regions)
The list of Regions targeted for this organization or OU.
regions
- The list of Regions targeted for this organization or OU.public String toString()
toString
in class Object
Object.toString()
public StackSetAutoDeploymentTargetSummary clone()