#[non_exhaustive]
pub struct UpdateBrokerOutputBuilder { /* private fields */ }
Expand description

A builder for UpdateBrokerOutput.

Implementations§

source§

impl UpdateBrokerOutputBuilder

source

pub fn authentication_strategy(self, input: AuthenticationStrategy) -> Self

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

source

pub fn set_authentication_strategy( self, input: Option<AuthenticationStrategy> ) -> Self

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

source

pub fn get_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, input: bool) -> Self

The new boolean value that specifies whether broker engines automatically upgrade to new minor versions as new versions are released and supported by Amazon MQ.

source

pub fn set_auto_minor_version_upgrade(self, input: Option<bool>) -> Self

The new boolean value that specifies whether broker engines automatically upgrade to new minor versions as new versions are released and supported by Amazon MQ.

source

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

The new boolean value that specifies whether broker engines automatically upgrade to new minor versions as new versions are released and supported by Amazon MQ.

source

pub fn broker_id(self, input: impl Into<String>) -> Self

Required. The unique ID that Amazon MQ generates for the broker.

source

pub fn set_broker_id(self, input: Option<String>) -> Self

Required. The unique ID that Amazon MQ generates for the broker.

source

pub fn get_broker_id(&self) -> &Option<String>

Required. The unique ID that Amazon MQ generates for the broker.

source

pub fn configuration(self, input: ConfigurationId) -> Self

The ID of the updated configuration.

source

pub fn set_configuration(self, input: Option<ConfigurationId>) -> Self

The ID of the updated configuration.

source

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

The ID of the updated configuration.

source

pub fn engine_version(self, input: impl Into<String>) -> Self

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

source

pub fn set_engine_version(self, input: Option<String>) -> Self

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

source

pub fn get_engine_version(&self) -> &Option<String>

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

source

pub fn host_instance_type(self, input: impl Into<String>) -> Self

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

source

pub fn set_host_instance_type(self, input: Option<String>) -> Self

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

source

pub fn get_host_instance_type(&self) -> &Option<String>

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, input: LdapServerMetadataOutput) -> Self

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 set_ldap_server_metadata( self, input: Option<LdapServerMetadataOutput> ) -> Self

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 get_ldap_server_metadata(&self) -> &Option<LdapServerMetadataOutput>

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, input: Logs) -> Self

The list of information about logs to be enabled for the specified broker.

source

pub fn set_logs(self, input: Option<Logs>) -> Self

The list of information about logs to be enabled for the specified broker.

source

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

The list of information about logs to be enabled for the specified broker.

source

pub fn maintenance_window_start_time(self, input: WeeklyStartTime) -> Self

The parameters that determine the WeeklyStartTime.

source

pub fn set_maintenance_window_start_time( self, input: Option<WeeklyStartTime> ) -> Self

The parameters that determine the WeeklyStartTime.

source

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

The parameters that determine the WeeklyStartTime.

source

pub fn security_groups(self, input: impl Into<String>) -> Self

Appends an item to security_groups.

To override the contents of this collection use set_security_groups.

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

source

pub fn set_security_groups(self, input: Option<Vec<String>>) -> Self

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

source

pub fn get_security_groups(&self) -> &Option<Vec<String>>

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

source

pub fn data_replication_metadata( self, input: DataReplicationMetadataOutput ) -> Self

The replication details of the data replication-enabled broker. Only returned if dataReplicationMode is set to CRDR.

source

pub fn set_data_replication_metadata( self, input: Option<DataReplicationMetadataOutput> ) -> Self

The replication details of the data replication-enabled broker. Only returned if dataReplicationMode is set to CRDR.

source

pub fn get_data_replication_metadata( &self ) -> &Option<DataReplicationMetadataOutput>

The replication details of the data replication-enabled broker. Only returned if dataReplicationMode is set to CRDR.

source

pub fn data_replication_mode(self, input: DataReplicationMode) -> Self

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

source

pub fn set_data_replication_mode( self, input: Option<DataReplicationMode> ) -> Self

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

source

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

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

source

pub fn pending_data_replication_metadata( self, input: DataReplicationMetadataOutput ) -> Self

The pending replication details of the data replication-enabled broker. Only returned if pendingDataReplicationMode is set to CRDR.

source

pub fn set_pending_data_replication_metadata( self, input: Option<DataReplicationMetadataOutput> ) -> Self

The pending replication details of the data replication-enabled broker. Only returned if pendingDataReplicationMode is set to CRDR.

source

pub fn get_pending_data_replication_metadata( &self ) -> &Option<DataReplicationMetadataOutput>

The pending replication details of the data replication-enabled broker. Only returned if pendingDataReplicationMode is set to CRDR.

source

pub fn pending_data_replication_mode(self, input: DataReplicationMode) -> Self

Describes whether this broker will be a part of a data replication pair after reboot.

source

pub fn set_pending_data_replication_mode( self, input: Option<DataReplicationMode> ) -> Self

Describes whether this broker will be a part of a data replication pair after reboot.

source

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

Describes whether this broker will be a part of a data replication pair after reboot.

source

pub fn build(self) -> UpdateBrokerOutput

Consumes the builder and constructs a UpdateBrokerOutput.

Trait Implementations§

source§

impl Clone for UpdateBrokerOutputBuilder

source§

fn clone(&self) -> UpdateBrokerOutputBuilder

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 UpdateBrokerOutputBuilder

source§

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

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

impl Default for UpdateBrokerOutputBuilder

source§

fn default() -> UpdateBrokerOutputBuilder

Returns the “default value” for a type. Read more
source§

impl PartialEq<UpdateBrokerOutputBuilder> for UpdateBrokerOutputBuilder

source§

fn eq(&self, other: &UpdateBrokerOutputBuilder) -> 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 UpdateBrokerOutputBuilder

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