@NotThreadSafe public static final class ConversationSetTopicParams.Builder extends Object
ConversationSetTopicParams.
Initialize attributes and then invoke the build() method to create an
immutable instance.
Builder is not thread-safe and generally should not be stored in a field or collection,
but instead used immediately to create instances.
| Modifier and Type | Method and Description |
|---|---|
ConversationSetTopicParams |
build()
Builds a new
ConversationSetTopicParams. |
ConversationSetTopicParams.Builder |
from(ConversationSetTopicParamsIF instance)
Fill a builder with attribute values from the provided
ConversationSetTopicParamsIF instance. |
ConversationSetTopicParams.Builder |
setChannelId(String channelId)
Initializes the value for the
channelId attribute. |
ConversationSetTopicParams.Builder |
setTopic(String topic)
Initializes the value for the
topic attribute. |
public final ConversationSetTopicParams.Builder from(ConversationSetTopicParamsIF instance)
ConversationSetTopicParamsIF instance.
Regular attribute values will be replaced with those from the given instance.
Absent optional values will not replace present values.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final ConversationSetTopicParams.Builder setTopic(String topic)
topic attribute.topic - The value for topicthis builder for use in a chained invocationpublic final ConversationSetTopicParams.Builder setChannelId(String channelId)
channelId attribute.channelId - The value for channelIdthis builder for use in a chained invocationpublic ConversationSetTopicParams build() throws com.hubspot.immutables.validation.InvalidImmutableStateException
ConversationSetTopicParams.com.hubspot.immutables.validation.InvalidImmutableStateException - if any required attributes are missingCopyright © 2020. All rights reserved.