Class BetaManagedAgentsLimitedCredentialNetworkingParams.Builder
-
- All Implemented Interfaces:
public final class BetaManagedAgentsLimitedCredentialNetworkingParams.BuilderA builder for BetaManagedAgentsLimitedCredentialNetworkingParams.
-
-
Method Summary
-
-
Method Detail
-
allowedHosts
final BetaManagedAgentsLimitedCredentialNetworkingParams.Builder allowedHosts(List<String> allowedHosts)
The destination hosts of the outbound requests that the credential's secret is substituted into.
Each entry is a bare hostname (
api.example.com), an IPv4 address (192.0.2.1), or a*.wildcard (*.example.com). URLs, ports, paths, and IPv6 addresses aren't accepted. The list can have up to 16 entries.
-
allowedHosts
final BetaManagedAgentsLimitedCredentialNetworkingParams.Builder allowedHosts(JsonField<List<String>> allowedHosts)
Sets Builder.allowedHosts to an arbitrary JSON value.
You should usually call Builder.allowedHosts with a well-typed
List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final BetaManagedAgentsLimitedCredentialNetworkingParams.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("limited")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaManagedAgentsLimitedCredentialNetworkingParams.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
addAllowedHost
final BetaManagedAgentsLimitedCredentialNetworkingParams.Builder addAllowedHost(String allowedHost)
Adds a single String to allowedHosts.
-
putAdditionalProperty
final BetaManagedAgentsLimitedCredentialNetworkingParams.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaManagedAgentsLimitedCredentialNetworkingParams.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaManagedAgentsLimitedCredentialNetworkingParams.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaManagedAgentsLimitedCredentialNetworkingParams.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaManagedAgentsLimitedCredentialNetworkingParams build()
Returns an immutable instance of BetaManagedAgentsLimitedCredentialNetworkingParams.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.allowedHosts()
-
-
-
-