Class BetaManagedAgentsEnvironmentVariableUpdateParams.Builder
-
- All Implemented Interfaces:
public final class BetaManagedAgentsEnvironmentVariableUpdateParams.BuilderA builder for BetaManagedAgentsEnvironmentVariableUpdateParams.
-
-
Method Summary
-
-
Method Detail
-
type
final BetaManagedAgentsEnvironmentVariableUpdateParams.Builder type(JsonValue type)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("environment_variable")This method is primarily for setting the field to an undocumented or not yet supported value.
-
injectionLocation
final BetaManagedAgentsEnvironmentVariableUpdateParams.Builder injectionLocation(BetaManagedAgentsInjectionLocationUpdateParams injectionLocation)
Updated injection location.
-
injectionLocation
final BetaManagedAgentsEnvironmentVariableUpdateParams.Builder injectionLocation(JsonField<BetaManagedAgentsInjectionLocationUpdateParams> injectionLocation)
Sets Builder.injectionLocation to an arbitrary JSON value.
You should usually call Builder.injectionLocation with a well-typed BetaManagedAgentsInjectionLocationUpdateParams value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
networking
final BetaManagedAgentsEnvironmentVariableUpdateParams.Builder networking(BetaManagedAgentsCredentialNetworkingParams networking)
The new networking scope, which replaces the stored one as a whole.
-
networking
final BetaManagedAgentsEnvironmentVariableUpdateParams.Builder networking(Optional<BetaManagedAgentsCredentialNetworkingParams> networking)
Alias for calling Builder.networking with
networking.orElse(null).
-
networking
final BetaManagedAgentsEnvironmentVariableUpdateParams.Builder networking(JsonField<BetaManagedAgentsCredentialNetworkingParams> networking)
Sets Builder.networking to an arbitrary JSON value.
You should usually call Builder.networking with a well-typed BetaManagedAgentsCredentialNetworkingParams value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
networking
final BetaManagedAgentsEnvironmentVariableUpdateParams.Builder networking(BetaManagedAgentsUnrestrictedCredentialNetworkingParams unrestricted)
Alias for calling networking with
BetaManagedAgentsCredentialNetworkingParams.ofUnrestricted(unrestricted).
-
networking
final BetaManagedAgentsEnvironmentVariableUpdateParams.Builder networking(BetaManagedAgentsLimitedCredentialNetworkingParams limited)
Alias for calling networking with
BetaManagedAgentsCredentialNetworkingParams.ofLimited(limited).
-
secretValue
final BetaManagedAgentsEnvironmentVariableUpdateParams.Builder secretValue(String secretValue)
The new secret value to replace the stored one.
-
secretValue
final BetaManagedAgentsEnvironmentVariableUpdateParams.Builder secretValue(Optional<String> secretValue)
Alias for calling Builder.secretValue with
secretValue.orElse(null).
-
secretValue
final BetaManagedAgentsEnvironmentVariableUpdateParams.Builder secretValue(JsonField<String> secretValue)
Sets Builder.secretValue to an arbitrary JSON value.
You should usually call Builder.secretValue with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaManagedAgentsEnvironmentVariableUpdateParams.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
limitedNetworking
final BetaManagedAgentsEnvironmentVariableUpdateParams.Builder limitedNetworking(List<String> allowedHosts)
Alias for calling networking with the following:
BetaManagedAgentsLimitedCredentialNetworkingParams.builder() .allowedHosts(allowedHosts) .build()
-
putAdditionalProperty
final BetaManagedAgentsEnvironmentVariableUpdateParams.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaManagedAgentsEnvironmentVariableUpdateParams.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaManagedAgentsEnvironmentVariableUpdateParams.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaManagedAgentsEnvironmentVariableUpdateParams.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaManagedAgentsEnvironmentVariableUpdateParams build()
Returns an immutable instance of BetaManagedAgentsEnvironmentVariableUpdateParams.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-