/* * 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 acm-2015-12-08.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.CertificateManager.Model { /// /// Contains information about the validation of each domain name in the certificate. /// public partial class DomainValidation { private string _domainName; private ResourceRecord _resourceRecord; private string _validationDomain; private List _validationEmails = new List(); private ValidationMethod _validationMethod; private DomainStatus _validationStatus; /// /// Gets and sets the property DomainName. /// /// A fully qualified domain name (FQDN) in the certificate. For example, www.example.com /// or example.com. /// /// [AWSProperty(Required=true, Min=1, Max=253)] public string DomainName { get { return this._domainName; } set { this._domainName = value; } } // Check to see if DomainName property is set internal bool IsSetDomainName() { return this._domainName != null; } /// /// Gets and sets the property ResourceRecord. /// /// Contains the CNAME record that you add to your DNS database for domain validation. /// For more information, see Use /// DNS to Validate Domain Ownership. /// /// /// /// Note: The CNAME information that you need does not include the name of your domain. /// If you include
 your domain name in the DNS database CNAME record, validation /// fails.
 For example, if the name is "_a79865eb4cd1a6ab990a45779b4e0b96.yourdomain.com", /// only "_a79865eb4cd1a6ab990a45779b4e0b96" must be used. /// /// public ResourceRecord ResourceRecord { get { return this._resourceRecord; } set { this._resourceRecord = value; } } // Check to see if ResourceRecord property is set internal bool IsSetResourceRecord() { return this._resourceRecord != null; } /// /// Gets and sets the property ValidationDomain. /// /// The domain name that ACM used to send domain validation emails. /// /// [AWSProperty(Min=1, Max=253)] public string ValidationDomain { get { return this._validationDomain; } set { this._validationDomain = value; } } // Check to see if ValidationDomain property is set internal bool IsSetValidationDomain() { return this._validationDomain != null; } /// /// Gets and sets the property ValidationEmails. /// /// A list of email addresses that ACM used to send domain validation emails. /// /// public List ValidationEmails { get { return this._validationEmails; } set { this._validationEmails = value; } } // Check to see if ValidationEmails property is set internal bool IsSetValidationEmails() { return this._validationEmails != null && this._validationEmails.Count > 0; } /// /// Gets and sets the property ValidationMethod. /// /// Specifies the domain validation method. /// /// public ValidationMethod ValidationMethod { get { return this._validationMethod; } set { this._validationMethod = value; } } // Check to see if ValidationMethod property is set internal bool IsSetValidationMethod() { return this._validationMethod != null; } /// /// Gets and sets the property ValidationStatus. /// /// The validation status of the domain name. This can be one of the following values: /// ///
  • /// /// PENDING_VALIDATION /// ///
  • /// /// SUCCESS /// ///
  • /// /// FAILED /// ///
///
public DomainStatus ValidationStatus { get { return this._validationStatus; } set { this._validationStatus = value; } } // Check to see if ValidationStatus property is set internal bool IsSetValidationStatus() { return this._validationStatus != null; } } }