Class BetaTunnelToken
-
- All Implemented Interfaces:
public final class BetaTunnelTokenA tunnel's connector token.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaTunnelToken.BuilderA builder for BetaTunnelToken.
-
Method Summary
Modifier and Type Method Description final Stringid()Stable identifier for the current token value. final StringtunnelToken()The connector token used to run the tunnel. final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("tunnel_token")final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<String>_tunnelToken()Returns the raw JSON value of tunnelToken. final Map<String, JsonValue>_additionalProperties()final BetaTunnelToken.BuildertoBuilder()final BetaTunnelTokenvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaTunnelToken.Builderbuilder()Returns a mutable builder for constructing an instance of BetaTunnelToken. -
-
Method Detail
-
id
final String id()
Stable identifier for the current token value. Changes when the token is rotated.
-
tunnelToken
final String tunnelToken()
The connector token used to run the tunnel. Treat as a credential.
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("tunnel_token")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_tunnelToken
final JsonField<String> _tunnelToken()
Returns the raw JSON value of tunnelToken.
Unlike tunnelToken, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaTunnelToken.Builder toBuilder()
-
validate
final BetaTunnelToken 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 BetaTunnelToken.Builder builder()
Returns a mutable builder for constructing an instance of BetaTunnelToken.
The following fields are required:
.id() .tunnelToken()
-
-
-
-