Interface Topic.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Topic.Builder,Topic>,SdkBuilder<Topic.Builder,Topic>,SdkPojo
- Enclosing class:
- Topic
public static interface Topic.Builder extends SdkPojo, CopyableBuilder<Topic.Builder,Topic>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Topic.BuilderdefaultSubscriptionStatus(String defaultSubscriptionStatus)The default subscription status to be applied to a contact if the contact has not noted their preference for subscribing to a topic.Topic.BuilderdefaultSubscriptionStatus(SubscriptionStatus defaultSubscriptionStatus)The default subscription status to be applied to a contact if the contact has not noted their preference for subscribing to a topic.Topic.Builderdescription(String description)A description of what the topic is about, which the contact will see.Topic.BuilderdisplayName(String displayName)The name of the topic the contact will see.Topic.BuildertopicName(String topicName)The name of the topic.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
topicName
Topic.Builder topicName(String topicName)
The name of the topic.
- Parameters:
topicName- The name of the topic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
displayName
Topic.Builder displayName(String displayName)
The name of the topic the contact will see.
- Parameters:
displayName- The name of the topic the contact will see.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
Topic.Builder description(String description)
A description of what the topic is about, which the contact will see.
- Parameters:
description- A description of what the topic is about, which the contact will see.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultSubscriptionStatus
Topic.Builder defaultSubscriptionStatus(String defaultSubscriptionStatus)
The default subscription status to be applied to a contact if the contact has not noted their preference for subscribing to a topic.
- 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:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SubscriptionStatus,SubscriptionStatus
-
defaultSubscriptionStatus
Topic.Builder defaultSubscriptionStatus(SubscriptionStatus defaultSubscriptionStatus)
The default subscription status to be applied to a contact if the contact has not noted their preference for subscribing to a topic.
- 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:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SubscriptionStatus,SubscriptionStatus
-
-