public static final class CfnContactList.TopicProperty.Builder
extends java.lang.Object
CfnContactList.TopicProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnContactList.TopicProperty |
build()
Builds the configured instance.
|
CfnContactList.TopicProperty.Builder |
defaultSubscriptionStatus(java.lang.String defaultSubscriptionStatus)
Sets the value of
CfnContactList.TopicProperty.getDefaultSubscriptionStatus() |
CfnContactList.TopicProperty.Builder |
description(java.lang.String description)
Sets the value of
CfnContactList.TopicProperty.getDescription() |
CfnContactList.TopicProperty.Builder |
displayName(java.lang.String displayName)
Sets the value of
CfnContactList.TopicProperty.getDisplayName() |
CfnContactList.TopicProperty.Builder |
topicName(java.lang.String topicName)
Sets the value of
CfnContactList.TopicProperty.getTopicName() |
public CfnContactList.TopicProperty.Builder defaultSubscriptionStatus(java.lang.String defaultSubscriptionStatus)
CfnContactList.TopicProperty.getDefaultSubscriptionStatus()
defaultSubscriptionStatus
- The default subscription status to be applied to a contact if the contact has not noted their preference for subscribing to a topic. This parameter is required.this
public CfnContactList.TopicProperty.Builder displayName(java.lang.String displayName)
CfnContactList.TopicProperty.getDisplayName()
displayName
- The name of the topic the contact will see. This parameter is required.this
public CfnContactList.TopicProperty.Builder topicName(java.lang.String topicName)
CfnContactList.TopicProperty.getTopicName()
topicName
- The name of the topic. This parameter is required.this
public CfnContactList.TopicProperty.Builder description(java.lang.String description)
CfnContactList.TopicProperty.getDescription()
description
- A description of what the topic is about, which the contact will see.this
public CfnContactList.TopicProperty build()
CfnContactList.TopicProperty
java.lang.NullPointerException
- if any required attribute was not provided