public static interface AttackDetail.Builder extends 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 |
endTime(Instant endTime)
The time the attack ended, in the format 2016-12-16T13:50Z.
|
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 the format 2016-12-16T13:50Z.
|
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 the format 2016-12-16T13:50Z.
startTime
- The time the attack started, in the format 2016-12-16T13:50Z.AttackDetail.Builder endTime(Instant endTime)
The time the attack ended, in the format 2016-12-16T13:50Z.
endTime
- The time the attack ended, in the format 2016-12-16T13:50Z.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 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.