Class BetaApiKeyWorkspaceScope.Builder
-
- All Implemented Interfaces:
public final class BetaApiKeyWorkspaceScope.BuilderA builder for BetaApiKeyWorkspaceScope.
-
-
Method Summary
-
-
Method Detail
-
type
final BetaApiKeyWorkspaceScope.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 BetaApiKeyWorkspaceScope.Builder workspaceId(String workspaceId)
ID of the Workspace the API key belongs to, including when it is the organization's default Workspace.
-
workspaceId
final BetaApiKeyWorkspaceScope.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 BetaApiKeyWorkspaceScope.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaApiKeyWorkspaceScope.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaApiKeyWorkspaceScope.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaApiKeyWorkspaceScope.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaApiKeyWorkspaceScope.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaApiKeyWorkspaceScope build()
Returns an immutable instance of BetaApiKeyWorkspaceScope.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.workspaceId()
-
-
-
-