Class InventoryCertificate
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<InventoryCertificate.Builder,InventoryCertificate>
One certificate observed in the organization's accounts. This is a record of what was observed, not an AWS resource.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic InventoryCertificate.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final FindingCountsCounts of open findings by severity.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()The certificate's health.final StringThe certificate's health.final StringThe certificate's identifier in the inventory.identity()Who or what the certificate identifies.final MaterialTypeThe kind of certificate.final StringThe kind of certificate.final LongHow many related resources the certificate has.static Class<? extends InventoryCertificate.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final LongHow many places the certificate was observed in use, counted when the certificate was last collected.final ValidityWindowvalidity()When the certificate is valid.final InventoryX509DetailsDetails of an X.509 certificate.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
identifier
The certificate's identifier in the inventory.
- Returns:
- The certificate's identifier in the inventory.
-
materialType
The kind of certificate.
If the service returns an enum value that is not available in the current SDK version,
materialTypewill returnMaterialType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommaterialTypeAsString().- Returns:
- The kind of certificate.
- See Also:
-
materialTypeAsString
The kind of certificate.
If the service returns an enum value that is not available in the current SDK version,
materialTypewill returnMaterialType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommaterialTypeAsString().- Returns:
- The kind of certificate.
- See Also:
-
validity
When the certificate is valid.
- Returns:
- When the certificate is valid.
-
identity
Who or what the certificate identifies.
- Returns:
- Who or what the certificate identifies.
-
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:
- 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.
-
findingCounts
Counts of open findings by severity. Absent until findings have been evaluated for this certificate.
- Returns:
- Counts of open findings by severity. Absent until findings have been evaluated for this certificate.
-
x509Details
Details of an X.509 certificate. Present when MaterialType is X509_CERTIFICATE.
- Returns:
- Details of an X.509 certificate. Present when MaterialType is X509_CERTIFICATE.
-
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.
If the service returns an enum value that is not available in the current SDK version,
highestFindingSeveritywill returnCertificateHealthSeverity.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromhighestFindingSeverityAsString().- Returns:
- 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.
- See Also:
-
highestFindingSeverityAsString
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.
If the service returns an enum value that is not available in the current SDK version,
highestFindingSeveritywill returnCertificateHealthSeverity.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromhighestFindingSeverityAsString().- Returns:
- 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.
- See Also:
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<InventoryCertificate.Builder,InventoryCertificate> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-