/*
* 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
{
///
/// This is the response object from the DescribeBroker operation.
///
public partial class DescribeBrokerResponse : AmazonWebServiceResponse
{
private List _actionsRequired = new List();
private AuthenticationStrategy _authenticationStrategy;
private bool? _autoMinorVersionUpgrade;
private string _brokerArn;
private string _brokerId;
private List _brokerInstances = new List();
private string _brokerName;
private BrokerState _brokerState;
private Configurations _configurations;
private DateTime? _created;
private DataReplicationMetadataOutput _dataReplicationMetadata;
private DataReplicationMode _dataReplicationMode;
private DeploymentMode _deploymentMode;
private EncryptionOptions _encryptionOptions;
private EngineType _engineType;
private string _engineVersion;
private string _hostInstanceType;
private LdapServerMetadataOutput _ldapServerMetadata;
private LogsSummary _logs;
private WeeklyStartTime _maintenanceWindowStartTime;
private AuthenticationStrategy _pendingAuthenticationStrategy;
private DataReplicationMetadataOutput _pendingDataReplicationMetadata;
private DataReplicationMode _pendingDataReplicationMode;
private string _pendingEngineVersion;
private string _pendingHostInstanceType;
private LdapServerMetadataOutput _pendingLdapServerMetadata;
private List _pendingSecurityGroups = new List();
private bool? _publiclyAccessible;
private List _securityGroups = new List();
private BrokerStorageType _storageType;
private List _subnetIds = new List();
private Dictionary _tags = new Dictionary();
private List _users = new List();
///
/// Gets and sets the property ActionsRequired.
///
/// Actions required for a broker.
///
///
public List ActionsRequired
{
get { return this._actionsRequired; }
set { this._actionsRequired = value; }
}
// Check to see if ActionsRequired property is set
internal bool IsSetActionsRequired()
{
return this._actionsRequired != null && this._actionsRequired.Count > 0;
}
///
/// Gets and sets the property AuthenticationStrategy.
///
/// 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 BrokerArn.
///
/// The broker's Amazon Resource Name (ARN).
///
///
public string BrokerArn
{
get { return this._brokerArn; }
set { this._brokerArn = value; }
}
// Check to see if BrokerArn property is set
internal bool IsSetBrokerArn()
{
return this._brokerArn != null;
}
///
/// Gets and sets the property BrokerId.
///
/// The unique ID that Amazon MQ generates for the broker.
///
///
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 BrokerInstances.
///
/// A list of information about allocated brokers.
///
///
public List BrokerInstances
{
get { return this._brokerInstances; }
set { this._brokerInstances = value; }
}
// Check to see if BrokerInstances property is set
internal bool IsSetBrokerInstances()
{
return this._brokerInstances != null && this._brokerInstances.Count > 0;
}
///
/// Gets and sets the property BrokerName.
///
/// The broker's name. This value must be unique in your Amazon Web Services account account,
/// 1-50 characters long, must contain only letters, numbers, dashes, and underscores,
/// and must not contain white spaces, brackets, wildcard characters, or special characters.
///
///
public string BrokerName
{
get { return this._brokerName; }
set { this._brokerName = value; }
}
// Check to see if BrokerName property is set
internal bool IsSetBrokerName()
{
return this._brokerName != null;
}
///
/// Gets and sets the property BrokerState.
///
/// The broker's status.
///
///
public BrokerState BrokerState
{
get { return this._brokerState; }
set { this._brokerState = value; }
}
// Check to see if BrokerState property is set
internal bool IsSetBrokerState()
{
return this._brokerState != null;
}
///
/// Gets and sets the property Configurations.
///
/// The list of all revisions for the specified configuration.
///
///
public Configurations Configurations
{
get { return this._configurations; }
set { this._configurations = value; }
}
// Check to see if Configurations property is set
internal bool IsSetConfigurations()
{
return this._configurations != null;
}
///
/// Gets and sets the property Created.
///
/// The time when the broker was created.
///
///
public DateTime Created
{
get { return this._created.GetValueOrDefault(); }
set { this._created = value; }
}
// Check to see if Created property is set
internal bool IsSetCreated()
{
return this._created.HasValue;
}
///
/// Gets and sets the property DataReplicationMetadata.
///
/// The replication details of the data replication-enabled broker. Only returned if dataReplicationMode
/// is set to CRDR.
///
///
public DataReplicationMetadataOutput DataReplicationMetadata
{
get { return this._dataReplicationMetadata; }
set { this._dataReplicationMetadata = value; }
}
// Check to see if DataReplicationMetadata property is set
internal bool IsSetDataReplicationMetadata()
{
return this._dataReplicationMetadata != null;
}
///
/// Gets and sets the property DataReplicationMode.
///
/// Describes 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 DeploymentMode.
///
/// The broker's deployment mode.
///
///
public DeploymentMode DeploymentMode
{
get { return this._deploymentMode; }
set { this._deploymentMode = value; }
}
// Check to see if DeploymentMode property is set
internal bool IsSetDeploymentMode()
{
return this._deploymentMode != null;
}
///
/// Gets and sets the property EncryptionOptions.
///
/// Encryption options for the broker.
///
///
public EncryptionOptions EncryptionOptions
{
get { return this._encryptionOptions; }
set { this._encryptionOptions = value; }
}
// Check to see if EncryptionOptions property is set
internal bool IsSetEncryptionOptions()
{
return this._encryptionOptions != null;
}
///
/// Gets and sets the property EngineType.
///
/// The type of broker engine. Currently, Amazon MQ supports ACTIVEMQ and RABBITMQ.
///
///
public EngineType EngineType
{
get { return this._engineType; }
set { this._engineType = value; }
}
// Check to see if EngineType property is set
internal bool IsSetEngineType()
{
return this._engineType != null;
}
///
/// Gets and sets the property EngineVersion.
///
/// The broker engine's 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 instance type.
///
///
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.
///
/// The metadata of the LDAP server used to authenticate and authorize connections to
/// the broker.
///
///
public LdapServerMetadataOutput 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.
///
/// The list of information about logs currently enabled and pending to be deployed for
/// the specified broker.
///
///
public LogsSummary 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 PendingAuthenticationStrategy.
///
/// The authentication strategy that will be applied when the broker is rebooted. The
/// default is SIMPLE.
///
///
public AuthenticationStrategy PendingAuthenticationStrategy
{
get { return this._pendingAuthenticationStrategy; }
set { this._pendingAuthenticationStrategy = value; }
}
// Check to see if PendingAuthenticationStrategy property is set
internal bool IsSetPendingAuthenticationStrategy()
{
return this._pendingAuthenticationStrategy != null;
}
///
/// Gets and sets the property PendingDataReplicationMetadata.
///
/// The pending replication details of the data replication-enabled broker. Only returned
/// if pendingDataReplicationMode is set to CRDR.
///
///
public DataReplicationMetadataOutput PendingDataReplicationMetadata
{
get { return this._pendingDataReplicationMetadata; }
set { this._pendingDataReplicationMetadata = value; }
}
// Check to see if PendingDataReplicationMetadata property is set
internal bool IsSetPendingDataReplicationMetadata()
{
return this._pendingDataReplicationMetadata != null;
}
///
/// Gets and sets the property PendingDataReplicationMode.
///
/// Describes whether this broker will be a part of a data replication pair after reboot.
///
///
public DataReplicationMode PendingDataReplicationMode
{
get { return this._pendingDataReplicationMode; }
set { this._pendingDataReplicationMode = value; }
}
// Check to see if PendingDataReplicationMode property is set
internal bool IsSetPendingDataReplicationMode()
{
return this._pendingDataReplicationMode != null;
}
///
/// Gets and sets the property PendingEngineVersion.
///
/// The broker engine version to upgrade to. For a list of supported engine versions,
/// see Supported
/// engines.
///
///
public string PendingEngineVersion
{
get { return this._pendingEngineVersion; }
set { this._pendingEngineVersion = value; }
}
// Check to see if PendingEngineVersion property is set
internal bool IsSetPendingEngineVersion()
{
return this._pendingEngineVersion != null;
}
///
/// Gets and sets the property PendingHostInstanceType.
///
/// The broker's host instance type to upgrade to. For a list of supported instance types,
/// see Broker
/// instance types.
///
///
public string PendingHostInstanceType
{
get { return this._pendingHostInstanceType; }
set { this._pendingHostInstanceType = value; }
}
// Check to see if PendingHostInstanceType property is set
internal bool IsSetPendingHostInstanceType()
{
return this._pendingHostInstanceType != null;
}
///
/// Gets and sets the property PendingLdapServerMetadata.
///
/// The metadata of the LDAP server that will be used to authenticate and authorize connections
/// to the broker after it is rebooted.
///
///
public LdapServerMetadataOutput PendingLdapServerMetadata
{
get { return this._pendingLdapServerMetadata; }
set { this._pendingLdapServerMetadata = value; }
}
// Check to see if PendingLdapServerMetadata property is set
internal bool IsSetPendingLdapServerMetadata()
{
return this._pendingLdapServerMetadata != null;
}
///
/// Gets and sets the property PendingSecurityGroups.
///
/// The list of pending security groups to authorize connections to brokers.
///
///
public List PendingSecurityGroups
{
get { return this._pendingSecurityGroups; }
set { this._pendingSecurityGroups = value; }
}
// Check to see if PendingSecurityGroups property is set
internal bool IsSetPendingSecurityGroups()
{
return this._pendingSecurityGroups != null && this._pendingSecurityGroups.Count > 0;
}
///
/// Gets and sets the property PubliclyAccessible.
///
/// Enables connections from applications outside of the VPC that hosts the broker's subnets.
///
///
public bool PubliclyAccessible
{
get { return this._publiclyAccessible.GetValueOrDefault(); }
set { this._publiclyAccessible = value; }
}
// Check to see if PubliclyAccessible property is set
internal bool IsSetPubliclyAccessible()
{
return this._publiclyAccessible.HasValue;
}
///
/// Gets and sets the property SecurityGroups.
///
/// The list of rules (1 minimum, 125 maximum) that authorize 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;
}
///
/// Gets and sets the property StorageType.
///
/// The broker's storage type.
///
///
public BrokerStorageType StorageType
{
get { return this._storageType; }
set { this._storageType = value; }
}
// Check to see if StorageType property is set
internal bool IsSetStorageType()
{
return this._storageType != null;
}
///
/// Gets and sets the property SubnetIds.
///
/// The list of groups that define which subnets and IP ranges the broker can use from
/// different Availability Zones.
///
///
public List SubnetIds
{
get { return this._subnetIds; }
set { this._subnetIds = value; }
}
// Check to see if SubnetIds property is set
internal bool IsSetSubnetIds()
{
return this._subnetIds != null && this._subnetIds.Count > 0;
}
///
/// Gets and sets the property Tags.
///
/// The list of all tags associated with this broker.
///
///
public Dictionary Tags
{
get { return this._tags; }
set { this._tags = value; }
}
// Check to see if Tags property is set
internal bool IsSetTags()
{
return this._tags != null && this._tags.Count > 0;
}
///
/// Gets and sets the property Users.
///
/// The list of all broker usernames for the specified broker.
///
///
public List Users
{
get { return this._users; }
set { this._users = value; }
}
// Check to see if Users property is set
internal bool IsSetUsers()
{
return this._users != null && this._users.Count > 0;
}
}
}