Class BetaSpendLimitUserScope.Builder
-
- All Implemented Interfaces:
public final class BetaSpendLimitUserScope.BuilderA builder for BetaSpendLimitUserScope.
-
-
Method Summary
Modifier and Type Method Description final BetaSpendLimitUserScope.Buildertype(JsonValue type)Sets the field to an arbitrary JSON value. final BetaSpendLimitUserScope.BuilderuserId(String userId)Tagged ID of the member the spend limit applies to. final BetaSpendLimitUserScope.BuilderuserId(JsonField<String> userId)Sets Builder.userId to an arbitrary JSON value. final BetaSpendLimitUserScope.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final BetaSpendLimitUserScope.BuilderputAdditionalProperty(String key, JsonValue value)final BetaSpendLimitUserScope.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final BetaSpendLimitUserScope.BuilderremoveAdditionalProperty(String key)final BetaSpendLimitUserScope.BuilderremoveAllAdditionalProperties(Set<String> keys)final BetaSpendLimitUserScopebuild()Returns an immutable instance of BetaSpendLimitUserScope. -
-
Method Detail
-
type
final BetaSpendLimitUserScope.Builder type(JsonValue type)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("user")This method is primarily for setting the field to an undocumented or not yet supported value.
-
userId
final BetaSpendLimitUserScope.Builder userId(String userId)
Tagged ID of the member the spend limit applies to.
-
userId
final BetaSpendLimitUserScope.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 BetaSpendLimitUserScope.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaSpendLimitUserScope.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaSpendLimitUserScope.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaSpendLimitUserScope.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaSpendLimitUserScope.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaSpendLimitUserScope build()
Returns an immutable instance of BetaSpendLimitUserScope.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.userId()
-
-
-
-