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 CertificateAuthorityRuleA 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 SummaryNested Classes Modifier and Type Class Description static classCertificateAuthorityIssuanceExpiryRule.Builder- 
Nested classes/interfaces inherited from class com.oracle.bmc.certificatesmanagement.model.CertificateAuthorityRuleCertificateAuthorityRule.RuleType
 
- 
 - 
Constructor SummaryConstructors Constructor Description CertificateAuthorityIssuanceExpiryRule(String leafCertificateMaxValidityDuration, String certificateAuthorityMaxValidityDuration)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CertificateAuthorityIssuanceExpiryRule.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetCertificateAuthorityMaxValidityDuration()A property indicating the maximum validity duration, in days, of subordinate CA’s issued by this CA.StringgetLeafCertificateMaxValidityDuration()A property indicating the maximum validity duration, in days, of leaf certificates issued by this CA.inthashCode()CertificateAuthorityIssuanceExpiryRule.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
CertificateAuthorityIssuanceExpiryRule@Deprecated public CertificateAuthorityIssuanceExpiryRule(String leafCertificateMaxValidityDuration, String certificateAuthorityMaxValidityDuration) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static CertificateAuthorityIssuanceExpiryRule.Builder builder() Create a new builder.
 - 
toBuilderpublic CertificateAuthorityIssuanceExpiryRule.Builder toBuilder() 
 - 
getLeafCertificateMaxValidityDurationpublic 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
 
 - 
getCertificateAuthorityMaxValidityDurationpublic 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
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- CertificateAuthorityRule
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.- Overrides:
- toStringin class- CertificateAuthorityRule
- Parameters:
- includeByteArrayContents- true to include the full contents of byte arrays
- Returns:
- string representation
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- CertificateAuthorityRule
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- CertificateAuthorityRule
 
 
- 
 
-