Class AccountAuditConfigurationProps.Builder
java.lang.Object
software.amazon.awscdk.services.iot.alpha.AccountAuditConfigurationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AccountAuditConfigurationProps>
- Enclosing interface:
AccountAuditConfigurationProps
@Stability(Experimental)
public static final class AccountAuditConfigurationProps.Builder
extends Object
implements software.amazon.jsii.Builder<AccountAuditConfigurationProps>
A builder for
AccountAuditConfigurationProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.checkConfiguration
(CheckConfiguration checkConfiguration) Sets the value ofAccountAuditConfigurationProps.getCheckConfiguration()
targetTopic
(ITopic targetTopic) Sets the value ofAccountAuditConfigurationProps.getTargetTopic()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
checkConfiguration
@Stability(Experimental) public AccountAuditConfigurationProps.Builder checkConfiguration(CheckConfiguration checkConfiguration) Sets the value ofAccountAuditConfigurationProps.getCheckConfiguration()
- Parameters:
checkConfiguration
- Specifies which audit checks are enabled and disabled for this account.- Returns:
this
-
targetTopic
@Stability(Experimental) public AccountAuditConfigurationProps.Builder targetTopic(ITopic targetTopic) Sets the value ofAccountAuditConfigurationProps.getTargetTopic()
- Parameters:
targetTopic
- The target SNS topic to which audit notifications are sent.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<AccountAuditConfigurationProps>
- Returns:
- a new instance of
AccountAuditConfigurationProps
- Throws:
NullPointerException
- if any required attribute was not provided
-