Class CfnAccount.ExpiryEventsConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.certificatemanager.CfnAccount.ExpiryEventsConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAccount.ExpiryEventsConfigurationProperty>
- Enclosing interface:
CfnAccount.ExpiryEventsConfigurationProperty
@Stability(Stable)
public static final class CfnAccount.ExpiryEventsConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAccount.ExpiryEventsConfigurationProperty>
A builder for
CfnAccount.ExpiryEventsConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.daysBeforeExpiry
(Number daysBeforeExpiry) Sets the value ofCfnAccount.ExpiryEventsConfigurationProperty.getDaysBeforeExpiry()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
daysBeforeExpiry
@Stability(Stable) public CfnAccount.ExpiryEventsConfigurationProperty.Builder daysBeforeExpiry(Number daysBeforeExpiry) Sets the value ofCfnAccount.ExpiryEventsConfigurationProperty.getDaysBeforeExpiry()
- Parameters:
daysBeforeExpiry
- This option specifies the number of days prior to certificate expiration when ACM starts generatingEventBridge
events. ACM sends one event per day per certificate until the certificate expires. By default, accounts receive events starting 45 days before certificate expiration.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAccount.ExpiryEventsConfigurationProperty>
- Returns:
- a new instance of
CfnAccount.ExpiryEventsConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-