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 theawsAccountIdand itsentityArn,entityValueand itsentityArn,lastUpdatedTime, andstatusCode.entities(Consumer<AffectedEntity.Builder>... entities) A JSON set of elements including theawsAccountIdand itsentityArn,entityValueand itsentityArn,lastUpdatedTime, andstatusCode.entities(AffectedEntity... entities) A JSON set of elements including theawsAccountIdand itsentityArn,entityValueand 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 anextTokenpagination token is returned in the response.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.health.model.HealthResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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
awsAccountIdand itsentityArn,entityValueand itsentityArn,lastUpdatedTime, andstatusCode.- Parameters:
entities- A JSON set of elements including theawsAccountIdand itsentityArn,entityValueand 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
awsAccountIdand itsentityArn,entityValueand itsentityArn,lastUpdatedTime, andstatusCode.- Parameters:
entities- A JSON set of elements including theawsAccountIdand itsentityArn,entityValueand 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 theawsAccountIdand itsentityArn,entityValueand itsentityArn,lastUpdatedTime, andstatusCode.AffectedEntity.Builderavoiding the need to create one manually viaAffectedEntity.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaOrganizationAffectedEntitiesErrorItem.builder().When the
Consumercompletes,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
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.
-