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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AttackSummary.BuilderattackId(String attackId)The unique identifier (ID) of the attack.AttackSummary.BuilderattackVectors(Collection<AttackVectorDescription> attackVectors)The list of attacks for a specified time period.AttackSummary.BuilderattackVectors(Consumer<AttackVectorDescription.Builder>... attackVectors)The list of attacks for a specified time period.AttackSummary.BuilderattackVectors(AttackVectorDescription... attackVectors)The list of attacks for a specified time period.AttackSummary.BuilderendTime(Instant endTime)The end time of the attack, in Unix time in seconds.AttackSummary.BuilderresourceArn(String resourceArn)The ARN (Amazon Resource Name) of the resource that was attacked.AttackSummary.BuilderstartTime(Instant startTime)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 Detail
-
attackId
AttackSummary.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
AttackSummary.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.
-
startTime
AttackSummary.Builder startTime(Instant 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
AttackSummary.Builder endTime(Instant 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
AttackSummary.Builder attackVectors(Collection<AttackVectorDescription> 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
AttackSummary.Builder attackVectors(AttackVectorDescription... 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
AttackSummary.Builder attackVectors(Consumer<AttackVectorDescription.Builder>... attackVectors)
The list of attacks for a specified time period.
This is a convenience method that creates an instance of theAttackVectorDescription.Builderavoiding the need to create one manually viaAttackVectorDescription.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#attackVectors(List.) - 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:
#attackVectors(java.util.Collection)
-
-