@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListEnabledControlsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListEnabledControlsResult() |
Modifier and Type | Method and Description |
---|---|
ListEnabledControlsResult |
clone() |
boolean |
equals(Object obj) |
List<EnabledControlSummary> |
getEnabledControls()
Lists the controls enabled by AWS Control Tower on the specified organizational unit and the accounts it
contains.
|
String |
getNextToken()
Retrieves the next page of results.
|
int |
hashCode() |
void |
setEnabledControls(Collection<EnabledControlSummary> enabledControls)
Lists the controls enabled by AWS Control Tower on the specified organizational unit and the accounts it
contains.
|
void |
setNextToken(String nextToken)
Retrieves the next page of results.
|
String |
toString()
Returns a string representation of this object.
|
ListEnabledControlsResult |
withEnabledControls(Collection<EnabledControlSummary> enabledControls)
Lists the controls enabled by AWS Control Tower on the specified organizational unit and the accounts it
contains.
|
ListEnabledControlsResult |
withEnabledControls(EnabledControlSummary... enabledControls)
Lists the controls enabled by AWS Control Tower on the specified organizational unit and the accounts it
contains.
|
ListEnabledControlsResult |
withNextToken(String nextToken)
Retrieves the next page of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<EnabledControlSummary> getEnabledControls()
Lists the controls enabled by AWS Control Tower on the specified organizational unit and the accounts it contains.
public void setEnabledControls(Collection<EnabledControlSummary> enabledControls)
Lists the controls enabled by AWS Control Tower on the specified organizational unit and the accounts it contains.
enabledControls
- Lists the controls enabled by AWS Control Tower on the specified organizational unit and the accounts it
contains.public ListEnabledControlsResult withEnabledControls(EnabledControlSummary... enabledControls)
Lists the controls enabled by AWS Control Tower on the specified organizational unit and the accounts it contains.
NOTE: This method appends the values to the existing list (if any). Use
setEnabledControls(java.util.Collection)
or withEnabledControls(java.util.Collection)
if you
want to override the existing values.
enabledControls
- Lists the controls enabled by AWS Control Tower on the specified organizational unit and the accounts it
contains.public ListEnabledControlsResult withEnabledControls(Collection<EnabledControlSummary> enabledControls)
Lists the controls enabled by AWS Control Tower on the specified organizational unit and the accounts it contains.
enabledControls
- Lists the controls enabled by AWS Control Tower on the specified organizational unit and the accounts it
contains.public void setNextToken(String nextToken)
Retrieves the next page of results. If the string is empty, the current response is the end of the results.
nextToken
- Retrieves the next page of results. If the string is empty, the current response is the end of the
results.public String getNextToken()
Retrieves the next page of results. If the string is empty, the current response is the end of the results.
public ListEnabledControlsResult withNextToken(String nextToken)
Retrieves the next page of results. If the string is empty, the current response is the end of the results.
nextToken
- Retrieves the next page of results. If the string is empty, the current response is the end of the
results.public String toString()
toString
in class Object
Object.toString()
public ListEnabledControlsResult clone()