Interface SubResourceSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SubResourceSummary.Builder,
,SubResourceSummary> SdkBuilder<SubResourceSummary.Builder,
,SubResourceSummary> SdkPojo
- Enclosing class:
SubResourceSummary
public static interface SubResourceSummary.Builder
extends SdkPojo, CopyableBuilder<SubResourceSummary.Builder,SubResourceSummary>
-
Method Summary
Modifier and TypeMethodDescriptionattackVectors
(Collection<SummarizedAttackVector> attackVectors) The list of attack types and associated counters.attackVectors
(Consumer<SummarizedAttackVector.Builder>... attackVectors) The list of attack types and associated counters.attackVectors
(SummarizedAttackVector... attackVectors) The list of attack types and associated counters.counters
(Collection<SummarizedCounter> counters) The counters that describe the details of the attack.counters
(Consumer<SummarizedCounter.Builder>... counters) The counters that describe the details of the attack.counters
(SummarizedCounter... counters) The counters that describe the details of the attack.The unique identifier (ID) of theSubResource
.TheSubResource
type.type
(SubResourceType type) TheSubResource
type.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
-
type
The
SubResource
type.- Parameters:
type
- TheSubResource
type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The
SubResource
type.- Parameters:
type
- TheSubResource
type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
id
The unique identifier (ID) of the
SubResource
.- Parameters:
id
- The unique identifier (ID) of theSubResource
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attackVectors
The list of attack types and associated counters.
- Parameters:
attackVectors
- The list of attack types and associated counters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attackVectors
The list of attack types and associated counters.
- Parameters:
attackVectors
- The list of attack types and associated counters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attackVectors
The list of attack types and associated counters.
This is a convenience method that creates an instance of theSummarizedAttackVector.Builder
avoiding the need to create one manually viaSummarizedAttackVector.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toattackVectors(List<SummarizedAttackVector>)
.- Parameters:
attackVectors
- a consumer that will call methods onSummarizedAttackVector.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
counters
The counters that describe the details of the attack.
- Parameters:
counters
- The counters that describe the details of the attack.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
counters
The counters that describe the details of the attack.
- Parameters:
counters
- The counters that describe the details of the attack.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
counters
The counters that describe the details of the attack.
This is a convenience method that creates an instance of theSummarizedCounter.Builder
avoiding the need to create one manually viaSummarizedCounter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocounters(List<SummarizedCounter>)
.- Parameters:
counters
- a consumer that will call methods onSummarizedCounter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-