Class EnvironmentUpdateParams
-
- All Implemented Interfaces:
-
com.anthropic.core.Params
public final class EnvironmentUpdateParams implements Params
Update an existing environment's configuration.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classEnvironmentUpdateParams.BuilderA builder for EnvironmentUpdateParams.
public final classEnvironmentUpdateParams.BodyPublic API request to update an environment (without org/account fields).
public final classEnvironmentUpdateParams.ConfigUpdated environment configuration
public final classEnvironmentUpdateParams.MetadataUser-provided metadata key-value pairs. Set a value to null or empty string to delete the key.
public final classEnvironmentUpdateParams.ScopeThe visibility scope for this environment. 'organization' makes the environment visible to all accounts. 'account' restricts visibility to the owning account only.
-
Method Summary
Modifier and Type Method Description final Optional<String>environmentId()final Optional<List<AnthropicBeta>>betas()Optional header to specify the beta version(s) you want to use. final Optional<EnvironmentUpdateParams.Config>config()Updated environment configuration final Optional<String>description()Updated description of the environment final Optional<EnvironmentUpdateParams.Metadata>metadata()User-provided metadata key-value pairs. final Optional<String>name()Updated name for the environment final Optional<EnvironmentUpdateParams.Scope>scope()The visibility scope for this environment. final JsonField<EnvironmentUpdateParams.Config>_config()Returns the raw JSON value of config. final JsonField<String>_description()Returns the raw JSON value of description. final JsonField<EnvironmentUpdateParams.Metadata>_metadata()Returns the raw JSON value of metadata. final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<EnvironmentUpdateParams.Scope>_scope()Returns the raw JSON value of scope. 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 EnvironmentUpdateParams.BuildertoBuilder()final EnvironmentUpdateParams.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. Booleanequals(Object other)IntegerhashCode()StringtoString()final static EnvironmentUpdateParamsnone()final static EnvironmentUpdateParams.Builderbuilder()Returns a mutable builder for constructing an instance of EnvironmentUpdateParams. -
-
Method Detail
-
environmentId
final Optional<String> environmentId()
-
betas
final Optional<List<AnthropicBeta>> betas()
Optional header to specify the beta version(s) you want to use.
-
config
final Optional<EnvironmentUpdateParams.Config> config()
Updated environment configuration
-
description
final Optional<String> description()
Updated description of the environment
-
metadata
final Optional<EnvironmentUpdateParams.Metadata> metadata()
User-provided metadata key-value pairs. Set a value to null or empty string to delete the key.
-
scope
final Optional<EnvironmentUpdateParams.Scope> scope()
The visibility scope for this environment. 'organization' makes the environment visible to all accounts. 'account' restricts visibility to the owning account only.
-
_config
final JsonField<EnvironmentUpdateParams.Config> _config()
Returns the raw JSON value of config.
Unlike config, this method doesn't throw if the JSON field has an unexpected type.
-
_description
final JsonField<String> _description()
Returns the raw JSON value of description.
Unlike description, this method doesn't throw if the JSON field has an unexpected type.
-
_metadata
final JsonField<EnvironmentUpdateParams.Metadata> _metadata()
Returns the raw JSON value of metadata.
Unlike metadata, this method doesn't throw if the JSON field has an unexpected type.
-
_name
final JsonField<String> _name()
Returns the raw JSON value of name.
Unlike name, this method doesn't throw if the JSON field has an unexpected type.
-
_scope
final JsonField<EnvironmentUpdateParams.Scope> _scope()
Returns the raw JSON value of scope.
Unlike scope, 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 EnvironmentUpdateParams.Builder toBuilder()
-
_body
final EnvironmentUpdateParams.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.
-
none
final static EnvironmentUpdateParams none()
-
builder
final static EnvironmentUpdateParams.Builder builder()
Returns a mutable builder for constructing an instance of EnvironmentUpdateParams.
-
-
-
-