/* * 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 { /// /// Container for the parameters to the ModifyCertificates operation. /// Override the system-default Secure Sockets Layer/Transport Layer Security (SSL/TLS) /// certificate for Amazon RDS for new DB instances, or remove the override. /// /// /// /// By using this operation, you can specify an RDS-approved SSL/TLS certificate for new /// DB instances that is different from the default certificate provided by RDS. You can /// also use this operation to remove the override, so that new DB instances use the default /// certificate provided by RDS. /// /// /// /// You might need to override the default certificate in the following situations: /// /// /// /// For more information about rotating your SSL/TLS certificate for RDS DB engines, see /// /// Rotating Your SSL/TLS Certificate in the Amazon RDS User Guide. /// /// /// /// For more information about rotating your SSL/TLS certificate for Aurora DB engines, /// see /// Rotating Your SSL/TLS Certificate in the Amazon Aurora User Guide. /// /// public partial class ModifyCertificatesRequest : AmazonRDSRequest { private string _certificateIdentifier; private bool? _removeCustomerOverride; /// /// Gets and sets the property CertificateIdentifier. /// /// The new default certificate identifier to override the current one with. /// /// /// /// To determine the valid values, use the describe-certificates CLI command /// or the DescribeCertificates API operation. /// /// public string CertificateIdentifier { get { return this._certificateIdentifier; } set { this._certificateIdentifier = value; } } // Check to see if CertificateIdentifier property is set internal bool IsSetCertificateIdentifier() { return this._certificateIdentifier != null; } /// /// Gets and sets the property RemoveCustomerOverride. /// /// A value that indicates whether to remove the override for the default certificate. /// If the override is removed, the default certificate is the system default. /// /// public bool RemoveCustomerOverride { get { return this._removeCustomerOverride.GetValueOrDefault(); } set { this._removeCustomerOverride = value; } } // Check to see if RemoveCustomerOverride property is set internal bool IsSetRemoveCustomerOverride() { return this._removeCustomerOverride.HasValue; } } }