Class BetaManagedAgentsEnvironmentVariableCreateParams.Builder
-
- All Implemented Interfaces:
public final class BetaManagedAgentsEnvironmentVariableCreateParams.BuilderA builder for BetaManagedAgentsEnvironmentVariableCreateParams.
-
-
Method Summary
-
-
Method Detail
-
networking
final BetaManagedAgentsEnvironmentVariableCreateParams.Builder networking(BetaManagedAgentsCredentialNetworkingParams networking)
Outbound hosts the secret value is substituted on.
-
networking
final BetaManagedAgentsEnvironmentVariableCreateParams.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 BetaManagedAgentsEnvironmentVariableCreateParams.Builder networking(BetaManagedAgentsUnrestrictedCredentialNetworkingParams unrestricted)
Alias for calling networking with
BetaManagedAgentsCredentialNetworkingParams.ofUnrestricted(unrestricted).
-
networking
final BetaManagedAgentsEnvironmentVariableCreateParams.Builder networking(BetaManagedAgentsLimitedCredentialNetworkingParams limited)
Alias for calling networking with
BetaManagedAgentsCredentialNetworkingParams.ofLimited(limited).
-
limitedNetworking
final BetaManagedAgentsEnvironmentVariableCreateParams.Builder limitedNetworking(List<String> allowedHosts)
Alias for calling networking with the following:
BetaManagedAgentsLimitedCredentialNetworkingParams.builder() .type(BetaManagedAgentsLimitedCredentialNetworkingParams.Type.LIMITED) .allowedHosts(allowedHosts) .build()
-
secretName
final BetaManagedAgentsEnvironmentVariableCreateParams.Builder secretName(String secretName)
Name of the environment variable. Immutable after create.
-
secretName
final BetaManagedAgentsEnvironmentVariableCreateParams.Builder secretName(JsonField<String> secretName)
Sets Builder.secretName to an arbitrary JSON value.
You should usually call Builder.secretName with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
secretValue
final BetaManagedAgentsEnvironmentVariableCreateParams.Builder secretValue(String secretValue)
Secret value. Write-only; never returned in responses.
-
secretValue
final BetaManagedAgentsEnvironmentVariableCreateParams.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.
-
type
final BetaManagedAgentsEnvironmentVariableCreateParams.Builder type(BetaManagedAgentsEnvironmentVariableCreateParams.Type type)
-
type
final BetaManagedAgentsEnvironmentVariableCreateParams.Builder type(JsonField<BetaManagedAgentsEnvironmentVariableCreateParams.Type> type)
Sets Builder.type to an arbitrary JSON value.
You should usually call Builder.type with a well-typed Type value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaManagedAgentsEnvironmentVariableCreateParams.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaManagedAgentsEnvironmentVariableCreateParams.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaManagedAgentsEnvironmentVariableCreateParams.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaManagedAgentsEnvironmentVariableCreateParams.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaManagedAgentsEnvironmentVariableCreateParams.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaManagedAgentsEnvironmentVariableCreateParams build()
Returns an immutable instance of BetaManagedAgentsEnvironmentVariableCreateParams.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.networking() .secretName() .secretValue() .type()
-
-
-
-