Interface DescribeAffectedAccountsForOrganizationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeAffectedAccountsForOrganizationResponse.Builder,
,DescribeAffectedAccountsForOrganizationResponse> HealthResponse.Builder
,SdkBuilder<DescribeAffectedAccountsForOrganizationResponse.Builder,
,DescribeAffectedAccountsForOrganizationResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeAffectedAccountsForOrganizationResponse
-
Method Summary
Modifier and TypeMethodDescriptionaffectedAccounts
(String... affectedAccounts) A JSON set of elements of the affected accounts.affectedAccounts
(Collection<String> affectedAccounts) A JSON set of elements of the affected accounts.eventScopeCode
(String eventScopeCode) This parameter specifies if the Health event is a public Amazon Web Service event or an account-specific event.eventScopeCode
(EventScopeCode eventScopeCode) This parameter specifies if the Health event is a public Amazon Web Service event or an account-specific event.If the results of a search are large, only a portion of the results are returned, and anextToken
pagination token is returned in the response.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.health.model.HealthResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
affectedAccounts
DescribeAffectedAccountsForOrganizationResponse.Builder affectedAccounts(Collection<String> affectedAccounts) A JSON set of elements of the affected accounts.
- Parameters:
affectedAccounts
- A JSON set of elements of the affected accounts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
affectedAccounts
DescribeAffectedAccountsForOrganizationResponse.Builder affectedAccounts(String... affectedAccounts) A JSON set of elements of the affected accounts.
- Parameters:
affectedAccounts
- A JSON set of elements of the affected accounts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventScopeCode
This parameter specifies if the Health event is a public Amazon Web Service event or an account-specific event.
-
If the
eventScopeCode
value isPUBLIC
, then theaffectedAccounts
value is always empty. -
If the
eventScopeCode
value isACCOUNT_SPECIFIC
, then theaffectedAccounts
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 isNONE
, then theeventArn
that you specified in the request is invalid or doesn't exist.
- Parameters:
eventScopeCode
- This parameter specifies if the Health event is a public Amazon Web Service event or an account-specific event.-
If the
eventScopeCode
value isPUBLIC
, then theaffectedAccounts
value is always empty. -
If the
eventScopeCode
value isACCOUNT_SPECIFIC
, then theaffectedAccounts
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 isNONE
, then theeventArn
that you specified in the request is invalid or doesn't exist.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
eventScopeCode
DescribeAffectedAccountsForOrganizationResponse.Builder eventScopeCode(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 isPUBLIC
, then theaffectedAccounts
value is always empty. -
If the
eventScopeCode
value isACCOUNT_SPECIFIC
, then theaffectedAccounts
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 isNONE
, then theeventArn
that you specified in the request is invalid or doesn't exist.
- Parameters:
eventScopeCode
- This parameter specifies if the Health event is a public Amazon Web Service event or an account-specific event.-
If the
eventScopeCode
value isPUBLIC
, then theaffectedAccounts
value is always empty. -
If the
eventScopeCode
value isACCOUNT_SPECIFIC
, then theaffectedAccounts
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 isNONE
, then theeventArn
that you specified in the request is invalid or doesn't exist.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
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.- Parameters:
nextToken
- If the results of a search are large, only a portion of the results are returned, and anextToken
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-