Class ApiKeyCreateParams.Body.Builder
-
- All Implemented Interfaces:
public final class ApiKeyCreateParams.Body.BuilderA builder for Body.
-
-
Method Summary
-
-
Method Detail
-
name
final ApiKeyCreateParams.Body.Builder name(String name)
Name of the api key. Does not have to be unique
-
name
final ApiKeyCreateParams.Body.Builder name(JsonField<String> name)
Sets Builder.name to an arbitrary JSON value.
You should usually call Builder.name with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
orgName
final ApiKeyCreateParams.Body.Builder orgName(String orgName)
For nearly all users, this parameter should be unnecessary. But in the rare case that your API key belongs to multiple organizations, you may specify the name of the organization the API key belongs in.
-
orgName
final ApiKeyCreateParams.Body.Builder orgName(Optional<String> orgName)
Alias for calling Builder.orgName with
orgName.orElse(null).
-
orgName
final ApiKeyCreateParams.Body.Builder orgName(JsonField<String> orgName)
Sets Builder.orgName to an arbitrary JSON value.
You should usually call Builder.orgName 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 ApiKeyCreateParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ApiKeyCreateParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ApiKeyCreateParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ApiKeyCreateParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ApiKeyCreateParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ApiKeyCreateParams.Body build()
Returns an immutable instance of Body.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.name()
-
-
-
-