public static interface AttackDetail.Builder extends SdkPojo, CopyableBuilder<AttackDetail.Builder,AttackDetail>
Modifier and Type | Method and Description |
---|---|
AttackDetail.Builder |
attackCounters(Collection<SummarizedCounter> attackCounters)
List of counters that describe the attack for the specified time period.
|
AttackDetail.Builder |
attackCounters(Consumer<SummarizedCounter.Builder>... attackCounters)
List of counters that describe the attack for the specified time period.
|
AttackDetail.Builder |
attackCounters(SummarizedCounter... attackCounters)
List of counters that describe the attack for the specified time period.
|
AttackDetail.Builder |
attackId(String attackId)
The unique identifier (ID) of the attack.
|
AttackDetail.Builder |
attackProperties(AttackProperty... attackProperties)
The array of AttackProperty objects.
|
AttackDetail.Builder |
attackProperties(Collection<AttackProperty> attackProperties)
The array of AttackProperty objects.
|
AttackDetail.Builder |
attackProperties(Consumer<AttackProperty.Builder>... attackProperties)
The array of AttackProperty objects.
|
AttackDetail.Builder |
endTime(Instant endTime)
The time the attack ended, in Unix time in seconds.
|
AttackDetail.Builder |
mitigations(Collection<Mitigation> mitigations)
List of mitigation actions taken for the attack.
|
AttackDetail.Builder |
mitigations(Consumer<Mitigation.Builder>... mitigations)
List of mitigation actions taken for the attack.
|
AttackDetail.Builder |
mitigations(Mitigation... mitigations)
List of mitigation actions taken for the attack.
|
AttackDetail.Builder |
resourceArn(String resourceArn)
The ARN (Amazon Resource Name) of the resource that was attacked.
|
AttackDetail.Builder |
startTime(Instant startTime)
The time the attack started, in Unix time in seconds.
|
AttackDetail.Builder |
subResources(Collection<SubResourceSummary> subResources)
If applicable, additional detail about the resource being attacked, for example, IP address or URL.
|
AttackDetail.Builder |
subResources(Consumer<SubResourceSummary.Builder>... subResources)
If applicable, additional detail about the resource being attacked, for example, IP address or URL.
|
AttackDetail.Builder |
subResources(SubResourceSummary... subResources)
If applicable, additional detail about the resource being attacked, for example, IP address or URL.
|
copy
applyMutation, build
AttackDetail.Builder attackId(String attackId)
The unique identifier (ID) of the attack.
attackId
- The unique identifier (ID) of the attack.AttackDetail.Builder resourceArn(String resourceArn)
The ARN (Amazon Resource Name) of the resource that was attacked.
resourceArn
- The ARN (Amazon Resource Name) of the resource that was attacked.AttackDetail.Builder subResources(Collection<SubResourceSummary> subResources)
If applicable, additional detail about the resource being attacked, for example, IP address or URL.
subResources
- If applicable, additional detail about the resource being attacked, for example, IP address or URL.AttackDetail.Builder subResources(SubResourceSummary... subResources)
If applicable, additional detail about the resource being attacked, for example, IP address or URL.
subResources
- If applicable, additional detail about the resource being attacked, for example, IP address or URL.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 that creates an instance of theList.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately
and its result is passed to #subResources(List)
.subResources
- a consumer that will call methods on List.Builder
#subResources(List)
AttackDetail.Builder startTime(Instant startTime)
The time the attack started, in Unix time in seconds. For more information see timestamp.
startTime
- The time the attack started, in Unix time in seconds. For more information see timestamp.AttackDetail.Builder endTime(Instant endTime)
The time the attack ended, in Unix time in seconds. For more information see timestamp.
endTime
- The time the attack ended, in Unix time in seconds. For more information see timestamp.AttackDetail.Builder attackCounters(Collection<SummarizedCounter> attackCounters)
List of counters that describe the attack for the specified time period.
attackCounters
- List of counters that describe the attack for the specified time period.AttackDetail.Builder attackCounters(SummarizedCounter... attackCounters)
List of counters that describe the attack for the specified time period.
attackCounters
- List of counters that describe the attack for the specified time period.AttackDetail.Builder attackCounters(Consumer<SummarizedCounter.Builder>... attackCounters)
List of counters that describe the attack for the specified time period.
This is a convenience that creates an instance of theList.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately
and its result is passed to #attackCounters(List)
.attackCounters
- a consumer that will call methods on List.Builder
#attackCounters(List)
AttackDetail.Builder attackProperties(Collection<AttackProperty> attackProperties)
The array of AttackProperty objects.
attackProperties
- The array of AttackProperty objects.AttackDetail.Builder attackProperties(AttackProperty... attackProperties)
The array of AttackProperty objects.
attackProperties
- The array of AttackProperty objects.AttackDetail.Builder attackProperties(Consumer<AttackProperty.Builder>... attackProperties)
The array of AttackProperty objects.
This is a convenience that creates an instance of theList.Builder
avoiding the need
to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #attackProperties(List)
.attackProperties
- a consumer that will call methods on List.Builder
#attackProperties(List)
AttackDetail.Builder mitigations(Collection<Mitigation> mitigations)
List of mitigation actions taken for the attack.
mitigations
- List of mitigation actions taken for the attack.AttackDetail.Builder mitigations(Mitigation... mitigations)
List of mitigation actions taken for the attack.
mitigations
- List of mitigation actions taken for the attack.AttackDetail.Builder mitigations(Consumer<Mitigation.Builder>... mitigations)
List of mitigation actions taken for the attack.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #mitigations(List)
.mitigations
- a consumer that will call methods on List.Builder
#mitigations(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.