Interface DescribeAffectedAccountsForOrganizationResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeAffectedAccountsForOrganizationResponse.Builder,DescribeAffectedAccountsForOrganizationResponse>,HealthResponse.Builder,SdkBuilder<DescribeAffectedAccountsForOrganizationResponse.Builder,DescribeAffectedAccountsForOrganizationResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeAffectedAccountsForOrganizationResponse
public static interface DescribeAffectedAccountsForOrganizationResponse.Builder extends HealthResponse.Builder, SdkPojo, CopyableBuilder<DescribeAffectedAccountsForOrganizationResponse.Builder,DescribeAffectedAccountsForOrganizationResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeAffectedAccountsForOrganizationResponse.BuilderaffectedAccounts(String... affectedAccounts)A JSON set of elements of the affected accounts.DescribeAffectedAccountsForOrganizationResponse.BuilderaffectedAccounts(Collection<String> affectedAccounts)A JSON set of elements of the affected accounts.DescribeAffectedAccountsForOrganizationResponse.BuildereventScopeCode(String eventScopeCode)This parameter specifies if the Health event is a public Amazon Web Service event or an account-specific event.DescribeAffectedAccountsForOrganizationResponse.BuildereventScopeCode(EventScopeCode eventScopeCode)This parameter specifies if the Health event is a public Amazon Web Service event or an account-specific event.DescribeAffectedAccountsForOrganizationResponse.BuildernextToken(String nextToken)If the results of a search are large, only a portion of the results are returned, and anextTokenpagination 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 Detail
-
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
DescribeAffectedAccountsForOrganizationResponse.Builder eventScopeCode(String eventScopeCode)
This parameter specifies if the Health event is a public Amazon Web Service event or an account-specific event.
-
If the
eventScopeCodevalue isPUBLIC, then theaffectedAccountsvalue is always empty. -
If the
eventScopeCodevalue isACCOUNT_SPECIFIC, then theaffectedAccountsvalue 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
eventScopeCodevalue isNONE, then theeventArnthat 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
eventScopeCodevalue isPUBLIC, then theaffectedAccountsvalue is always empty. -
If the
eventScopeCodevalue isACCOUNT_SPECIFIC, then theaffectedAccountsvalue 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
eventScopeCodevalue isNONE, then theeventArnthat 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,EventScopeCode
-
-
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
eventScopeCodevalue isPUBLIC, then theaffectedAccountsvalue is always empty. -
If the
eventScopeCodevalue isACCOUNT_SPECIFIC, then theaffectedAccountsvalue 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
eventScopeCodevalue isNONE, then theeventArnthat 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
eventScopeCodevalue isPUBLIC, then theaffectedAccountsvalue is always empty. -
If the
eventScopeCodevalue isACCOUNT_SPECIFIC, then theaffectedAccountsvalue 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
eventScopeCodevalue isNONE, then theeventArnthat 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,EventScopeCode
-
-
nextToken
DescribeAffectedAccountsForOrganizationResponse.Builder nextToken(String nextToken)
If the results of a search are large, only a portion of the results are returned, and a
nextTokenpagination 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 anextTokenpagination 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.
-
-