Interface AttackDetail.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AttackDetail.Builder,AttackDetail>,SdkBuilder<AttackDetail.Builder,AttackDetail>,SdkPojo
- Enclosing class:
- AttackDetail
public static interface AttackDetail.Builder extends SdkPojo, CopyableBuilder<AttackDetail.Builder,AttackDetail>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AttackDetail.BuilderattackCounters(Collection<SummarizedCounter> attackCounters)List of counters that describe the attack for the specified time period.AttackDetail.BuilderattackCounters(Consumer<SummarizedCounter.Builder>... attackCounters)List of counters that describe the attack for the specified time period.AttackDetail.BuilderattackCounters(SummarizedCounter... attackCounters)List of counters that describe the attack for the specified time period.AttackDetail.BuilderattackId(String attackId)The unique identifier (ID) of the attack.AttackDetail.BuilderattackProperties(Collection<AttackProperty> attackProperties)The array of objects that provide details of the Shield event.AttackDetail.BuilderattackProperties(Consumer<AttackProperty.Builder>... attackProperties)The array of objects that provide details of the Shield event.AttackDetail.BuilderattackProperties(AttackProperty... attackProperties)The array of objects that provide details of the Shield event.AttackDetail.BuilderendTime(Instant endTime)The time the attack ended, in Unix time in seconds.AttackDetail.Buildermitigations(Collection<Mitigation> mitigations)List of mitigation actions taken for the attack.AttackDetail.Buildermitigations(Consumer<Mitigation.Builder>... mitigations)List of mitigation actions taken for the attack.AttackDetail.Buildermitigations(Mitigation... mitigations)List of mitigation actions taken for the attack.AttackDetail.BuilderresourceArn(String resourceArn)The ARN (Amazon Resource Name) of the resource that was attacked.AttackDetail.BuilderstartTime(Instant startTime)The time the attack started, in Unix time in seconds.AttackDetail.BuildersubResources(Collection<SubResourceSummary> subResources)If applicable, additional detail about the resource being attacked, for example, IP address or URL.AttackDetail.BuildersubResources(Consumer<SubResourceSummary.Builder>... subResources)If applicable, additional detail about the resource being attacked, for example, IP address or URL.AttackDetail.BuildersubResources(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
attackId
AttackDetail.Builder attackId(String 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
AttackDetail.Builder resourceArn(String 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
AttackDetail.Builder subResources(Collection<SubResourceSummary> 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
AttackDetail.Builder subResources(SubResourceSummary... 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
AttackDetail.Builder subResources(Consumer<SubResourceSummary.Builder>... 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.Builderavoiding the need to create one manually viaSubResourceSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#subResources(List.) - 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:
#subResources(java.util.Collection)
-
startTime
AttackDetail.Builder startTime(Instant 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
AttackDetail.Builder endTime(Instant 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
AttackDetail.Builder attackCounters(Collection<SummarizedCounter> 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
AttackDetail.Builder attackCounters(SummarizedCounter... 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
AttackDetail.Builder attackCounters(Consumer<SummarizedCounter.Builder>... attackCounters)
List of counters that describe the attack for the specified time period.
This is a convenience method that creates an instance of theSummarizedCounter.Builderavoiding the need to create one manually viaSummarizedCounter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#attackCounters(List.) - 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:
#attackCounters(java.util.Collection)
-
attackProperties
AttackDetail.Builder attackProperties(Collection<AttackProperty> 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
AttackDetail.Builder attackProperties(AttackProperty... 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
AttackDetail.Builder attackProperties(Consumer<AttackProperty.Builder>... 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.Builderavoiding the need to create one manually viaAttackProperty.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#attackProperties(List.) - 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:
#attackProperties(java.util.Collection)
-
mitigations
AttackDetail.Builder mitigations(Collection<Mitigation> 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
AttackDetail.Builder mitigations(Mitigation... 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
AttackDetail.Builder mitigations(Consumer<Mitigation.Builder>... mitigations)
List of mitigation actions taken for the attack.
This is a convenience method that creates an instance of theMitigation.Builderavoiding the need to create one manually viaMitigation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#mitigations(List.) - 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:
#mitigations(java.util.Collection)
-
-