#[non_exhaustive]
pub struct UpdateBrokerInput { pub authentication_strategy: Option<AuthenticationStrategy>, pub auto_minor_version_upgrade: Option<bool>, pub broker_id: Option<String>, pub configuration: Option<ConfigurationId>, pub engine_version: Option<String>, pub host_instance_type: Option<String>, pub ldap_server_metadata: Option<LdapServerMetadataInput>, pub logs: Option<Logs>, pub maintenance_window_start_time: Option<WeeklyStartTime>, pub security_groups: Option<Vec<String>>, pub data_replication_mode: Option<DataReplicationMode>, }
Expand description

Updates the broker using the specified properties.

Fields (Non-exhaustive)§

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
§authentication_strategy: Option<AuthenticationStrategy>

Optional. The authentication strategy used to secure the broker. The default is SIMPLE.

§auto_minor_version_upgrade: Option<bool>

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.

§broker_id: Option<String>

The unique ID that Amazon MQ generates for the broker.

§configuration: Option<ConfigurationId>

A list of information about the configuration.

§engine_version: Option<String>

The broker engine version. For a list of supported engine versions, see Supported engines.

§host_instance_type: Option<String>

The broker's host instance type to upgrade to. For a list of supported instance types, see Broker instance types.

§ldap_server_metadata: Option<LdapServerMetadataInput>

Optional. The metadata of the LDAP server used to authenticate and authorize connections to the broker. Does not apply to RabbitMQ brokers.

§logs: Option<Logs>

Enables Amazon CloudWatch logging for brokers.

§maintenance_window_start_time: Option<WeeklyStartTime>

The parameters that determine the WeeklyStartTime.

§security_groups: Option<Vec<String>>

The list of security groups (1 minimum, 5 maximum) that authorizes connections to brokers.

§data_replication_mode: Option<DataReplicationMode>

Defines whether this broker is a part of a data replication pair.

Implementations§

source§

impl UpdateBrokerInput

source

pub fn authentication_strategy(&self) -> Option<&AuthenticationStrategy>

Optional. The authentication strategy used to secure the broker. The default is SIMPLE.

source

pub fn auto_minor_version_upgrade(&self) -> Option<bool>

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.

source

pub fn broker_id(&self) -> Option<&str>

The unique ID that Amazon MQ generates for the broker.

source

pub fn configuration(&self) -> Option<&ConfigurationId>

A list of information about the configuration.

source

pub fn engine_version(&self) -> Option<&str>

The broker engine version. For a list of supported engine versions, see Supported engines.

source

pub fn host_instance_type(&self) -> Option<&str>

The broker's host instance type to upgrade to. For a list of supported instance types, see Broker instance types.

source

pub fn ldap_server_metadata(&self) -> Option<&LdapServerMetadataInput>

Optional. The metadata of the LDAP server used to authenticate and authorize connections to the broker. Does not apply to RabbitMQ brokers.

source

pub fn logs(&self) -> Option<&Logs>

Enables Amazon CloudWatch logging for brokers.

source

pub fn maintenance_window_start_time(&self) -> Option<&WeeklyStartTime>

The parameters that determine the WeeklyStartTime.

source

pub fn security_groups(&self) -> Option<&[String]>

The list of security groups (1 minimum, 5 maximum) that authorizes connections to brokers.

source

pub fn data_replication_mode(&self) -> Option<&DataReplicationMode>

Defines whether this broker is a part of a data replication pair.

source§

impl UpdateBrokerInput

source

pub fn builder() -> UpdateBrokerInputBuilder

Creates a new builder-style object to manufacture UpdateBrokerInput.

Trait Implementations§

source§

impl Clone for UpdateBrokerInput

source§

fn clone(&self) -> UpdateBrokerInput

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for UpdateBrokerInput

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<UpdateBrokerInput> for UpdateBrokerInput

source§

fn eq(&self, other: &UpdateBrokerInput) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl StructuralPartialEq for UpdateBrokerInput

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more