Class CfnContactListPropsMixin.TopicProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ses.CfnContactListPropsMixin.TopicProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnContactListPropsMixin.TopicProperty>
- Enclosing interface:
CfnContactListPropsMixin.TopicProperty
@Stability(Stable)
public static final class CfnContactListPropsMixin.TopicProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnContactListPropsMixin.TopicProperty>
A builder for
CfnContactListPropsMixin.TopicProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.defaultSubscriptionStatus(String defaultSubscriptionStatus) Sets the value ofCfnContactListPropsMixin.TopicProperty.getDefaultSubscriptionStatus()description(String description) Sets the value ofCfnContactListPropsMixin.TopicProperty.getDescription()displayName(String displayName) Sets the value ofCfnContactListPropsMixin.TopicProperty.getDisplayName()Sets the value ofCfnContactListPropsMixin.TopicProperty.getTopicName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
defaultSubscriptionStatus
@Stability(Stable) public CfnContactListPropsMixin.TopicProperty.Builder defaultSubscriptionStatus(String defaultSubscriptionStatus) Sets the value ofCfnContactListPropsMixin.TopicProperty.getDefaultSubscriptionStatus()- Parameters:
defaultSubscriptionStatus- The default subscription status to be applied to a contact if the contact has not noted their preference for subscribing to a topic.- Returns:
this
-
description
@Stability(Stable) public CfnContactListPropsMixin.TopicProperty.Builder description(String description) Sets the value ofCfnContactListPropsMixin.TopicProperty.getDescription()- Parameters:
description- A description of what the topic is about, which the contact will see.- Returns:
this
-
displayName
@Stability(Stable) public CfnContactListPropsMixin.TopicProperty.Builder displayName(String displayName) Sets the value ofCfnContactListPropsMixin.TopicProperty.getDisplayName()- Parameters:
displayName- The name of the topic the contact will see.- Returns:
this
-
topicName
@Stability(Stable) public CfnContactListPropsMixin.TopicProperty.Builder topicName(String topicName) Sets the value ofCfnContactListPropsMixin.TopicProperty.getTopicName()- Parameters:
topicName- The name of the topic.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnContactListPropsMixin.TopicProperty>- Returns:
- a new instance of
CfnContactListPropsMixin.TopicProperty - Throws:
NullPointerException- if any required attribute was not provided
-