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