Interface DescribeEntityAggregatesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeEntityAggregatesResponse.Builder,
,DescribeEntityAggregatesResponse> HealthResponse.Builder
,SdkBuilder<DescribeEntityAggregatesResponse.Builder,
,DescribeEntityAggregatesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeEntityAggregatesResponse
public static interface DescribeEntityAggregatesResponse.Builder
extends HealthResponse.Builder, SdkPojo, CopyableBuilder<DescribeEntityAggregatesResponse.Builder,DescribeEntityAggregatesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionentityAggregates
(Collection<EntityAggregate> entityAggregates) The number of entities that are affected by each of the specified events.entityAggregates
(Consumer<EntityAggregate.Builder>... entityAggregates) The number of entities that are affected by each of the specified events.entityAggregates
(EntityAggregate... entityAggregates) The number of entities that are affected by each of the specified events.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
-
entityAggregates
DescribeEntityAggregatesResponse.Builder entityAggregates(Collection<EntityAggregate> entityAggregates) The number of entities that are affected by each of the specified events.
- Parameters:
entityAggregates
- The number of entities that are affected by each of the specified events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entityAggregates
The number of entities that are affected by each of the specified events.
- Parameters:
entityAggregates
- The number of entities that are affected by each of the specified events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entityAggregates
DescribeEntityAggregatesResponse.Builder entityAggregates(Consumer<EntityAggregate.Builder>... entityAggregates) The number of entities that are affected by each of the specified events.
This is a convenience method that creates an instance of theEntityAggregate.Builder
avoiding the need to create one manually viaEntityAggregate.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toentityAggregates(List<EntityAggregate>)
.- Parameters:
entityAggregates
- a consumer that will call methods onEntityAggregate.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-