@NotThreadSafe public static final class ChatGetPermalinkParams.Builder extends Object
ChatGetPermalinkParams.
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 |
|---|---|
ChatGetPermalinkParams |
build()
Builds a new
ChatGetPermalinkParams. |
ChatGetPermalinkParams.Builder |
from(ChatGetPermalinkParamsIF instance)
Fill a builder with attribute values from the provided
com.hubspot.slack.client.methods.params.chat.ChatGetPermalinkParamsIF instance. |
ChatGetPermalinkParams.Builder |
from(HasChannel instance)
Fill a builder with attribute values from the provided
com.hubspot.slack.client.methods.interceptor.HasChannel instance. |
ChatGetPermalinkParams.Builder |
setChannelId(String channelId)
Initializes the value for the
channelId attribute. |
ChatGetPermalinkParams.Builder |
setMessageTs(String messageTs)
Initializes the value for the
messageTs attribute. |
public final ChatGetPermalinkParams.Builder from(HasChannel instance)
com.hubspot.slack.client.methods.interceptor.HasChannel instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final ChatGetPermalinkParams.Builder from(ChatGetPermalinkParamsIF instance)
com.hubspot.slack.client.methods.params.chat.ChatGetPermalinkParamsIF instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final ChatGetPermalinkParams.Builder setChannelId(String channelId)
channelId attribute.channelId - The value for channelIdthis builder for use in a chained invocationpublic final ChatGetPermalinkParams.Builder setMessageTs(String messageTs)
messageTs attribute.messageTs - The value for messageTsthis builder for use in a chained invocationpublic ChatGetPermalinkParams build() throws com.hubspot.immutables.validation.InvalidImmutableStateException
ChatGetPermalinkParams.com.hubspot.immutables.validation.InvalidImmutableStateException - if any required attributes are missingCopyright © 2019. All rights reserved.