Class BetaTunnelToken.Builder
-
- All Implemented Interfaces:
public final class BetaTunnelToken.BuilderA builder for BetaTunnelToken.
-
-
Method Summary
-
-
Method Detail
-
id
final BetaTunnelToken.Builder id(String id)
Stable identifier for the current token value. Changes when the token is rotated.
-
id
final BetaTunnelToken.Builder id(JsonField<String> id)
Sets Builder.id to an arbitrary JSON value.
You should usually call Builder.id with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
tunnelToken
final BetaTunnelToken.Builder tunnelToken(String tunnelToken)
The connector token used to run the tunnel. Treat as a credential.
-
tunnelToken
final BetaTunnelToken.Builder tunnelToken(JsonField<String> tunnelToken)
Sets Builder.tunnelToken to an arbitrary JSON value.
You should usually call Builder.tunnelToken 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 BetaTunnelToken.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("tunnel_token")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaTunnelToken.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaTunnelToken.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaTunnelToken.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaTunnelToken.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaTunnelToken.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaTunnelToken build()
Returns an immutable instance of BetaTunnelToken.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .tunnelToken()
-
-
-
-