public static interface SubResourceSummary.Builder extends CopyableBuilder<SubResourceSummary.Builder,SubResourceSummary>
Modifier and Type | Method and Description |
---|---|
SubResourceSummary.Builder |
attackVectors(Collection<SummarizedAttackVector> attackVectors)
The list of attack types and associated counters.
|
SubResourceSummary.Builder |
attackVectors(Consumer<SummarizedAttackVector.Builder>... attackVectors)
The list of attack types and associated counters.
|
SubResourceSummary.Builder |
attackVectors(SummarizedAttackVector... attackVectors)
The list of attack types and associated counters.
|
SubResourceSummary.Builder |
counters(Collection<SummarizedCounter> counters)
The counters that describe the details of the attack.
|
SubResourceSummary.Builder |
counters(Consumer<SummarizedCounter.Builder>... counters)
The counters that describe the details of the attack.
|
SubResourceSummary.Builder |
counters(SummarizedCounter... counters)
The counters that describe the details of the attack.
|
SubResourceSummary.Builder |
id(String id)
The unique identifier (ID) of the
SubResource . |
SubResourceSummary.Builder |
type(String type)
The
SubResource type. |
SubResourceSummary.Builder |
type(SubResourceType type)
The
SubResource type. |
copy
applyMutation, build
SubResourceSummary.Builder type(String type)
The SubResource
type.
type
- The SubResource
type.SubResourceType
,
SubResourceType
SubResourceSummary.Builder type(SubResourceType type)
The SubResource
type.
type
- The SubResource
type.SubResourceType
,
SubResourceType
SubResourceSummary.Builder id(String id)
The unique identifier (ID) of the SubResource
.
id
- The unique identifier (ID) of the SubResource
.SubResourceSummary.Builder attackVectors(Collection<SummarizedAttackVector> attackVectors)
The list of attack types and associated counters.
attackVectors
- The list of attack types and associated counters.SubResourceSummary.Builder attackVectors(SummarizedAttackVector... attackVectors)
The list of attack types and associated counters.
attackVectors
- The list of attack types and associated counters.SubResourceSummary.Builder attackVectors(Consumer<SummarizedAttackVector.Builder>... attackVectors)
The list of attack types and associated counters.
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 #attackVectors(List)
.attackVectors
- a consumer that will call methods on List.Builder
#attackVectors(List)
SubResourceSummary.Builder counters(Collection<SummarizedCounter> counters)
The counters that describe the details of the attack.
counters
- The counters that describe the details of the attack.SubResourceSummary.Builder counters(SummarizedCounter... counters)
The counters that describe the details of the attack.
counters
- The counters that describe the details of the attack.SubResourceSummary.Builder counters(Consumer<SummarizedCounter.Builder>... counters)
The counters that describe the details of 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 #counters(List)
.counters
- a consumer that will call methods on List.Builder
#counters(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.