Class BetaManagedAgentsEnvironmentVariableCreateParams
-
- All Implemented Interfaces:
public final class BetaManagedAgentsEnvironmentVariableCreateParamsParameters for creating an environment variable credential.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsEnvironmentVariableCreateParams.BuilderA builder for BetaManagedAgentsEnvironmentVariableCreateParams.
-
Method Summary
Modifier and Type Method Description final BetaManagedAgentsCredentialNetworkingParamsnetworking()Outbound hosts the secret value is substituted on. final StringsecretName()Name of the environment variable. final StringsecretValue()The secret to substitute into the agent's outbound requests. final Optional<BetaManagedAgentsInjectionLocationParams>injectionLocation()Where in the outbound request the secret value may be substituted. 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<BetaManagedAgentsCredentialNetworkingParams>_networking()Returns the raw JSON value of networking. final JsonField<String>_secretName()Returns the raw JSON value of secretName. final JsonField<String>_secretValue()Returns the raw JSON value of secretValue. final JsonField<BetaManagedAgentsInjectionLocationParams>_injectionLocation()Returns the raw JSON value of injectionLocation. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsEnvironmentVariableCreateParams.BuildertoBuilder()final BetaManagedAgentsEnvironmentVariableCreateParamsvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsEnvironmentVariableCreateParams.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsEnvironmentVariableCreateParams. -
-
Method Detail
-
networking
final BetaManagedAgentsCredentialNetworkingParams networking()
Outbound hosts the secret value is substituted on.
-
secretName
final String secretName()
Name of the environment variable. Immutable after create.
-
secretValue
final String secretValue()
The secret to substitute into the agent's outbound requests. It's write-only and never returned in responses.
-
injectionLocation
final Optional<BetaManagedAgentsInjectionLocationParams> injectionLocation()
Where in the outbound request the secret value may be substituted.
-
_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).
-
_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.
-
_secretName
final JsonField<String> _secretName()
Returns the raw JSON value of secretName.
Unlike secretName, 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.
-
_injectionLocation
final JsonField<BetaManagedAgentsInjectionLocationParams> _injectionLocation()
Returns the raw JSON value of injectionLocation.
Unlike injectionLocation, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsEnvironmentVariableCreateParams.Builder toBuilder()
-
validate
final BetaManagedAgentsEnvironmentVariableCreateParams 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 BetaManagedAgentsEnvironmentVariableCreateParams.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsEnvironmentVariableCreateParams.
The following fields are required:
.networking() .secretName() .secretValue()
-
-
-
-