Class BetaTunnelCertificate.Builder
-
- All Implemented Interfaces:
public final class BetaTunnelCertificate.BuilderA builder for BetaTunnelCertificate.
-
-
Method Summary
-
-
Method Detail
-
id
final BetaTunnelCertificate.Builder id(String id)
Unique identifier for the certificate, prefixed with
tcrt_.
-
id
final BetaTunnelCertificate.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.
-
archivedAt
final BetaTunnelCertificate.Builder archivedAt(OffsetDateTime archivedAt)
RFC 3339 datetime string indicating when the certificate was archived. Null if it is still in the trusted set.
-
archivedAt
final BetaTunnelCertificate.Builder archivedAt(Optional<OffsetDateTime> archivedAt)
Alias for calling Builder.archivedAt with
archivedAt.orElse(null).
-
archivedAt
final BetaTunnelCertificate.Builder archivedAt(JsonField<OffsetDateTime> archivedAt)
Sets Builder.archivedAt to an arbitrary JSON value.
You should usually call Builder.archivedAt with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
createdAt
final BetaTunnelCertificate.Builder createdAt(OffsetDateTime createdAt)
RFC 3339 datetime string indicating when the certificate was registered.
-
createdAt
final BetaTunnelCertificate.Builder createdAt(JsonField<OffsetDateTime> createdAt)
Sets Builder.createdAt to an arbitrary JSON value.
You should usually call Builder.createdAt with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
expiresAt
final BetaTunnelCertificate.Builder expiresAt(OffsetDateTime expiresAt)
RFC 3339 datetime string indicating when the certificate expires, or
nullif it does not expire.
-
expiresAt
final BetaTunnelCertificate.Builder expiresAt(Optional<OffsetDateTime> expiresAt)
Alias for calling Builder.expiresAt with
expiresAt.orElse(null).
-
expiresAt
final BetaTunnelCertificate.Builder expiresAt(JsonField<OffsetDateTime> expiresAt)
Sets Builder.expiresAt to an arbitrary JSON value.
You should usually call Builder.expiresAt with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
fingerprint
final BetaTunnelCertificate.Builder fingerprint(String fingerprint)
Lowercase hex SHA-256 fingerprint of the certificate's DER encoding.
-
fingerprint
final BetaTunnelCertificate.Builder fingerprint(JsonField<String> fingerprint)
Sets Builder.fingerprint to an arbitrary JSON value.
You should usually call Builder.fingerprint with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
tunnelId
final BetaTunnelCertificate.Builder tunnelId(String tunnelId)
ID of the tunnel the certificate is registered against.
-
tunnelId
final BetaTunnelCertificate.Builder tunnelId(JsonField<String> tunnelId)
Sets Builder.tunnelId to an arbitrary JSON value.
You should usually call Builder.tunnelId 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 BetaTunnelCertificate.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_certificate")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaTunnelCertificate.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaTunnelCertificate.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaTunnelCertificate.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaTunnelCertificate.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaTunnelCertificate.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaTunnelCertificate build()
Returns an immutable instance of BetaTunnelCertificate.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .archivedAt() .createdAt() .expiresAt() .fingerprint() .tunnelId()
-
-
-
-