Interface AttackDetail.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AttackDetail.Builder,
,AttackDetail> SdkBuilder<AttackDetail.Builder,
,AttackDetail> SdkPojo
- Enclosing class:
AttackDetail
-
Method Summary
Modifier and TypeMethodDescriptionattackCounters
(Collection<SummarizedCounter> attackCounters) List of counters that describe the attack for the specified time period.attackCounters
(Consumer<SummarizedCounter.Builder>... attackCounters) List of counters that describe the attack for the specified time period.attackCounters
(SummarizedCounter... attackCounters) List of counters that describe the attack for the specified time period.The unique identifier (ID) of the attack.attackProperties
(Collection<AttackProperty> attackProperties) The array of objects that provide details of the Shield event.attackProperties
(Consumer<AttackProperty.Builder>... attackProperties) The array of objects that provide details of the Shield event.attackProperties
(AttackProperty... attackProperties) The array of objects that provide details of the Shield event.The time the attack ended, in Unix time in seconds.mitigations
(Collection<Mitigation> mitigations) List of mitigation actions taken for the attack.mitigations
(Consumer<Mitigation.Builder>... mitigations) List of mitigation actions taken for the attack.mitigations
(Mitigation... mitigations) List of mitigation actions taken for the attack.resourceArn
(String resourceArn) The ARN (Amazon Resource Name) of the resource that was attacked.The time the attack started, in Unix time in seconds.subResources
(Collection<SubResourceSummary> subResources) If applicable, additional detail about the resource being attacked, for example, IP address or URL.subResources
(Consumer<SubResourceSummary.Builder>... subResources) If applicable, additional detail about the resource being attacked, for example, IP address or URL.subResources
(SubResourceSummary... subResources) If applicable, additional detail about the resource being attacked, for example, IP address or URL.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
-
Method Details
-
attackId
The unique identifier (ID) of the attack.
- Parameters:
attackId
- The unique identifier (ID) of the attack.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceArn
The ARN (Amazon Resource Name) of the resource that was attacked.
- Parameters:
resourceArn
- The ARN (Amazon Resource Name) of the resource that was attacked.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subResources
If applicable, additional detail about the resource being attacked, for example, IP address or URL.
- Parameters:
subResources
- If applicable, additional detail about the resource being attacked, for example, IP address or URL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subResources
If applicable, additional detail about the resource being attacked, for example, IP address or URL.
- Parameters:
subResources
- If applicable, additional detail about the resource being attacked, for example, IP address or URL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subResources
If applicable, additional detail about the resource being attacked, for example, IP address or URL.
This is a convenience method that creates an instance of theSubResourceSummary.Builder
avoiding the need to create one manually viaSubResourceSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosubResources(List<SubResourceSummary>)
.- Parameters:
subResources
- a consumer that will call methods onSubResourceSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
startTime
The time the attack started, in Unix time in seconds.
- Parameters:
startTime
- The time the attack started, in Unix time in seconds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
The time the attack ended, in Unix time in seconds.
- Parameters:
endTime
- The time the attack ended, in Unix time in seconds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attackCounters
List of counters that describe the attack for the specified time period.
- Parameters:
attackCounters
- List of counters that describe the attack for the specified time period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attackCounters
List of counters that describe the attack for the specified time period.
- Parameters:
attackCounters
- List of counters that describe the attack for the specified time period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attackCounters
List of counters that describe the attack for the specified time period.
This is a convenience method that creates an instance of theSummarizedCounter.Builder
avoiding the need to create one manually viaSummarizedCounter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toattackCounters(List<SummarizedCounter>)
.- Parameters:
attackCounters
- a consumer that will call methods onSummarizedCounter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
attackProperties
The array of objects that provide details of the Shield event.
For infrastructure layer events (L3 and L4 events), you can view metrics for top contributors in Amazon CloudWatch metrics. For more information, see Shield metrics and alarms in the WAF Developer Guide.
- Parameters:
attackProperties
- The array of objects that provide details of the Shield event.For infrastructure layer events (L3 and L4 events), you can view metrics for top contributors in Amazon CloudWatch metrics. For more information, see Shield metrics and alarms in the WAF Developer Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attackProperties
The array of objects that provide details of the Shield event.
For infrastructure layer events (L3 and L4 events), you can view metrics for top contributors in Amazon CloudWatch metrics. For more information, see Shield metrics and alarms in the WAF Developer Guide.
- Parameters:
attackProperties
- The array of objects that provide details of the Shield event.For infrastructure layer events (L3 and L4 events), you can view metrics for top contributors in Amazon CloudWatch metrics. For more information, see Shield metrics and alarms in the WAF Developer Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attackProperties
The array of objects that provide details of the Shield event.
For infrastructure layer events (L3 and L4 events), you can view metrics for top contributors in Amazon CloudWatch metrics. For more information, see Shield metrics and alarms in the WAF Developer Guide.
This is a convenience method that creates an instance of theAttackProperty.Builder
avoiding the need to create one manually viaAttackProperty.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toattackProperties(List<AttackProperty>)
.- Parameters:
attackProperties
- a consumer that will call methods onAttackProperty.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
mitigations
List of mitigation actions taken for the attack.
- Parameters:
mitigations
- List of mitigation actions taken for the attack.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mitigations
List of mitigation actions taken for the attack.
- Parameters:
mitigations
- List of mitigation actions taken for the attack.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mitigations
List of mitigation actions taken for the attack.
This is a convenience method that creates an instance of theMitigation.Builder
avoiding the need to create one manually viaMitigation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomitigations(List<Mitigation>)
.- Parameters:
mitigations
- a consumer that will call methods onMitigation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-