Class SpendLimitUserScope.Builder
-
- All Implemented Interfaces:
public final class SpendLimitUserScope.BuilderA builder for SpendLimitUserScope.
-
-
Method Summary
Modifier and Type Method Description final SpendLimitUserScope.Buildertype(JsonValue type)Sets the field to an arbitrary JSON value. final SpendLimitUserScope.BuilderuserId(String userId)Tagged ID of the member the spend limit applies to. final SpendLimitUserScope.BuilderuserId(JsonField<String> userId)Sets Builder.userId to an arbitrary JSON value. final SpendLimitUserScope.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final SpendLimitUserScope.BuilderputAdditionalProperty(String key, JsonValue value)final SpendLimitUserScope.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final SpendLimitUserScope.BuilderremoveAdditionalProperty(String key)final SpendLimitUserScope.BuilderremoveAllAdditionalProperties(Set<String> keys)final SpendLimitUserScopebuild()Returns an immutable instance of SpendLimitUserScope. -
-
Method Detail
-
type
final SpendLimitUserScope.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 SpendLimitUserScope.Builder userId(String userId)
Tagged ID of the member the spend limit applies to.
-
userId
final SpendLimitUserScope.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 SpendLimitUserScope.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final SpendLimitUserScope.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final SpendLimitUserScope.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final SpendLimitUserScope.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final SpendLimitUserScope.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final SpendLimitUserScope build()
Returns an immutable instance of SpendLimitUserScope.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.userId()
-
-
-
-