Class CfnAccountAuditConfiguration.CertAgeCheckCustomConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iot.CfnAccountAuditConfiguration.CertAgeCheckCustomConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAccountAuditConfiguration.CertAgeCheckCustomConfigurationProperty>
- Enclosing interface:
CfnAccountAuditConfiguration.CertAgeCheckCustomConfigurationProperty
@Stability(Stable)
public static final class CfnAccountAuditConfiguration.CertAgeCheckCustomConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAccountAuditConfiguration.CertAgeCheckCustomConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.certAgeThresholdInDays(String certAgeThresholdInDays)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
certAgeThresholdInDays
@Stability(Stable) public CfnAccountAuditConfiguration.CertAgeCheckCustomConfigurationProperty.Builder certAgeThresholdInDays(String certAgeThresholdInDays) Sets the value ofCfnAccountAuditConfiguration.CertAgeCheckCustomConfigurationProperty.getCertAgeThresholdInDays()- Parameters:
certAgeThresholdInDays- The number of days that defines when a device certificate is considered to have aged. The check will report a finding if a certificate has been active for a number of days greater than or equal to this threshold value.- Returns:
this
-
build
@Stability(Stable) public CfnAccountAuditConfiguration.CertAgeCheckCustomConfigurationProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAccountAuditConfiguration.CertAgeCheckCustomConfigurationProperty>- Returns:
- a new instance of
CfnAccountAuditConfiguration.CertAgeCheckCustomConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-