Class CfnSecurityProfilePropsMixin.AlertTargetProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iot.CfnSecurityProfilePropsMixin.AlertTargetProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSecurityProfilePropsMixin.AlertTargetProperty>
- Enclosing interface:
CfnSecurityProfilePropsMixin.AlertTargetProperty
@Stability(Stable)
public static final class CfnSecurityProfilePropsMixin.AlertTargetProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSecurityProfilePropsMixin.AlertTargetProperty>
A builder for
CfnSecurityProfilePropsMixin.AlertTargetProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionalertTargetArn(String alertTargetArn) Sets the value ofCfnSecurityProfilePropsMixin.AlertTargetProperty.getAlertTargetArn()build()Builds the configured instance.Sets the value ofCfnSecurityProfilePropsMixin.AlertTargetProperty.getRoleArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
alertTargetArn
@Stability(Stable) public CfnSecurityProfilePropsMixin.AlertTargetProperty.Builder alertTargetArn(String alertTargetArn) Sets the value ofCfnSecurityProfilePropsMixin.AlertTargetProperty.getAlertTargetArn()- Parameters:
alertTargetArn- The Amazon Resource Name (ARN) of the notification target to which alerts are sent.- Returns:
this
-
roleArn
@Stability(Stable) public CfnSecurityProfilePropsMixin.AlertTargetProperty.Builder roleArn(String roleArn) Sets the value ofCfnSecurityProfilePropsMixin.AlertTargetProperty.getRoleArn()- Parameters:
roleArn- The ARN of the role that grants permission to send alerts to the notification target.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSecurityProfilePropsMixin.AlertTargetProperty>- Returns:
- a new instance of
CfnSecurityProfilePropsMixin.AlertTargetProperty - Throws:
NullPointerException- if any required attribute was not provided
-