Class InventoryExpiryNotification
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<InventoryExpiryNotification.Builder,InventoryExpiryNotification>
Certificate expiry notifications for the organization. A notification is sent at the chosen Frequency for each certificate that is not expired or revoked and whose NotAfter is within LeadTimeDays.
With Enabled true, the topic must be a standard (non-FIFO) Amazon SNS topic in the management account and the home Region. It must also be in the partition of the endpoint you call. PutInventoryConfiguration checks only the ARN. Each save with Enabled true verifies the topic again after the call returns. Nothing is delivered until LastDeliveryStatus is VERIFIED.
Notifications are sent only while inventory Status is ENABLED. The setting is returned as saved.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()channel()Where notifications are delivered.final StringWhere notifications are delivered.final Booleanenabled()Whether notifications are sent.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.How often a notification is sent for a certificate within LeadTimeDays.final StringHow often a notification is sent for a certificate within LeadTimeDays.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final IntegerDays before NotAfter that notifications start: 7, 30, 60, or 90.static Class<? extends InventoryExpiryNotification.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtopicArn()The Amazon SNS topic to publish to.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
enabled
Whether notifications are sent. Defaults to false. When true, Channel and TopicArn are required.
- Returns:
- Whether notifications are sent. Defaults to false. When true, Channel and TopicArn are required.
-
channel
Where notifications are delivered. Set together with TopicArn.
If the service returns an enum value that is not available in the current SDK version,
channelwill returnInventoryNotificationChannel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromchannelAsString().- Returns:
- Where notifications are delivered. Set together with TopicArn.
- See Also:
-
channelAsString
Where notifications are delivered. Set together with TopicArn.
If the service returns an enum value that is not available in the current SDK version,
channelwill returnInventoryNotificationChannel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromchannelAsString().- Returns:
- Where notifications are delivered. Set together with TopicArn.
- See Also:
-
topicArn
The Amazon SNS topic to publish to. Set together with Channel.
- Returns:
- The Amazon SNS topic to publish to. Set together with Channel.
-
leadTimeDays
Days before NotAfter that notifications start: 7, 30, 60, or 90. Defaults to 7.
- Returns:
- Days before NotAfter that notifications start: 7, 30, 60, or 90. Defaults to 7.
-
frequency
How often a notification is sent for a certificate within LeadTimeDays. Defaults to ONCE.
If the service returns an enum value that is not available in the current SDK version,
frequencywill returnInventoryNotificationFrequency.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfrequencyAsString().- Returns:
- How often a notification is sent for a certificate within LeadTimeDays. Defaults to ONCE.
- See Also:
-
frequencyAsString
How often a notification is sent for a certificate within LeadTimeDays. Defaults to ONCE.
If the service returns an enum value that is not available in the current SDK version,
frequencywill returnInventoryNotificationFrequency.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfrequencyAsString().- Returns:
- How often a notification is sent for a certificate within LeadTimeDays. Defaults to ONCE.
- 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<InventoryExpiryNotification.Builder,InventoryExpiryNotification> - 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.
-