Interface DescribeAffectedEntitiesForOrganizationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeAffectedEntitiesForOrganizationResponse.Builder,
,DescribeAffectedEntitiesForOrganizationResponse> HealthResponse.Builder
,SdkBuilder<DescribeAffectedEntitiesForOrganizationResponse.Builder,
,DescribeAffectedEntitiesForOrganizationResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeAffectedEntitiesForOrganizationResponse
-
Method Summary
Modifier and TypeMethodDescriptionentities
(Collection<AffectedEntity> entities) A JSON set of elements including theawsAccountId
and itsentityArn
,entityValue
and itsentityArn
,lastUpdatedTime
, andstatusCode
.entities
(Consumer<AffectedEntity.Builder>... entities) A JSON set of elements including theawsAccountId
and itsentityArn
,entityValue
and itsentityArn
,lastUpdatedTime
, andstatusCode
.entities
(AffectedEntity... entities) A JSON set of elements including theawsAccountId
and itsentityArn
,entityValue
and itsentityArn
,lastUpdatedTime
, andstatusCode
.failedSet
(Collection<OrganizationAffectedEntitiesErrorItem> failedSet) A JSON set of elements of the failed response, including theawsAccountId
,errorMessage
,errorName
, andeventArn
.failedSet
(Consumer<OrganizationAffectedEntitiesErrorItem.Builder>... failedSet) A JSON set of elements of the failed response, including theawsAccountId
,errorMessage
,errorName
, andeventArn
.failedSet
(OrganizationAffectedEntitiesErrorItem... failedSet) A JSON set of elements of the failed response, including theawsAccountId
,errorMessage
,errorName
, andeventArn
.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
-
entities
DescribeAffectedEntitiesForOrganizationResponse.Builder entities(Collection<AffectedEntity> entities) A JSON set of elements including the
awsAccountId
and itsentityArn
,entityValue
and itsentityArn
,lastUpdatedTime
, andstatusCode
.- Parameters:
entities
- A JSON set of elements including theawsAccountId
and itsentityArn
,entityValue
and itsentityArn
,lastUpdatedTime
, andstatusCode
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entities
A JSON set of elements including the
awsAccountId
and itsentityArn
,entityValue
and itsentityArn
,lastUpdatedTime
, andstatusCode
.- Parameters:
entities
- A JSON set of elements including theawsAccountId
and itsentityArn
,entityValue
and itsentityArn
,lastUpdatedTime
, andstatusCode
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entities
DescribeAffectedEntitiesForOrganizationResponse.Builder entities(Consumer<AffectedEntity.Builder>... entities) A JSON set of elements including the
This is a convenience method that creates an instance of theawsAccountId
and itsentityArn
,entityValue
and itsentityArn
,lastUpdatedTime
, andstatusCode
.AffectedEntity.Builder
avoiding the need to create one manually viaAffectedEntity.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toentities(List<AffectedEntity>)
.- Parameters:
entities
- a consumer that will call methods onAffectedEntity.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failedSet
DescribeAffectedEntitiesForOrganizationResponse.Builder failedSet(Collection<OrganizationAffectedEntitiesErrorItem> failedSet) A JSON set of elements of the failed response, including the
awsAccountId
,errorMessage
,errorName
, andeventArn
.- Parameters:
failedSet
- A JSON set of elements of the failed response, including theawsAccountId
,errorMessage
,errorName
, andeventArn
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failedSet
DescribeAffectedEntitiesForOrganizationResponse.Builder failedSet(OrganizationAffectedEntitiesErrorItem... failedSet) A JSON set of elements of the failed response, including the
awsAccountId
,errorMessage
,errorName
, andeventArn
.- Parameters:
failedSet
- A JSON set of elements of the failed response, including theawsAccountId
,errorMessage
,errorName
, andeventArn
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failedSet
DescribeAffectedEntitiesForOrganizationResponse.Builder failedSet(Consumer<OrganizationAffectedEntitiesErrorItem.Builder>... failedSet) A JSON set of elements of the failed response, including the
This is a convenience method that creates an instance of theawsAccountId
,errorMessage
,errorName
, andeventArn
.OrganizationAffectedEntitiesErrorItem.Builder
avoiding the need to create one manually viaOrganizationAffectedEntitiesErrorItem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofailedSet(List<OrganizationAffectedEntitiesErrorItem>)
.- Parameters:
failedSet
- a consumer that will call methods onOrganizationAffectedEntitiesErrorItem.Builder
- 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.
-