Class EnvVarReplaceParams
-
- All Implemented Interfaces:
-
com.braintrustdata.api.core.Params
public final class EnvVarReplaceParams implements Params
Create or replace env_var. If there is an existing env_var with the same name as the one specified in the request, will replace the existing env_var with the provided fields
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classEnvVarReplaceParams.BuilderA builder for EnvVarReplaceParams.
public final classEnvVarReplaceParams.Bodypublic final classEnvVarReplaceParams.ObjectTypeThe type of the object the environment variable is scoped for
-
Method Summary
Modifier and Type Method Description final Stringname()The name of the environment variable final StringobjectId()The id of the object the environment variable is scoped for final EnvVarReplaceParams.ObjectTypeobjectType()The type of the object the environment variable is scoped for final Optional<String>value()The value of the environment variable. final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<String>_objectId()Returns the raw JSON value of objectId. final JsonField<EnvVarReplaceParams.ObjectType>_objectType()Returns the raw JSON value of objectType. final JsonField<String>_value()Returns the raw JSON value of value. final Map<String, JsonValue>_additionalBodyProperties()final Headers_additionalHeaders()final QueryParams_additionalQueryParams()final EnvVarReplaceParams.BuildertoBuilder()final EnvVarReplaceParams.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. Booleanequals(Object other)IntegerhashCode()StringtoString()final static EnvVarReplaceParams.Builderbuilder()Returns a mutable builder for constructing an instance of EnvVarReplaceParams. -
-
Method Detail
-
objectType
final EnvVarReplaceParams.ObjectType objectType()
The type of the object the environment variable is scoped for
-
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.
-
_objectId
final JsonField<String> _objectId()
Returns the raw JSON value of objectId.
Unlike objectId, this method doesn't throw if the JSON field has an unexpected type.
-
_objectType
final JsonField<EnvVarReplaceParams.ObjectType> _objectType()
Returns the raw JSON value of objectType.
Unlike objectType, 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()
-
toBuilder
final EnvVarReplaceParams.Builder toBuilder()
-
_body
final EnvVarReplaceParams.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.
-
builder
final static EnvVarReplaceParams.Builder builder()
Returns a mutable builder for constructing an instance of EnvVarReplaceParams.
The following fields are required:
.name() .objectId() .objectType()
-
-
-
-