Class ExternalKeyCreateParams
-
- All Implemented Interfaces:
-
com.anthropic.core.Params
public final class ExternalKeyCreateParams implements Params
Create an external key config owned by the caller's organization.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classExternalKeyCreateParams.BuilderA builder for ExternalKeyCreateParams.
public final classExternalKeyCreateParams.Bodypublic final classExternalKeyCreateParams.ProviderConfigKMS provider identity and auth coordinates.
public final classExternalKeyCreateParams.GeoData residency geo. Only
usis supported.
-
Method Summary
Modifier and Type Method Description final ExternalKeyCreateParams.ProviderConfigproviderConfig()KMS provider identity and auth coordinates. final Optional<String>displayName()Human-friendly display name. final Optional<ExternalKeyCreateParams.Geo>geo()Data residency geo. final Optional<String>userProfileId()ID of a user profile to bind the key to. final JsonField<ExternalKeyCreateParams.ProviderConfig>_providerConfig()Returns the raw JSON value of providerConfig. final JsonField<String>_displayName()Returns the raw JSON value of displayName. final JsonField<ExternalKeyCreateParams.Geo>_geo()Returns the raw JSON value of geo. final JsonField<String>_userProfileId()Returns the raw JSON value of userProfileId. final Map<String, JsonValue>_additionalBodyProperties()final Headers_additionalHeaders()Additional headers to send with the request. final QueryParams_additionalQueryParams()Additional query param to send with the request. final ExternalKeyCreateParams.BuildertoBuilder()final ExternalKeyCreateParams.Body_body()Headers_headers()The full set of headers in the parameters, including both fixed and additional headers. QueryParams_queryParams()The full set of query params in the parameters, including both fixed and additional query params. SpanData_spanData()The data for the OpenTelemetry span of a call to the method with these parameters. Booleanequals(Object other)IntegerhashCode()StringtoString()final static ExternalKeyCreateParams.Builderbuilder()Returns a mutable builder for constructing an instance of ExternalKeyCreateParams. -
-
Method Detail
-
providerConfig
final ExternalKeyCreateParams.ProviderConfig providerConfig()
KMS provider identity and auth coordinates.
-
displayName
final Optional<String> displayName()
Human-friendly display name.
-
geo
final Optional<ExternalKeyCreateParams.Geo> geo()
Data residency geo. Only
usis supported.
-
userProfileId
final Optional<String> userProfileId()
ID of a user profile to bind the key to. A user profile represents one of your customers: bind a customer's key to that customer's user profile. A key bound to a user profile can only be attached to a Workspace that has the same user profile, and the binding cannot be changed later. Omit this field only for your organization's own key, never a customer's. A key created without a user profile ID can't be attached to a Workspace that has a user profile, and you can't add one to the key later.
-
_providerConfig
final JsonField<ExternalKeyCreateParams.ProviderConfig> _providerConfig()
Returns the raw JSON value of providerConfig.
Unlike providerConfig, this method doesn't throw if the JSON field has an unexpected type.
-
_displayName
final JsonField<String> _displayName()
Returns the raw JSON value of displayName.
Unlike displayName, this method doesn't throw if the JSON field has an unexpected type.
-
_geo
final JsonField<ExternalKeyCreateParams.Geo> _geo()
Returns the raw JSON value of geo.
Unlike geo, this method doesn't throw if the JSON field has an unexpected type.
-
_userProfileId
final JsonField<String> _userProfileId()
Returns the raw JSON value of userProfileId.
Unlike userProfileId, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalBodyProperties
final Map<String, JsonValue> _additionalBodyProperties()
-
_additionalHeaders
final Headers _additionalHeaders()
Additional headers to send with the request.
-
_additionalQueryParams
final QueryParams _additionalQueryParams()
Additional query param to send with the request.
-
toBuilder
final ExternalKeyCreateParams.Builder toBuilder()
-
_body
final ExternalKeyCreateParams.Body _body()
-
_headers
Headers _headers()
The full set of headers in the parameters, including both fixed and additional headers.
-
_queryParams
QueryParams _queryParams()
The full set of query params in the parameters, including both fixed and additional query params.
-
_spanData
SpanData _spanData()
The data for the OpenTelemetry span of a call to the method with these parameters.
-
builder
final static ExternalKeyCreateParams.Builder builder()
Returns a mutable builder for constructing an instance of ExternalKeyCreateParams.
The following fields are required:
.providerConfig()
-
-
-
-