Class SlackChannelData.Connection.SlackTokenConnection.Builder
-
- All Implemented Interfaces:
public final class SlackChannelData.Connection.SlackTokenConnection.BuilderA builder for SlackTokenConnection.
-
-
Method Summary
-
-
Method Detail
-
accessToken
final SlackChannelData.Connection.SlackTokenConnection.Builder accessToken(String accessToken)
A Slack access token.
-
accessToken
final SlackChannelData.Connection.SlackTokenConnection.Builder accessToken(Optional<String> accessToken)
Alias for calling Builder.accessToken with
accessToken.orElse(null).
-
accessToken
final SlackChannelData.Connection.SlackTokenConnection.Builder accessToken(JsonField<String> accessToken)
Sets Builder.accessToken to an arbitrary JSON value.
You should usually call Builder.accessToken with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
channelId
final SlackChannelData.Connection.SlackTokenConnection.Builder channelId(String channelId)
A Slack channel ID from the Slack provider.
-
channelId
final SlackChannelData.Connection.SlackTokenConnection.Builder channelId(Optional<String> channelId)
Alias for calling Builder.channelId with
channelId.orElse(null).
-
channelId
final SlackChannelData.Connection.SlackTokenConnection.Builder channelId(JsonField<String> channelId)
Sets Builder.channelId to an arbitrary JSON value.
You should usually call Builder.channelId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
userId
final SlackChannelData.Connection.SlackTokenConnection.Builder userId(String userId)
A Slack user ID from the Slack provider.
-
userId
final SlackChannelData.Connection.SlackTokenConnection.Builder userId(Optional<String> userId)
Alias for calling Builder.userId with
userId.orElse(null).
-
userId
final SlackChannelData.Connection.SlackTokenConnection.Builder userId(JsonField<String> userId)
Sets Builder.userId to an arbitrary JSON value.
You should usually call Builder.userId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final SlackChannelData.Connection.SlackTokenConnection.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final SlackChannelData.Connection.SlackTokenConnection.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final SlackChannelData.Connection.SlackTokenConnection.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final SlackChannelData.Connection.SlackTokenConnection.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final SlackChannelData.Connection.SlackTokenConnection.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final SlackChannelData.Connection.SlackTokenConnection build()
Returns an immutable instance of SlackTokenConnection.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-