Interface AmiAggregationResponse.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AmiAggregationResponse.Builder,AmiAggregationResponse>,SdkBuilder<AmiAggregationResponse.Builder,AmiAggregationResponse>,SdkPojo
- Enclosing class:
- AmiAggregationResponse
public static interface AmiAggregationResponse.Builder extends SdkPojo, CopyableBuilder<AmiAggregationResponse.Builder,AmiAggregationResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AmiAggregationResponse.BuilderaccountId(String accountId)The Amazon Web Services account ID for the AMI.AmiAggregationResponse.BuilderaffectedInstances(Long affectedInstances)The IDs of Amazon EC2 instances using this AMI.AmiAggregationResponse.Builderami(String ami)The ID of the AMI that findings were aggregated for.default AmiAggregationResponse.BuilderseverityCounts(Consumer<SeverityCounts.Builder> severityCounts)An object that contains the count of matched findings per severity.AmiAggregationResponse.BuilderseverityCounts(SeverityCounts severityCounts)An object that contains the count of matched findings per severity.-
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 Detail
-
accountId
AmiAggregationResponse.Builder accountId(String accountId)
The Amazon Web Services account ID for the AMI.
- Parameters:
accountId- The Amazon Web Services account ID for the AMI.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
affectedInstances
AmiAggregationResponse.Builder affectedInstances(Long affectedInstances)
The IDs of Amazon EC2 instances using this AMI.
- Parameters:
affectedInstances- The IDs of Amazon EC2 instances using this AMI.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ami
AmiAggregationResponse.Builder ami(String ami)
The ID of the AMI that findings were aggregated for.
- Parameters:
ami- The ID of the AMI that findings were aggregated for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
severityCounts
AmiAggregationResponse.Builder severityCounts(SeverityCounts severityCounts)
An object that contains the count of matched findings per severity.
- Parameters:
severityCounts- An object that contains the count of matched findings per severity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
severityCounts
default AmiAggregationResponse.Builder severityCounts(Consumer<SeverityCounts.Builder> severityCounts)
An object that contains the count of matched findings per severity.
This is a convenience method that creates an instance of theSeverityCounts.Builderavoiding the need to create one manually viaSeverityCounts.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toseverityCounts(SeverityCounts).- Parameters:
severityCounts- a consumer that will call methods onSeverityCounts.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
severityCounts(SeverityCounts)
-
-