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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SubResourceSummary.BuilderattackVectors(Collection<SummarizedAttackVector> attackVectors)The list of attack types and associated counters.SubResourceSummary.BuilderattackVectors(Consumer<SummarizedAttackVector.Builder>... attackVectors)The list of attack types and associated counters.SubResourceSummary.BuilderattackVectors(SummarizedAttackVector... attackVectors)The list of attack types and associated counters.SubResourceSummary.Buildercounters(Collection<SummarizedCounter> counters)The counters that describe the details of the attack.SubResourceSummary.Buildercounters(Consumer<SummarizedCounter.Builder>... counters)The counters that describe the details of the attack.SubResourceSummary.Buildercounters(SummarizedCounter... counters)The counters that describe the details of the attack.SubResourceSummary.Builderid(String id)The unique identifier (ID) of theSubResource.SubResourceSummary.Buildertype(String type)TheSubResourcetype.SubResourceSummary.Buildertype(SubResourceType type)TheSubResourcetype.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
type
SubResourceSummary.Builder type(String type)
The
SubResourcetype.- Parameters:
type- TheSubResourcetype.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SubResourceType,SubResourceType
-
type
SubResourceSummary.Builder type(SubResourceType type)
The
SubResourcetype.- Parameters:
type- TheSubResourcetype.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SubResourceType,SubResourceType
-
id
SubResourceSummary.Builder id(String 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
SubResourceSummary.Builder attackVectors(Collection<SummarizedAttackVector> 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
SubResourceSummary.Builder attackVectors(SummarizedAttackVector... 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
SubResourceSummary.Builder attackVectors(Consumer<SummarizedAttackVector.Builder>... attackVectors)
The list of attack types and associated counters.
This is a convenience method that creates an instance of theSummarizedAttackVector.Builderavoiding the need to create one manually viaSummarizedAttackVector.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 onSummarizedAttackVector.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#attackVectors(java.util.Collection)
-
counters
SubResourceSummary.Builder counters(Collection<SummarizedCounter> 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
SubResourceSummary.Builder counters(SummarizedCounter... 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
SubResourceSummary.Builder counters(Consumer<SummarizedCounter.Builder>... counters)
The counters that describe the details of the attack.
This is a convenience method that creates an instance of theSummarizedCounter.Builderavoiding the need to create one manually viaSummarizedCounter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#counters(List.) - 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:
#counters(java.util.Collection)
-
-