Class CfnAccountAuditConfigurationPropsMixin.AuditNotificationTargetProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iot.CfnAccountAuditConfigurationPropsMixin.AuditNotificationTargetProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAccountAuditConfigurationPropsMixin.AuditNotificationTargetProperty>
- Enclosing interface:
CfnAccountAuditConfigurationPropsMixin.AuditNotificationTargetProperty
@Stability(Stable)
public static final class CfnAccountAuditConfigurationPropsMixin.AuditNotificationTargetProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAccountAuditConfigurationPropsMixin.AuditNotificationTargetProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.enabled(IResolvable enabled)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enabled
@Stability(Stable) public CfnAccountAuditConfigurationPropsMixin.AuditNotificationTargetProperty.Builder enabled(Boolean enabled) Sets the value ofCfnAccountAuditConfigurationPropsMixin.AuditNotificationTargetProperty.getEnabled()- Parameters:
enabled- True if notifications to the target are enabled.- Returns:
this
-
enabled
@Stability(Stable) public CfnAccountAuditConfigurationPropsMixin.AuditNotificationTargetProperty.Builder enabled(IResolvable enabled) Sets the value ofCfnAccountAuditConfigurationPropsMixin.AuditNotificationTargetProperty.getEnabled()- Parameters:
enabled- True if notifications to the target are enabled.- Returns:
this
-
roleArn
@Stability(Stable) public CfnAccountAuditConfigurationPropsMixin.AuditNotificationTargetProperty.Builder roleArn(String roleArn) Sets the value ofCfnAccountAuditConfigurationPropsMixin.AuditNotificationTargetProperty.getRoleArn()- Parameters:
roleArn- The ARN of the role that grants permission to send notifications to the target.- Returns:
this
-
targetArn
@Stability(Stable) public CfnAccountAuditConfigurationPropsMixin.AuditNotificationTargetProperty.Builder targetArn(String targetArn) Sets the value ofCfnAccountAuditConfigurationPropsMixin.AuditNotificationTargetProperty.getTargetArn()- Parameters:
targetArn- The ARN of the target (SNS topic) to which audit notifications are sent.- Returns:
this
-
build
@Stability(Stable) public CfnAccountAuditConfigurationPropsMixin.AuditNotificationTargetProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAccountAuditConfigurationPropsMixin.AuditNotificationTargetProperty>- Returns:
- a new instance of
CfnAccountAuditConfigurationPropsMixin.AuditNotificationTargetProperty - Throws:
NullPointerException- if any required attribute was not provided
-