Interface InventoryAggregateResult.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<InventoryAggregateResult.Builder,,InventoryAggregateResult> SdkBuilder<InventoryAggregateResult.Builder,,InventoryAggregateResult> SdkPojo
- Enclosing class:
InventoryAggregateResult
-
Method Summary
Modifier and TypeMethodDescriptionThe aggregate this result reports.aggregate(InventoryAggregate aggregate) The aggregate this result reports.certificateTypeGroups(Collection<InventoryCertificateTypeGroup> certificateTypeGroups) The severity groups of each certificate type.certificateTypeGroups(Consumer<InventoryCertificateTypeGroup.Builder>... certificateTypeGroups) The severity groups of each certificate type.certificateTypeGroups(InventoryCertificateTypeGroup... certificateTypeGroups) The severity groups of each certificate type.groups(Collection<InventoryAggregateGroup> groups) Present only when Status is COMPLETE.groups(Consumer<InventoryAggregateGroup.Builder>... groups) Present only when Status is COMPLETE.groups(InventoryAggregateGroup... groups) Present only when Status is COMPLETE.otherCount(Long otherCount) The total count of certificates in ranked groups beyond the 100 returned.COMPLETE results include Groups; FAILED results omit them.status(InventoryAggregateStatus status) COMPLETE results include Groups; FAILED results omit them.When this aggregate's counts were last recomputed, in UTC.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
-
aggregate
The aggregate this result reports.
- Parameters:
aggregate- The aggregate this result reports.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
aggregate
The aggregate this result reports.
- Parameters:
aggregate- The aggregate this result reports.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
COMPLETE results include Groups; FAILED results omit them.
- Parameters:
status- COMPLETE results include Groups; FAILED results omit them.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
COMPLETE results include Groups; FAILED results omit them.
- Parameters:
status- COMPLETE results include Groups; FAILED results omit them.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
updatedAt
When this aggregate's counts were last recomputed, in UTC. EXPIRY_WINDOW measures days remaining from this time. Absent when Status is FAILED, or when the organization's counts have not been computed yet.
- Parameters:
updatedAt- When this aggregate's counts were last recomputed, in UTC. EXPIRY_WINDOW measures days remaining from this time. Absent when Status is FAILED, or when the organization's counts have not been computed yet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groups
Present only when Status is COMPLETE. Can be empty for a ranked aggregate.
- Parameters:
groups- Present only when Status is COMPLETE. Can be empty for a ranked aggregate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groups
Present only when Status is COMPLETE. Can be empty for a ranked aggregate.
- Parameters:
groups- Present only when Status is COMPLETE. Can be empty for a ranked aggregate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groups
Present only when Status is COMPLETE. Can be empty for a ranked aggregate.
This is a convenience method that creates an instance of theInventoryAggregateGroup.Builderavoiding the need to create one manually viaInventoryAggregateGroup.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togroups(List<InventoryAggregateGroup>).- Parameters:
groups- a consumer that will call methods onInventoryAggregateGroup.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
otherCount
The total count of certificates in ranked groups beyond the 100 returned. Absent when every group was returned.
- Parameters:
otherCount- The total count of certificates in ranked groups beyond the 100 returned. Absent when every group was returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
certificateTypeGroups
InventoryAggregateResult.Builder certificateTypeGroups(Collection<InventoryCertificateTypeGroup> certificateTypeGroups) The severity groups of each certificate type. Present only on a COMPLETE HIGHEST_FINDING_SEVERITY result requested with GroupBy CERTIFICATE_TYPE. Groups still holds the severity groups of all certificate types. A certificate type with no certificates is omitted. The rest are ordered alphabetically by CertificateType value.
- Parameters:
certificateTypeGroups- The severity groups of each certificate type. Present only on a COMPLETE HIGHEST_FINDING_SEVERITY result requested with GroupBy CERTIFICATE_TYPE. Groups still holds the severity groups of all certificate types. A certificate type with no certificates is omitted. The rest are ordered alphabetically by CertificateType value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
certificateTypeGroups
InventoryAggregateResult.Builder certificateTypeGroups(InventoryCertificateTypeGroup... certificateTypeGroups) The severity groups of each certificate type. Present only on a COMPLETE HIGHEST_FINDING_SEVERITY result requested with GroupBy CERTIFICATE_TYPE. Groups still holds the severity groups of all certificate types. A certificate type with no certificates is omitted. The rest are ordered alphabetically by CertificateType value.
- Parameters:
certificateTypeGroups- The severity groups of each certificate type. Present only on a COMPLETE HIGHEST_FINDING_SEVERITY result requested with GroupBy CERTIFICATE_TYPE. Groups still holds the severity groups of all certificate types. A certificate type with no certificates is omitted. The rest are ordered alphabetically by CertificateType value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
certificateTypeGroups
InventoryAggregateResult.Builder certificateTypeGroups(Consumer<InventoryCertificateTypeGroup.Builder>... certificateTypeGroups) The severity groups of each certificate type. Present only on a COMPLETE HIGHEST_FINDING_SEVERITY result requested with GroupBy CERTIFICATE_TYPE. Groups still holds the severity groups of all certificate types. A certificate type with no certificates is omitted. The rest are ordered alphabetically by CertificateType value.
This is a convenience method that creates an instance of theInventoryCertificateTypeGroup.Builderavoiding the need to create one manually viaInventoryCertificateTypeGroup.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocertificateTypeGroups(List<InventoryCertificateTypeGroup>).- Parameters:
certificateTypeGroups- a consumer that will call methods onInventoryCertificateTypeGroup.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-