Interface AttackSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AttackSummary.Builder,
,AttackSummary> SdkBuilder<AttackSummary.Builder,
,AttackSummary> SdkPojo
- Enclosing class:
AttackSummary
public static interface AttackSummary.Builder
extends SdkPojo, CopyableBuilder<AttackSummary.Builder,AttackSummary>
-
Method Summary
Modifier and TypeMethodDescriptionThe unique identifier (ID) of the attack.attackVectors
(Collection<AttackVectorDescription> attackVectors) The list of attacks for a specified time period.attackVectors
(Consumer<AttackVectorDescription.Builder>... attackVectors) The list of attacks for a specified time period.attackVectors
(AttackVectorDescription... attackVectors) The list of attacks for a specified time period.The end time of the attack, in Unix time in seconds.resourceArn
(String resourceArn) The ARN (Amazon Resource Name) of the resource that was attacked.The start time of the attack, in Unix time in seconds.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.
-
startTime
The start time of the attack, in Unix time in seconds.
- Parameters:
startTime
- The start time of the attack, in Unix time in seconds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
The end time of the attack, in Unix time in seconds.
- Parameters:
endTime
- The end time of the attack, in Unix time in seconds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attackVectors
The list of attacks for a specified time period.
- Parameters:
attackVectors
- The list of attacks for a specified time period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attackVectors
The list of attacks for a specified time period.
- Parameters:
attackVectors
- The list of attacks for a specified time period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attackVectors
The list of attacks for a specified time period.
This is a convenience method that creates an instance of theAttackVectorDescription.Builder
avoiding the need to create one manually viaAttackVectorDescription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toattackVectors(List<AttackVectorDescription>)
.- Parameters:
attackVectors
- a consumer that will call methods onAttackVectorDescription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-