Package com.courier.models
Class SendToSlackChannel.Builder
-
- All Implemented Interfaces:
public final class SendToSlackChannel.BuilderA builder for SendToSlackChannel.
-
-
Method Summary
Modifier and Type Method Description final SendToSlackChannel.BuilderaccessToken(String accessToken)final SendToSlackChannel.BuilderaccessToken(JsonField<String> accessToken)Sets Builder.accessToken to an arbitrary JSON value. final SendToSlackChannel.Builderchannel(String channel)final SendToSlackChannel.Builderchannel(JsonField<String> channel)Sets Builder.channel to an arbitrary JSON value. final SendToSlackChannel.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final SendToSlackChannel.BuilderputAdditionalProperty(String key, JsonValue value)final SendToSlackChannel.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final SendToSlackChannel.BuilderremoveAdditionalProperty(String key)final SendToSlackChannel.BuilderremoveAllAdditionalProperties(Set<String> keys)final SendToSlackChannelbuild()Returns an immutable instance of SendToSlackChannel. -
-
Method Detail
-
accessToken
final SendToSlackChannel.Builder accessToken(String accessToken)
-
accessToken
final SendToSlackChannel.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.
-
channel
final SendToSlackChannel.Builder channel(String channel)
-
channel
final SendToSlackChannel.Builder channel(JsonField<String> channel)
Sets Builder.channel to an arbitrary JSON value.
You should usually call Builder.channel 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 SendToSlackChannel.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final SendToSlackChannel.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final SendToSlackChannel.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final SendToSlackChannel.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final SendToSlackChannel.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final SendToSlackChannel build()
Returns an immutable instance of SendToSlackChannel.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.accessToken() .channel()
-
-
-
-