Package com.ngrok.definitions
Class ReservedDomainCertJob
java.lang.Object
com.ngrok.definitions.ReservedDomainCertJob
A class encapsulating the
ReservedDomainCertJob
resource.-
Constructor Summary
ConstructorDescriptionReservedDomainCertJob
(Optional<String> errorCode, String msg, OffsetDateTime startedAt, Optional<OffsetDateTime> retriesAt) Creates a new instance ofReservedDomainCertJob
. -
Method Summary
Modifier and TypeMethodDescriptionboolean
if present, an error code indicating why provisioning is failing.getMsg()
a message describing the current status or errortimestamp when the provisioning job will be retriedtimestamp when the provisioning job started, RFC 3339 formatint
hashCode()
toString()
-
Constructor Details
-
ReservedDomainCertJob
public ReservedDomainCertJob(Optional<String> errorCode, String msg, OffsetDateTime startedAt, Optional<OffsetDateTime> retriesAt) Creates a new instance ofReservedDomainCertJob
.- Parameters:
errorCode
- if present, an error code indicating why provisioning is failing. It may be either a temporary condition (INTERNAL_ERROR), or a permanent one the user must correct (DNS_ERROR).msg
- a message describing the current status or errorstartedAt
- timestamp when the provisioning job started, RFC 3339 formatretriesAt
- timestamp when the provisioning job will be retried
-
-
Method Details
-
getErrorCode
if present, an error code indicating why provisioning is failing. It may be either a temporary condition (INTERNAL_ERROR), or a permanent one the user must correct (DNS_ERROR). -
getMsg
a message describing the current status or error- Returns:
- the value of the property as a
String
-
getStartedAt
timestamp when the provisioning job started, RFC 3339 format- Returns:
- the value of the property as a
OffsetDateTime
-
getRetriesAt
timestamp when the provisioning job will be retried- Returns:
- the value of the property as a
OffsetDateTime
wrapped in anOptional
-
equals
-
hashCode
public int hashCode() -
toString
-