Interface DescribeAttackStatisticsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeAttackStatisticsResponse.Builder,
,DescribeAttackStatisticsResponse> SdkBuilder<DescribeAttackStatisticsResponse.Builder,
,DescribeAttackStatisticsResponse> SdkPojo
,SdkResponse.Builder
,ShieldResponse.Builder
- Enclosing class:
DescribeAttackStatisticsResponse
public static interface DescribeAttackStatisticsResponse.Builder
extends ShieldResponse.Builder, SdkPojo, CopyableBuilder<DescribeAttackStatisticsResponse.Builder,DescribeAttackStatisticsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondataItems
(Collection<AttackStatisticsDataItem> dataItems) The data that describes the attacks detected during the time period.dataItems
(Consumer<AttackStatisticsDataItem.Builder>... dataItems) The data that describes the attacks detected during the time period.dataItems
(AttackStatisticsDataItem... dataItems) The data that describes the attacks detected during the time period.timeRange
(Consumer<TimeRange.Builder> timeRange) The time range of the attack.The time range of the attack.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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
Methods inherited from interface software.amazon.awssdk.services.shield.model.ShieldResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
timeRange
The time range of the attack.
- Parameters:
timeRange
- The time range of the attack.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeRange
The time range of the attack.
This is a convenience method that creates an instance of theTimeRange.Builder
avoiding the need to create one manually viaTimeRange.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totimeRange(TimeRange)
.- Parameters:
timeRange
- a consumer that will call methods onTimeRange.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dataItems
The data that describes the attacks detected during the time period.
- Parameters:
dataItems
- The data that describes the attacks detected during the time period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataItems
The data that describes the attacks detected during the time period.
- Parameters:
dataItems
- The data that describes the attacks detected during the time period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataItems
DescribeAttackStatisticsResponse.Builder dataItems(Consumer<AttackStatisticsDataItem.Builder>... dataItems) The data that describes the attacks detected during the time period.
This is a convenience method that creates an instance of theAttackStatisticsDataItem.Builder
avoiding the need to create one manually viaAttackStatisticsDataItem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todataItems(List<AttackStatisticsDataItem>)
.- Parameters:
dataItems
- a consumer that will call methods onAttackStatisticsDataItem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-