/* * 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 lightsail-2016-11-28.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.Lightsail.Model { /// /// Describes the TLS security policies that are available for Lightsail load balancers. /// /// /// /// For more information about load balancer TLS security policies, see Configuring /// TLS security policies on your Amazon Lightsail load balancers in the Amazon /// Lightsail Developer Guide. /// /// public partial class LoadBalancerTlsPolicy { private List _ciphers = new List(); private string _description; private bool? _isDefault; private string _name; private List _protocols = new List(); /// /// Gets and sets the property Ciphers. /// /// The ciphers used by the TLS security policy. /// /// /// /// The ciphers are listed in order of preference. /// /// public List Ciphers { get { return this._ciphers; } set { this._ciphers = value; } } // Check to see if Ciphers property is set internal bool IsSetCiphers() { return this._ciphers != null && this._ciphers.Count > 0; } /// /// Gets and sets the property Description. /// /// The description of the TLS security policy. /// /// public string Description { get { return this._description; } set { this._description = value; } } // Check to see if Description property is set internal bool IsSetDescription() { return this._description != null; } /// /// Gets and sets the property IsDefault. /// /// A Boolean value that indicates whether the TLS security policy is the default. /// /// public bool IsDefault { get { return this._isDefault.GetValueOrDefault(); } set { this._isDefault = value; } } // Check to see if IsDefault property is set internal bool IsSetIsDefault() { return this._isDefault.HasValue; } /// /// Gets and sets the property Name. /// /// The name of the TLS security policy. /// /// public string Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } /// /// Gets and sets the property Protocols. /// /// The protocols used in a given TLS security policy. /// /// public List Protocols { get { return this._protocols; } set { this._protocols = value; } } // Check to see if Protocols property is set internal bool IsSetProtocols() { return this._protocols != null && this._protocols.Count > 0; } } }