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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DescribeAttackStatisticsResponse.BuilderdataItems(Collection<AttackStatisticsDataItem> dataItems)The data that describes the attacks detected during the time period.DescribeAttackStatisticsResponse.BuilderdataItems(Consumer<AttackStatisticsDataItem.Builder>... dataItems)The data that describes the attacks detected during the time period.DescribeAttackStatisticsResponse.BuilderdataItems(AttackStatisticsDataItem... dataItems)The data that describes the attacks detected during the time period.default DescribeAttackStatisticsResponse.BuildertimeRange(Consumer<TimeRange.Builder> timeRange)The time range of the attack.DescribeAttackStatisticsResponse.BuildertimeRange(TimeRange timeRange)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, sdkFieldNameToField, 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 Detail
-
timeRange
DescribeAttackStatisticsResponse.Builder timeRange(TimeRange 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
default DescribeAttackStatisticsResponse.Builder timeRange(Consumer<TimeRange.Builder> timeRange)
The time range of the attack.
This is a convenience method that creates an instance of theTimeRange.Builderavoiding the need to create one manually viaTimeRange.builder().When the
Consumercompletes,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:
timeRange(TimeRange)
-
dataItems
DescribeAttackStatisticsResponse.Builder dataItems(Collection<AttackStatisticsDataItem> 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(AttackStatisticsDataItem... 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.Builderavoiding the need to create one manually viaAttackStatisticsDataItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#dataItems(List.) - 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:
#dataItems(java.util.Collection)
-
-