/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the rds-2014-10-31.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.RDS.Model { /// /// Returns the details of the DB instance’s server certificate. /// /// /// /// For more information, see Using /// SSL/TLS to encrypt a connection to a DB instance in the Amazon RDS User Guide /// and /// Using SSL/TLS to encrypt a connection to a DB cluster in the Amazon Aurora /// User Guide. /// /// public partial class CertificateDetails { private string _caIdentifier; private DateTime? _validTill; /// /// Gets and sets the property CAIdentifier. /// /// The CA identifier of the CA certificate used for the DB instance's server certificate. /// /// public string CAIdentifier { get { return this._caIdentifier; } set { this._caIdentifier = value; } } // Check to see if CAIdentifier property is set internal bool IsSetCAIdentifier() { return this._caIdentifier != null; } /// /// Gets and sets the property ValidTill. /// /// The expiration date of the DB instance’s server certificate. /// /// public DateTime ValidTill { get { return this._validTill.GetValueOrDefault(); } set { this._validTill = value; } } // Check to see if ValidTill property is set internal bool IsSetValidTill() { return this._validTill.HasValue; } } }