Class ExternalKeyUpdateParams
-
- All Implemented Interfaces:
-
com.anthropic.core.Params
public final class ExternalKeyUpdateParams implements Params
Partially update an external key config. Omitted fields are left unchanged.
display_nameis always editable.geoandprovider_configcannot be changed once any workspace references this config, because previously encrypted data requires the original key identity to decrypt.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classExternalKeyUpdateParams.BuilderA builder for ExternalKeyUpdateParams.
public final classExternalKeyUpdateParams.BodyPartial update — omitted fields are unchanged.
display_nameis always editable.geoandprovider_configcannot be changed once any workspace references this config.public final classExternalKeyUpdateParams.GeoData residency geo. Only
usis supported.public final classExternalKeyUpdateParams.ProviderConfigKMS provider identity and auth coordinates.
-
Method Summary
Modifier and Type Method Description final Optional<String>externalKeyId()ID of the External Key. final Optional<String>displayName()Human-friendly display name. final Optional<ExternalKeyUpdateParams.Geo>geo()Data residency geo. final Optional<ExternalKeyUpdateParams.ProviderConfig>providerConfig()KMS provider identity and auth coordinates. final JsonField<String>_displayName()Returns the raw JSON value of displayName. final JsonField<ExternalKeyUpdateParams.Geo>_geo()Returns the raw JSON value of geo. final JsonField<ExternalKeyUpdateParams.ProviderConfig>_providerConfig()Returns the raw JSON value of providerConfig. 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 ExternalKeyUpdateParams.BuildertoBuilder()final ExternalKeyUpdateParams.Body_body()final String_pathParam(Integer index)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 ExternalKeyUpdateParamsnone()final static ExternalKeyUpdateParams.Builderbuilder()Returns a mutable builder for constructing an instance of ExternalKeyUpdateParams. -
-
Method Detail
-
externalKeyId
final Optional<String> externalKeyId()
ID of the External Key.
-
displayName
final Optional<String> displayName()
Human-friendly display name.
-
geo
final Optional<ExternalKeyUpdateParams.Geo> geo()
Data residency geo. Only
usis supported.
-
providerConfig
final Optional<ExternalKeyUpdateParams.ProviderConfig> providerConfig()
KMS provider identity and auth coordinates.
-
_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<ExternalKeyUpdateParams.Geo> _geo()
Returns the raw JSON value of geo.
Unlike geo, this method doesn't throw if the JSON field has an unexpected type.
-
_providerConfig
final JsonField<ExternalKeyUpdateParams.ProviderConfig> _providerConfig()
Returns the raw JSON value of providerConfig.
Unlike providerConfig, 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 ExternalKeyUpdateParams.Builder toBuilder()
-
_body
final ExternalKeyUpdateParams.Body _body()
-
_pathParam
final String _pathParam(Integer index)
-
_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.
-
none
final static ExternalKeyUpdateParams none()
-
builder
final static ExternalKeyUpdateParams.Builder builder()
Returns a mutable builder for constructing an instance of ExternalKeyUpdateParams.
-
-
-
-