Class InventoryAggregateGroup
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<InventoryAggregateGroup.Builder,InventoryAggregateGroup>
A group in an aggregate result. For EXPIRY_WINDOW, Value is absent, and MinDays and MaxDays bound the window. The expired group has MaxDays -1 and no MinDays. The 91 or more group has MinDays 91 and no MaxDays. For ranked aggregates, MinDays and MaxDays are absent.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final Longcount()The number of certificates in the group.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final IntegermaxDays()Inclusive upper bound, in whole days remaining.final IntegerminDays()Inclusive lower bound, in whole days remaining.static Class<? extends InventoryAggregateGroup.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 Stringvalue()The group key for a ranked aggregate:Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
value
The group key for a ranked aggregate:
- ISSUANCE_TYPE: the IssuanceType value.
- REGION: the Region code.
- IN_USE: "true" or "false".
- KEY_ALGORITHM: the InventoryKeyAlgorithm value.
- HIGHEST_FINDING_SEVERITY: the CertificateHealthSeverity value.
Absent for EXPIRY_WINDOW. Clients must accept values they do not know. 1 to 256 characters.
- Returns:
- The group key for a ranked aggregate:
- ISSUANCE_TYPE: the IssuanceType value.
- REGION: the Region code.
- IN_USE: "true" or "false".
- KEY_ALGORITHM: the InventoryKeyAlgorithm value.
- HIGHEST_FINDING_SEVERITY: the CertificateHealthSeverity value.
Absent for EXPIRY_WINDOW. Clients must accept values they do not know. 1 to 256 characters.
-
count
The number of certificates in the group.
- Returns:
- The number of certificates in the group.
-
minDays
Inclusive lower bound, in whole days remaining. Absent on the expired EXPIRY_WINDOW group, which has MaxDays -1.
- Returns:
- Inclusive lower bound, in whole days remaining. Absent on the expired EXPIRY_WINDOW group, which has MaxDays -1.
-
maxDays
Inclusive upper bound, in whole days remaining. On the expired EXPIRY_WINDOW group, it is -1. This means the certificate had already expired: its NotAfter is before the result's UpdatedAt. That group has no MinDays. -1 is the only negative value. Absent on the 91 or more group.
- Returns:
- Inclusive upper bound, in whole days remaining. On the expired EXPIRY_WINDOW group, it is -1. This means the certificate had already expired: its NotAfter is before the result's UpdatedAt. That group has no MinDays. -1 is the only negative value. Absent on the 91 or more group.
-
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<InventoryAggregateGroup.Builder,InventoryAggregateGroup> - 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.
-