Package com.ngrok.definitions
Class SshCertificateAuthority
java.lang.Object
com.ngrok.definitions.SshCertificateAuthority
A class encapsulating the
SshCertificateAuthority
resource.-
Constructor Summary
ConstructorDescriptionSshCertificateAuthority
(String id, URI uri, OffsetDateTime createdAt, String description, String metadata, String publicKey, String keyType) Creates a new instance ofSshCertificateAuthority
. -
Method Summary
Modifier and TypeMethodDescriptionboolean
timestamp when the SSH Certificate Authority API resource was created, RFC 3339 formathuman-readable description of this SSH Certificate Authority.getId()
unique identifier for this SSH Certificate Authoritythe type of private key for this SSH Certificate Authorityarbitrary user-defined machine-readable data of this SSH Certificate Authority.raw public key for this SSH Certificate AuthoritygetUri()
URI of the SSH Certificate Authority API resourceint
hashCode()
toString()
-
Constructor Details
-
SshCertificateAuthority
public SshCertificateAuthority(String id, URI uri, OffsetDateTime createdAt, String description, String metadata, String publicKey, String keyType) Creates a new instance ofSshCertificateAuthority
.- Parameters:
id
- unique identifier for this SSH Certificate Authorityuri
- URI of the SSH Certificate Authority API resourcecreatedAt
- timestamp when the SSH Certificate Authority API resource was created, RFC 3339 formatdescription
- human-readable description of this SSH Certificate Authority. optional, max 255 bytes.metadata
- arbitrary user-defined machine-readable data of this SSH Certificate Authority. optional, max 4096 bytes.publicKey
- raw public key for this SSH Certificate AuthoritykeyType
- the type of private key for this SSH Certificate Authority
-
-
Method Details
-
getId
unique identifier for this SSH Certificate Authority- Returns:
- the value of the property as a
String
-
getUri
URI of the SSH Certificate Authority API resource- Returns:
- the value of the property as a
URI
-
getCreatedAt
timestamp when the SSH Certificate Authority API resource was created, RFC 3339 format- Returns:
- the value of the property as a
OffsetDateTime
-
getDescription
human-readable description of this SSH Certificate Authority. optional, max 255 bytes.- Returns:
- the value of the property as a
String
-
getMetadata
arbitrary user-defined machine-readable data of this SSH Certificate Authority. optional, max 4096 bytes.- Returns:
- the value of the property as a
String
-
getPublicKey
raw public key for this SSH Certificate Authority- Returns:
- the value of the property as a
String
-
getKeyType
the type of private key for this SSH Certificate Authority- Returns:
- the value of the property as a
String
-
equals
-
hashCode
public int hashCode() -
toString
-