/* * 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 mq-2017-11-27.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.MQ.Model { /// /// Container for the parameters to the UpdateBroker operation. /// Adds a pending configuration change to a broker. /// public partial class UpdateBrokerRequest : AmazonMQRequest { private AuthenticationStrategy _authenticationStrategy; private bool? _autoMinorVersionUpgrade; private string _brokerId; private ConfigurationId _configuration; private DataReplicationMode _dataReplicationMode; private string _engineVersion; private string _hostInstanceType; private LdapServerMetadataInput _ldapServerMetadata; private Logs _logs; private WeeklyStartTime _maintenanceWindowStartTime; private List _securityGroups = new List(); /// /// Gets and sets the property AuthenticationStrategy. /// /// Optional. The authentication strategy used to secure the broker. The default is SIMPLE. /// /// public AuthenticationStrategy AuthenticationStrategy { get { return this._authenticationStrategy; } set { this._authenticationStrategy = value; } } // Check to see if AuthenticationStrategy property is set internal bool IsSetAuthenticationStrategy() { return this._authenticationStrategy != null; } /// /// Gets and sets the property AutoMinorVersionUpgrade. /// /// Enables automatic upgrades to new minor versions for brokers, as new versions are /// released and supported by Amazon MQ. Automatic upgrades occur during the scheduled /// maintenance window of the broker or after a manual broker reboot. /// /// public bool AutoMinorVersionUpgrade { get { return this._autoMinorVersionUpgrade.GetValueOrDefault(); } set { this._autoMinorVersionUpgrade = value; } } // Check to see if AutoMinorVersionUpgrade property is set internal bool IsSetAutoMinorVersionUpgrade() { return this._autoMinorVersionUpgrade.HasValue; } /// /// Gets and sets the property BrokerId. /// /// The unique ID that Amazon MQ generates for the broker. /// /// [AWSProperty(Required=true)] public string BrokerId { get { return this._brokerId; } set { this._brokerId = value; } } // Check to see if BrokerId property is set internal bool IsSetBrokerId() { return this._brokerId != null; } /// /// Gets and sets the property Configuration. /// /// A list of information about the configuration. /// /// public ConfigurationId Configuration { get { return this._configuration; } set { this._configuration = value; } } // Check to see if Configuration property is set internal bool IsSetConfiguration() { return this._configuration != null; } /// /// Gets and sets the property DataReplicationMode. /// /// Defines whether this broker is a part of a data replication pair. /// /// public DataReplicationMode DataReplicationMode { get { return this._dataReplicationMode; } set { this._dataReplicationMode = value; } } // Check to see if DataReplicationMode property is set internal bool IsSetDataReplicationMode() { return this._dataReplicationMode != null; } /// /// Gets and sets the property EngineVersion. /// /// The broker engine version. For a list of supported engine versions, see Supported /// engines. /// /// public string EngineVersion { get { return this._engineVersion; } set { this._engineVersion = value; } } // Check to see if EngineVersion property is set internal bool IsSetEngineVersion() { return this._engineVersion != null; } /// /// Gets and sets the property HostInstanceType. /// /// The broker's host instance type to upgrade to. For a list of supported instance types, /// see Broker /// instance types. /// /// public string HostInstanceType { get { return this._hostInstanceType; } set { this._hostInstanceType = value; } } // Check to see if HostInstanceType property is set internal bool IsSetHostInstanceType() { return this._hostInstanceType != null; } /// /// Gets and sets the property LdapServerMetadata. /// /// Optional. The metadata of the LDAP server used to authenticate and authorize connections /// to the broker. Does not apply to RabbitMQ brokers. /// /// public LdapServerMetadataInput LdapServerMetadata { get { return this._ldapServerMetadata; } set { this._ldapServerMetadata = value; } } // Check to see if LdapServerMetadata property is set internal bool IsSetLdapServerMetadata() { return this._ldapServerMetadata != null; } /// /// Gets and sets the property Logs. /// /// Enables Amazon CloudWatch logging for brokers. /// /// public Logs Logs { get { return this._logs; } set { this._logs = value; } } // Check to see if Logs property is set internal bool IsSetLogs() { return this._logs != null; } /// /// Gets and sets the property MaintenanceWindowStartTime. /// /// The parameters that determine the WeeklyStartTime. /// /// public WeeklyStartTime MaintenanceWindowStartTime { get { return this._maintenanceWindowStartTime; } set { this._maintenanceWindowStartTime = value; } } // Check to see if MaintenanceWindowStartTime property is set internal bool IsSetMaintenanceWindowStartTime() { return this._maintenanceWindowStartTime != null; } /// /// Gets and sets the property SecurityGroups. /// /// The list of security groups (1 minimum, 5 maximum) that authorizes connections to /// brokers. /// /// public List SecurityGroups { get { return this._securityGroups; } set { this._securityGroups = value; } } // Check to see if SecurityGroups property is set internal bool IsSetSecurityGroups() { return this._securityGroups != null && this._securityGroups.Count > 0; } } }