Interface AmiAggregationResponse.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AmiAggregationResponse.Builder,,AmiAggregationResponse> SdkBuilder<AmiAggregationResponse.Builder,,AmiAggregationResponse> SdkPojo
- Enclosing class:
AmiAggregationResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Web Services account ID for the AMI.affectedInstances(Long affectedInstances) The IDs of Amazon EC2 instances using this AMI.The ID of the AMI that findings were aggregated for.cloudAccountId(String cloudAccountId) The cloud account ID for the AMI aggregation.cloudOrgId(String cloudOrgId) The cloud organization ID for the AMI aggregation.cloudPartition(String cloudPartition) The cloud infrastructure partition associated with this AMI aggregation.cloudProvider(String cloudProvider) The cloud service provider associated with this Amazon Machine Image (AMI) aggregation.cloudProvider(Provider cloudProvider) The cloud service provider associated with this Amazon Machine Image (AMI) aggregation.cloudRegion(String cloudRegion) The cloud Region associated with this AMI aggregation.default AmiAggregationResponse.BuilderseverityCounts(Consumer<SeverityCounts.Builder> severityCounts) An object that contains the count of matched findings per severity.severityCounts(SeverityCounts severityCounts) An object that contains the count of matched findings per severity.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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.
-
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.
-
cloudProvider
The cloud service provider associated with this Amazon Machine Image (AMI) aggregation. Valid values:
-
AWS– Findings from Amazon Web Services resources. -
AZURE– Findings from Microsoft Azure resources.
- Parameters:
cloudProvider- The cloud service provider associated with this Amazon Machine Image (AMI) aggregation. Valid values:-
AWS– Findings from Amazon Web Services resources. -
AZURE– Findings from Microsoft Azure resources.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
cloudProvider
The cloud service provider associated with this Amazon Machine Image (AMI) aggregation. Valid values:
-
AWS– Findings from Amazon Web Services resources. -
AZURE– Findings from Microsoft Azure resources.
- Parameters:
cloudProvider- The cloud service provider associated with this Amazon Machine Image (AMI) aggregation. Valid values:-
AWS– Findings from Amazon Web Services resources. -
AZURE– Findings from Microsoft Azure resources.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
cloudPartition
The cloud infrastructure partition associated with this AMI aggregation. Valid values:
-
aws– Amazon Web Services commercial Regions. -
aws-cn– Amazon Web Services China Regions. -
aws-us-gov– Amazon Web Services GovCloud (US) Regions. -
AzureCloud– Azure commercial Regions.
- Parameters:
cloudPartition- The cloud infrastructure partition associated with this AMI aggregation. Valid values:-
aws– Amazon Web Services commercial Regions. -
aws-cn– Amazon Web Services China Regions. -
aws-us-gov– Amazon Web Services GovCloud (US) Regions. -
AzureCloud– Azure commercial Regions.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
cloudRegion
The cloud Region associated with this AMI aggregation. The value format depends on the cloud provider:
-
An Amazon Web Services Region, such as
us-east-1. -
An Azure region, such as
eastus.
- Parameters:
cloudRegion- The cloud Region associated with this AMI aggregation. The value format depends on the cloud provider:-
An Amazon Web Services Region, such as
us-east-1. -
An Azure region, such as
eastus.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
cloudOrgId
The cloud organization ID for the AMI aggregation.
- Parameters:
cloudOrgId- The cloud organization ID for the AMI aggregation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cloudAccountId
The cloud account ID for the AMI aggregation.
- Parameters:
cloudAccountId- The cloud account ID for the AMI aggregation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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:
-
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.
-