Class CertificateAuthorityIssuanceExpiryRule
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.certificatesmanagement.model.CertificateAuthorityRule
-
- com.oracle.bmc.certificatesmanagement.model.CertificateAuthorityIssuanceExpiryRule
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20210224") public final class CertificateAuthorityIssuanceExpiryRule extends CertificateAuthorityRule
A rule that enforces how long certificates or certificate authorities (CAs) issued by this particular CA are valid.You must include either or both leafCertificateMaxValidityDuration and certificateAuthorityMaxValidityDuration.
Note: Objects should always be created or deserialized using theCertificateAuthorityIssuanceExpiryRule.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 theCertificateAuthorityIssuanceExpiryRule.Builder
, which maintain a set of all explicitly set fields calledCertificateAuthorityIssuanceExpiryRule.Builder.__explicitlySet__
. ThehashCode()
andequals(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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CertificateAuthorityIssuanceExpiryRule.Builder
-
Nested classes/interfaces inherited from class com.oracle.bmc.certificatesmanagement.model.CertificateAuthorityRule
CertificateAuthorityRule.RuleType
-
-
Constructor Summary
Constructors Constructor Description CertificateAuthorityIssuanceExpiryRule(String leafCertificateMaxValidityDuration, String certificateAuthorityMaxValidityDuration)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CertificateAuthorityIssuanceExpiryRule.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getCertificateAuthorityMaxValidityDuration()
A property indicating the maximum validity duration, in days, of subordinate CA’s issued by this CA.String
getLeafCertificateMaxValidityDuration()
A property indicating the maximum validity duration, in days, of leaf certificates issued by this CA.int
hashCode()
CertificateAuthorityIssuanceExpiryRule.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
CertificateAuthorityIssuanceExpiryRule
@Deprecated public CertificateAuthorityIssuanceExpiryRule(String leafCertificateMaxValidityDuration, String certificateAuthorityMaxValidityDuration)
Deprecated.
-
-
Method Detail
-
builder
public static CertificateAuthorityIssuanceExpiryRule.Builder builder()
Create a new builder.
-
toBuilder
public CertificateAuthorityIssuanceExpiryRule.Builder toBuilder()
-
getLeafCertificateMaxValidityDuration
public String getLeafCertificateMaxValidityDuration()
A property indicating the maximum validity duration, in days, of leaf certificates issued by this CA.Expressed in ISO 8601 format.
- Returns:
- the value
-
getCertificateAuthorityMaxValidityDuration
public String getCertificateAuthorityMaxValidityDuration()
A property indicating the maximum validity duration, in days, of subordinate CA’s issued by this CA.Expressed in ISO 8601 format.
- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classCertificateAuthorityRule
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toString
in classCertificateAuthorityRule
- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classCertificateAuthorityRule
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classCertificateAuthorityRule
-
-