@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()
This parameter specifies if the Health event is a public Amazon Web Service event or an account-specific event.
|
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)
This parameter specifies if the Health event is a public Amazon Web Service event or an account-specific event.
|
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)
This parameter specifies if the Health event is a public Amazon Web Service event or an account-specific event.
|
DescribeAffectedAccountsForOrganizationResult |
withEventScopeCode(String eventScopeCode)
This parameter specifies if the Health event is a public Amazon Web Service event or an account-specific event.
|
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)
This parameter specifies if the Health event is a public Amazon Web Service event or an account-specific event.
If the eventScopeCode
value is PUBLIC
, then the affectedAccounts
value is
always empty.
If the eventScopeCode
value is ACCOUNT_SPECIFIC
, then the affectedAccounts
value lists the affected Amazon Web Services accounts in your organization. For example, if an event affects a
service such as Amazon Elastic Compute Cloud and you have Amazon Web Services accounts that use that service,
those account IDs appear in the response.
If the eventScopeCode
value is NONE
, then the eventArn
that you specified
in the request is invalid or doesn't exist.
eventScopeCode
- This parameter specifies if the Health event is a public Amazon Web Service event or an account-specific
event.
If the eventScopeCode
value is PUBLIC
, then the affectedAccounts
value is always empty.
If the eventScopeCode
value is ACCOUNT_SPECIFIC
, then the
affectedAccounts
value lists the affected Amazon Web Services accounts in your organization.
For example, if an event affects a service such as Amazon Elastic Compute Cloud and you have Amazon Web
Services accounts that use that service, those account IDs appear in the response.
If the eventScopeCode
value is NONE
, then the eventArn
that you
specified in the request is invalid or doesn't exist.
EventScopeCode
public String getEventScopeCode()
This parameter specifies if the Health event is a public Amazon Web Service event or an account-specific event.
If the eventScopeCode
value is PUBLIC
, then the affectedAccounts
value is
always empty.
If the eventScopeCode
value is ACCOUNT_SPECIFIC
, then the affectedAccounts
value lists the affected Amazon Web Services accounts in your organization. For example, if an event affects a
service such as Amazon Elastic Compute Cloud and you have Amazon Web Services accounts that use that service,
those account IDs appear in the response.
If the eventScopeCode
value is NONE
, then the eventArn
that you specified
in the request is invalid or doesn't exist.
If the eventScopeCode
value is PUBLIC
, then the affectedAccounts
value is always empty.
If the eventScopeCode
value is ACCOUNT_SPECIFIC
, then the
affectedAccounts
value lists the affected Amazon Web Services accounts in your organization.
For example, if an event affects a service such as Amazon Elastic Compute Cloud and you have Amazon Web
Services accounts that use that service, those account IDs appear in the response.
If the eventScopeCode
value is NONE
, then the eventArn
that you
specified in the request is invalid or doesn't exist.
EventScopeCode
public DescribeAffectedAccountsForOrganizationResult withEventScopeCode(String eventScopeCode)
This parameter specifies if the Health event is a public Amazon Web Service event or an account-specific event.
If the eventScopeCode
value is PUBLIC
, then the affectedAccounts
value is
always empty.
If the eventScopeCode
value is ACCOUNT_SPECIFIC
, then the affectedAccounts
value lists the affected Amazon Web Services accounts in your organization. For example, if an event affects a
service such as Amazon Elastic Compute Cloud and you have Amazon Web Services accounts that use that service,
those account IDs appear in the response.
If the eventScopeCode
value is NONE
, then the eventArn
that you specified
in the request is invalid or doesn't exist.
eventScopeCode
- This parameter specifies if the Health event is a public Amazon Web Service event or an account-specific
event.
If the eventScopeCode
value is PUBLIC
, then the affectedAccounts
value is always empty.
If the eventScopeCode
value is ACCOUNT_SPECIFIC
, then the
affectedAccounts
value lists the affected Amazon Web Services accounts in your organization.
For example, if an event affects a service such as Amazon Elastic Compute Cloud and you have Amazon Web
Services accounts that use that service, those account IDs appear in the response.
If the eventScopeCode
value is NONE
, then the eventArn
that you
specified in the request is invalid or doesn't exist.
EventScopeCode
public DescribeAffectedAccountsForOrganizationResult withEventScopeCode(EventScopeCode eventScopeCode)
This parameter specifies if the Health event is a public Amazon Web Service event or an account-specific event.
If the eventScopeCode
value is PUBLIC
, then the affectedAccounts
value is
always empty.
If the eventScopeCode
value is ACCOUNT_SPECIFIC
, then the affectedAccounts
value lists the affected Amazon Web Services accounts in your organization. For example, if an event affects a
service such as Amazon Elastic Compute Cloud and you have Amazon Web Services accounts that use that service,
those account IDs appear in the response.
If the eventScopeCode
value is NONE
, then the eventArn
that you specified
in the request is invalid or doesn't exist.
eventScopeCode
- This parameter specifies if the Health event is a public Amazon Web Service event or an account-specific
event.
If the eventScopeCode
value is PUBLIC
, then the affectedAccounts
value is always empty.
If the eventScopeCode
value is ACCOUNT_SPECIFIC
, then the
affectedAccounts
value lists the affected Amazon Web Services accounts in your organization.
For example, if an event affects a service such as Amazon Elastic Compute Cloud and you have Amazon Web
Services accounts that use that service, those account IDs appear in the response.
If the eventScopeCode
value is NONE
, then the eventArn
that you
specified in the request is invalid or doesn't exist.
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()