Class EnvironmentUpdateParams.Body
-
- All Implemented Interfaces:
public final class EnvironmentUpdateParams.BodyPublic API request to update an environment (without org/account fields).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classEnvironmentUpdateParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description 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>_additionalProperties()final EnvironmentUpdateParams.Body.BuildertoBuilder()final EnvironmentUpdateParams.Bodyvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static EnvironmentUpdateParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. -
-
Method Detail
-
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.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final EnvironmentUpdateParams.Body.Builder toBuilder()
-
validate
final EnvironmentUpdateParams.Body validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static EnvironmentUpdateParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
-
-
-
-