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