Class BetaManagedAgentsEnvironmentVariableUpdateParams
-
- All Implemented Interfaces:
public final class BetaManagedAgentsEnvironmentVariableUpdateParamsParameters for updating an environment variable credential.
secret_nameis immutable.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsEnvironmentVariableUpdateParams.BuilderA builder for BetaManagedAgentsEnvironmentVariableUpdateParams.
-
Method Summary
Modifier and Type Method Description final Optional<BetaManagedAgentsInjectionLocationUpdateParams>injectionLocation()Updated injection location. final Optional<BetaManagedAgentsCredentialNetworkingParams>networking()The new networking scope, which replaces the stored one as a whole. final Optional<String>secretValue()The new secret value to replace the stored one. final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("environment_variable")final JsonField<BetaManagedAgentsInjectionLocationUpdateParams>_injectionLocation()Returns the raw JSON value of injectionLocation. final JsonField<BetaManagedAgentsCredentialNetworkingParams>_networking()Returns the raw JSON value of networking. final JsonField<String>_secretValue()Returns the raw JSON value of secretValue. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsEnvironmentVariableUpdateParams.BuildertoBuilder()final BetaManagedAgentsEnvironmentVariableUpdateParamsvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsEnvironmentVariableUpdateParams.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsEnvironmentVariableUpdateParams. -
-
Method Detail
-
injectionLocation
final Optional<BetaManagedAgentsInjectionLocationUpdateParams> injectionLocation()
Updated injection location.
-
networking
final Optional<BetaManagedAgentsCredentialNetworkingParams> networking()
The new networking scope, which replaces the stored one as a whole.
-
secretValue
final Optional<String> secretValue()
The new secret value to replace the stored one.
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("environment_variable")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_injectionLocation
final JsonField<BetaManagedAgentsInjectionLocationUpdateParams> _injectionLocation()
Returns the raw JSON value of injectionLocation.
Unlike injectionLocation, this method doesn't throw if the JSON field has an unexpected type.
-
_networking
final JsonField<BetaManagedAgentsCredentialNetworkingParams> _networking()
Returns the raw JSON value of networking.
Unlike networking, this method doesn't throw if the JSON field has an unexpected type.
-
_secretValue
final JsonField<String> _secretValue()
Returns the raw JSON value of secretValue.
Unlike secretValue, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsEnvironmentVariableUpdateParams.Builder toBuilder()
-
validate
final BetaManagedAgentsEnvironmentVariableUpdateParams 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 BetaManagedAgentsEnvironmentVariableUpdateParams.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsEnvironmentVariableUpdateParams.
-
-
-
-