Interface ContainerImageAggregationResponse.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ContainerImageAggregationResponse.Builder,,ContainerImageAggregationResponse> SdkBuilder<ContainerImageAggregationResponse.Builder,,ContainerImageAggregationResponse> SdkPojo
- Enclosing class:
ContainerImageAggregationResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe account ID associated with the container image.architecture(String architecture) The architecture of the container image.cloudAccountId(String cloudAccountId) The cloud account ID for the container image aggregation.cloudOrgId(String cloudOrgId) The cloud organization ID for the container image aggregation.cloudPartition(String cloudPartition) The cloud infrastructure partition associated with this container image aggregation.cloudProvider(String cloudProvider) The cloud service provider associated with this container image aggregation.cloudProvider(Provider cloudProvider) The cloud service provider associated with this container image aggregation.cloudRegion(String cloudRegion) The cloud Region associated with this container image aggregation.exploitAvailableActiveFindingsCount(Long exploitAvailableActiveFindingsCount) The number of active findings with an exploit available for the container image.fixAvailableActiveFindingsCount(Long fixAvailableActiveFindingsCount) The number of active findings with a fix available for the container image.imageDigest(String imageDigest) The image digest for the container image.The image tags attached to the container image.imageTags(Collection<String> imageTags) The image tags attached to the container image.inUseCount(Long inUseCount) The number of times the container image is in use.lastInUseAt(Instant lastInUseAt) The last time the container image was in use.The registry for the container image.repository(String repository) The repository for the container image.resourceId(String resourceId) The resource ID for the container image.severityCounts(Consumer<SeverityCounts.Builder> severityCounts) Sets the value of the SeverityCounts property for this object.severityCounts(SeverityCounts severityCounts) Sets the value of the SeverityCounts property for this object.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
-
resourceId
The resource ID for the container image.
- Parameters:
resourceId- The resource ID for the container image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cloudProvider
The cloud service provider associated with this container image 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 container image 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 container image 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 container image 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:
-
-
cloudAccountId
The cloud account ID for the container image aggregation.
- Parameters:
cloudAccountId- The cloud account ID for the container image aggregation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cloudPartition
The cloud infrastructure partition associated with this container image 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 container image 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 container image 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 container image 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 container image aggregation.
- Parameters:
cloudOrgId- The cloud organization ID for the container image aggregation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
imageDigest
The image digest for the container image.
- Parameters:
imageDigest- The image digest for the container image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
repository
The repository for the container image.
- Parameters:
repository- The repository for the container image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
registry
The registry for the container image.
- Parameters:
registry- The registry for the container image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
architecture
The architecture of the container image.
- Parameters:
architecture- The architecture of the container image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
imageTags
The image tags attached to the container image.
- Parameters:
imageTags- The image tags attached to the container image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
imageTags
The image tags attached to the container image.
- Parameters:
imageTags- The image tags attached to the container image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountId
The account ID associated with the container image.
- Parameters:
accountId- The account ID associated with the container image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
severityCounts
Sets the value of the SeverityCounts property for this object.- Parameters:
severityCounts- The new value for the SeverityCounts property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
severityCounts
default ContainerImageAggregationResponse.Builder severityCounts(Consumer<SeverityCounts.Builder> severityCounts) Sets the value of the SeverityCounts property for this object. 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:
-
lastInUseAt
The last time the container image was in use.
- Parameters:
lastInUseAt- The last time the container image was in use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inUseCount
The number of times the container image is in use.
- Parameters:
inUseCount- The number of times the container image is in use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exploitAvailableActiveFindingsCount
ContainerImageAggregationResponse.Builder exploitAvailableActiveFindingsCount(Long exploitAvailableActiveFindingsCount) The number of active findings with an exploit available for the container image.
- Parameters:
exploitAvailableActiveFindingsCount- The number of active findings with an exploit available for the container image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fixAvailableActiveFindingsCount
ContainerImageAggregationResponse.Builder fixAvailableActiveFindingsCount(Long fixAvailableActiveFindingsCount) The number of active findings with a fix available for the container image.
- Parameters:
fixAvailableActiveFindingsCount- The number of active findings with a fix available for the container image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-