@Generated(value="OracleSDKGenerator", comments="API Version: 20210224") public final class CertificateRenewalRule extends CertificateRule
A rule that imposes constraints on certificate renewal.
Note: Objects should always be created or deserialized using the CertificateRenewalRule.Builder
. This model
distinguishes fields that are null
because they are unset from fields that are explicitly
set to null
. This is done in the setter methods of the CertificateRenewalRule.Builder
, which maintain a
set of all explicitly set fields called CertificateRenewalRule.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
CertificateRenewalRule.Builder |
CertificateRule.RuleType
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
CertificateRenewalRule(String renewalInterval,
String advanceRenewalPeriod)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static CertificateRenewalRule.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getAdvanceRenewalPeriod()
A property specifying the period of time, in days, before the certificate’s targeted renewal
that the process should occur.
|
String |
getRenewalInterval()
A property specifying how often, in days, a certificate should be renewed.
|
int |
hashCode() |
CertificateRenewalRule.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public CertificateRenewalRule(String renewalInterval, String advanceRenewalPeriod)
public static CertificateRenewalRule.Builder builder()
Create a new builder.
public CertificateRenewalRule.Builder toBuilder()
public String getRenewalInterval()
A property specifying how often, in days, a certificate should be renewed. Expressed in ISO 8601 format.
public String getAdvanceRenewalPeriod()
A property specifying the period of time, in days, before the certificate’s targeted renewal that the process should occur. Expressed in ISO 8601 format.
public String toString()
toString
in class CertificateRule
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class CertificateRule
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class CertificateRule
public int hashCode()
hashCode
in class CertificateRule
Copyright © 2016–2024. All rights reserved.