@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeAffectedAccountsForOrganizationResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeAffectedAccountsForOrganizationResult() |
Modifier and Type | Method and Description |
---|---|
DescribeAffectedAccountsForOrganizationResult |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAffectedAccounts()
A JSON set of elements of the affected accounts.
|
String |
getEventScopeCode() |
String |
getNextToken()
If the results of a search are large, only a portion of the results are returned, and a
nextToken
pagination token is returned in the response. |
int |
hashCode() |
void |
setAffectedAccounts(Collection<String> affectedAccounts)
A JSON set of elements of the affected accounts.
|
void |
setEventScopeCode(String eventScopeCode) |
void |
setNextToken(String nextToken)
If the results of a search are large, only a portion of the results are returned, and a
nextToken
pagination token is returned in the response. |
String |
toString()
Returns a string representation of this object.
|
DescribeAffectedAccountsForOrganizationResult |
withAffectedAccounts(Collection<String> affectedAccounts)
A JSON set of elements of the affected accounts.
|
DescribeAffectedAccountsForOrganizationResult |
withAffectedAccounts(String... affectedAccounts)
A JSON set of elements of the affected accounts.
|
DescribeAffectedAccountsForOrganizationResult |
withEventScopeCode(EventScopeCode eventScopeCode) |
DescribeAffectedAccountsForOrganizationResult |
withEventScopeCode(String eventScopeCode) |
DescribeAffectedAccountsForOrganizationResult |
withNextToken(String nextToken)
If the results of a search are large, only a portion of the results are returned, and a
nextToken
pagination token is returned in the response. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public DescribeAffectedAccountsForOrganizationResult()
public List<String> getAffectedAccounts()
A JSON set of elements of the affected accounts.
public void setAffectedAccounts(Collection<String> affectedAccounts)
A JSON set of elements of the affected accounts.
affectedAccounts
- A JSON set of elements of the affected accounts.public DescribeAffectedAccountsForOrganizationResult withAffectedAccounts(String... affectedAccounts)
A JSON set of elements of the affected accounts.
NOTE: This method appends the values to the existing list (if any). Use
setAffectedAccounts(java.util.Collection)
or withAffectedAccounts(java.util.Collection)
if you
want to override the existing values.
affectedAccounts
- A JSON set of elements of the affected accounts.public DescribeAffectedAccountsForOrganizationResult withAffectedAccounts(Collection<String> affectedAccounts)
A JSON set of elements of the affected accounts.
affectedAccounts
- A JSON set of elements of the affected accounts.public void setEventScopeCode(String eventScopeCode)
eventScopeCode
- EventScopeCode
public String getEventScopeCode()
EventScopeCode
public DescribeAffectedAccountsForOrganizationResult withEventScopeCode(String eventScopeCode)
eventScopeCode
- EventScopeCode
public DescribeAffectedAccountsForOrganizationResult withEventScopeCode(EventScopeCode eventScopeCode)
eventScopeCode
- EventScopeCode
public void setNextToken(String nextToken)
If the results of a search are large, only a portion of the results are returned, and a nextToken
pagination token is returned in the response. To retrieve the next batch of results, reissue the search request
and include the returned token. When all results have been returned, the response does not contain a pagination
token value.
nextToken
- If the results of a search are large, only a portion of the results are returned, and a
nextToken
pagination token is returned in the response. To retrieve the next batch of
results, reissue the search request and include the returned token. When all results have been returned,
the response does not contain a pagination token value.public String getNextToken()
If the results of a search are large, only a portion of the results are returned, and a nextToken
pagination token is returned in the response. To retrieve the next batch of results, reissue the search request
and include the returned token. When all results have been returned, the response does not contain a pagination
token value.
nextToken
pagination token is returned in the response. To retrieve the next batch of
results, reissue the search request and include the returned token. When all results have been returned,
the response does not contain a pagination token value.public DescribeAffectedAccountsForOrganizationResult withNextToken(String nextToken)
If the results of a search are large, only a portion of the results are returned, and a nextToken
pagination token is returned in the response. To retrieve the next batch of results, reissue the search request
and include the returned token. When all results have been returned, the response does not contain a pagination
token value.
nextToken
- If the results of a search are large, only a portion of the results are returned, and a
nextToken
pagination token is returned in the response. To retrieve the next batch of
results, reissue the search request and include the returned token. When all results have been returned,
the response does not contain a pagination token value.public String toString()
toString
in class Object
Object.toString()
public DescribeAffectedAccountsForOrganizationResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.