Interface DescribeAffectedEntitiesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeAffectedEntitiesResponse.Builder,
,DescribeAffectedEntitiesResponse> HealthResponse.Builder
,SdkBuilder<DescribeAffectedEntitiesResponse.Builder,
,DescribeAffectedEntitiesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeAffectedEntitiesResponse
public static interface DescribeAffectedEntitiesResponse.Builder
extends HealthResponse.Builder, SdkPojo, CopyableBuilder<DescribeAffectedEntitiesResponse.Builder,DescribeAffectedEntitiesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionentities
(Collection<AffectedEntity> entities) The entities that match the filter criteria.entities
(Consumer<AffectedEntity.Builder>... entities) The entities that match the filter criteria.entities
(AffectedEntity... entities) The entities that match the filter criteria.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
The entities that match the filter criteria.
- Parameters:
entities
- The entities that match the filter criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entities
The entities that match the filter criteria.
- Parameters:
entities
- The entities that match the filter criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entities
The entities that match the filter criteria.
This is a convenience method that creates an instance of theAffectedEntity.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:
-
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.
-