Class ApiKeyWorkspaceScope.Builder
-
- All Implemented Interfaces:
public final class ApiKeyWorkspaceScope.BuilderA builder for ApiKeyWorkspaceScope.
-
-
Method Summary
Modifier and Type Method Description final ApiKeyWorkspaceScope.Buildertype(JsonValue type)Sets the field to an arbitrary JSON value. final ApiKeyWorkspaceScope.BuilderworkspaceId(String workspaceId)ID of the Workspace the API key belongs to, including when it is the organization's default Workspace. final ApiKeyWorkspaceScope.BuilderworkspaceId(JsonField<String> workspaceId)Sets Builder.workspaceId to an arbitrary JSON value. final ApiKeyWorkspaceScope.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final ApiKeyWorkspaceScope.BuilderputAdditionalProperty(String key, JsonValue value)final ApiKeyWorkspaceScope.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final ApiKeyWorkspaceScope.BuilderremoveAdditionalProperty(String key)final ApiKeyWorkspaceScope.BuilderremoveAllAdditionalProperties(Set<String> keys)final ApiKeyWorkspaceScopebuild()Returns an immutable instance of ApiKeyWorkspaceScope. -
-
Method Detail
-
type
final ApiKeyWorkspaceScope.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 ApiKeyWorkspaceScope.Builder workspaceId(String workspaceId)
ID of the Workspace the API key belongs to, including when it is the organization's default Workspace.
-
workspaceId
final ApiKeyWorkspaceScope.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 ApiKeyWorkspaceScope.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ApiKeyWorkspaceScope.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ApiKeyWorkspaceScope.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ApiKeyWorkspaceScope.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ApiKeyWorkspaceScope.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ApiKeyWorkspaceScope build()
Returns an immutable instance of ApiKeyWorkspaceScope.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.workspaceId()
-
-
-
-