Interface InventoryCertificate.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<InventoryCertificate.Builder,,InventoryCertificate> SdkBuilder<InventoryCertificate.Builder,,InventoryCertificate> SdkPojo
- Enclosing class:
InventoryCertificate
-
Method Summary
Modifier and TypeMethodDescriptiondefault InventoryCertificate.BuilderfindingCounts(Consumer<FindingCounts.Builder> findingCounts) Counts of open findings by severity.findingCounts(FindingCounts findingCounts) Counts of open findings by severity.highestFindingSeverity(String highestFindingSeverity) The certificate's health.highestFindingSeverity(CertificateHealthSeverity highestFindingSeverity) The certificate's health.identifier(String identifier) The certificate's identifier in the inventory.default InventoryCertificate.Builderidentity(Consumer<InventoryCertificateIdentity.Builder> identity) Who or what the certificate identifies.identity(InventoryCertificateIdentity identity) Who or what the certificate identifies.materialType(String materialType) The kind of certificate.materialType(MaterialType materialType) The kind of certificate.relatedResourceCount(Long relatedResourceCount) How many related resources the certificate has.usageCount(Long usageCount) How many places the certificate was observed in use, counted when the certificate was last collected.default InventoryCertificate.Buildervalidity(Consumer<ValidityWindow.Builder> validity) When the certificate is valid.validity(ValidityWindow validity) When the certificate is valid.default InventoryCertificate.Builderx509Details(Consumer<InventoryX509Details.Builder> x509Details) Details of an X.509 certificate.x509Details(InventoryX509Details x509Details) Details of an X.509 certificate.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
-
identifier
The certificate's identifier in the inventory.
- Parameters:
identifier- The certificate's identifier in the inventory.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
materialType
The kind of certificate.
- Parameters:
materialType- The kind of certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
materialType
The kind of certificate.
- Parameters:
materialType- The kind of certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
validity
When the certificate is valid.
- Parameters:
validity- When the certificate is valid.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
validity
When the certificate is valid.
This is a convenience method that creates an instance of theValidityWindow.Builderavoiding the need to create one manually viaValidityWindow.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovalidity(ValidityWindow).- Parameters:
validity- a consumer that will call methods onValidityWindow.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
identity
Who or what the certificate identifies.
- Parameters:
identity- Who or what the certificate identifies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identity
default InventoryCertificate.Builder identity(Consumer<InventoryCertificateIdentity.Builder> identity) Who or what the certificate identifies.
This is a convenience method that creates an instance of theInventoryCertificateIdentity.Builderavoiding the need to create one manually viaInventoryCertificateIdentity.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toidentity(InventoryCertificateIdentity).- Parameters:
identity- a consumer that will call methods onInventoryCertificateIdentity.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
usageCount
How many places the certificate was observed in use, counted when the certificate was last collected. It can lag the TotalCount of ListInventoryUsages. It can also differ from InUseByCount in a related ACM certificate's metadata. InUseByCount is the length of the InUseBy list in ACM when the inventory last read it, not what the inventory observed.
- Parameters:
usageCount- How many places the certificate was observed in use, counted when the certificate was last collected. It can lag the TotalCount of ListInventoryUsages. It can also differ from InUseByCount in a related ACM certificate's metadata. InUseByCount is the length of the InUseBy list in ACM when the inventory last read it, not what the inventory observed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findingCounts
Counts of open findings by severity. Absent until findings have been evaluated for this certificate.
- Parameters:
findingCounts- Counts of open findings by severity. Absent until findings have been evaluated for this certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findingCounts
Counts of open findings by severity. Absent until findings have been evaluated for this certificate.
This is a convenience method that creates an instance of theFindingCounts.Builderavoiding the need to create one manually viaFindingCounts.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofindingCounts(FindingCounts).- Parameters:
findingCounts- a consumer that will call methods onFindingCounts.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
x509Details
Details of an X.509 certificate. Present when MaterialType is X509_CERTIFICATE.
- Parameters:
x509Details- Details of an X.509 certificate. Present when MaterialType is X509_CERTIFICATE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
x509Details
default InventoryCertificate.Builder x509Details(Consumer<InventoryX509Details.Builder> x509Details) Details of an X.509 certificate. Present when MaterialType is X509_CERTIFICATE.
This is a convenience method that creates an instance of theInventoryX509Details.Builderavoiding the need to create one manually viaInventoryX509Details.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tox509Details(InventoryX509Details).- Parameters:
x509Details- a consumer that will call methods onInventoryX509Details.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
highestFindingSeverity
The certificate's health. CRITICAL to INFORMATIONAL is the highest severity among the open findings of the series in which the certificate is a current certificate. HEALTHY means rules apply and none has an open finding. NOT_APPLICABLE means no rule applies to the certificate. NOT_EVALUATED means its findings have not been evaluated yet. SearchInventory returns it for every certificate.
- Parameters:
highestFindingSeverity- The certificate's health. CRITICAL to INFORMATIONAL is the highest severity among the open findings of the series in which the certificate is a current certificate. HEALTHY means rules apply and none has an open finding. NOT_APPLICABLE means no rule applies to the certificate. NOT_EVALUATED means its findings have not been evaluated yet. SearchInventory returns it for every certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
highestFindingSeverity
InventoryCertificate.Builder highestFindingSeverity(CertificateHealthSeverity highestFindingSeverity) The certificate's health. CRITICAL to INFORMATIONAL is the highest severity among the open findings of the series in which the certificate is a current certificate. HEALTHY means rules apply and none has an open finding. NOT_APPLICABLE means no rule applies to the certificate. NOT_EVALUATED means its findings have not been evaluated yet. SearchInventory returns it for every certificate.
- Parameters:
highestFindingSeverity- The certificate's health. CRITICAL to INFORMATIONAL is the highest severity among the open findings of the series in which the certificate is a current certificate. HEALTHY means rules apply and none has an open finding. NOT_APPLICABLE means no rule applies to the certificate. NOT_EVALUATED means its findings have not been evaluated yet. SearchInventory returns it for every certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-