Class EnvVarUpdateParams
-
- All Implemented Interfaces:
-
com.braintrustdata.api.core.Params
public final class EnvVarUpdateParams implements Params
Partially update an env_var object. Specify the fields to update in the payload. Any object-type fields will be deep-merged with existing content. Currently we do not support removing fields or setting them to null.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classEnvVarUpdateParams.Bodypublic final classEnvVarUpdateParams.BuilderA builder for EnvVarUpdateParams.
-
Method Summary
Modifier and Type Method Description final StringenvVarId()EnvVar id final Stringname()The name of the environment variable final Optional<String>value()The value of the environment variable. final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<String>_value()Returns the raw JSON value of value. final Map<String, JsonValue>_additionalBodyProperties()final Headers_additionalHeaders()final QueryParams_additionalQueryParams()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. final StringgetPathParam(Integer index)final EnvVarUpdateParams.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static EnvVarUpdateParams.Builderbuilder()Returns a mutable builder for constructing an instance of EnvVarUpdateParams. -
-
Method Detail
-
value
final Optional<String> value()
The value of the environment variable. Will be encrypted at rest.
-
_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.
-
_value
final JsonField<String> _value()
Returns the raw JSON value of value.
Unlike value, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalBodyProperties
final Map<String, JsonValue> _additionalBodyProperties()
-
_additionalHeaders
final Headers _additionalHeaders()
-
_additionalQueryParams
final QueryParams _additionalQueryParams()
-
_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.
-
getPathParam
final String getPathParam(Integer index)
-
toBuilder
final EnvVarUpdateParams.Builder toBuilder()
-
builder
final static EnvVarUpdateParams.Builder builder()
Returns a mutable builder for constructing an instance of EnvVarUpdateParams.
The following fields are required:
.envVarId() .name()
-
-
-
-