Class CfnScheduledQueryPropsMixin.SnsConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.timestream.CfnScheduledQueryPropsMixin.SnsConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnScheduledQueryPropsMixin.SnsConfigurationProperty>
- Enclosing interface:
CfnScheduledQueryPropsMixin.SnsConfigurationProperty
@Stability(Stable)
public static final class CfnScheduledQueryPropsMixin.SnsConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnScheduledQueryPropsMixin.SnsConfigurationProperty>
A builder for
CfnScheduledQueryPropsMixin.SnsConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnScheduledQueryPropsMixin.SnsConfigurationProperty.getTopicArn()Sets the value ofCfnScheduledQueryPropsMixin.SnsConfigurationProperty.getTopicArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
topicArn
@Stability(Stable) public CfnScheduledQueryPropsMixin.SnsConfigurationProperty.Builder topicArn(String topicArn) Sets the value ofCfnScheduledQueryPropsMixin.SnsConfigurationProperty.getTopicArn()- Parameters:
topicArn- SNS topic ARN that the scheduled query status notifications will be sent to.- Returns:
this
-
topicArn
@Stability(Stable) public CfnScheduledQueryPropsMixin.SnsConfigurationProperty.Builder topicArn(ITopicRef topicArn) Sets the value ofCfnScheduledQueryPropsMixin.SnsConfigurationProperty.getTopicArn()- Parameters:
topicArn- SNS topic ARN that the scheduled query status notifications will be sent to.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnScheduledQueryPropsMixin.SnsConfigurationProperty>- Returns:
- a new instance of
CfnScheduledQueryPropsMixin.SnsConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-