#[non_exhaustive]pub struct UpdateBrokerOutputBuilder { /* private fields */ }
Expand description
A builder for UpdateBrokerOutput
.
Implementations§
source§impl UpdateBrokerOutputBuilder
impl UpdateBrokerOutputBuilder
sourcepub fn authentication_strategy(self, input: AuthenticationStrategy) -> Self
pub fn authentication_strategy(self, input: AuthenticationStrategy) -> Self
Optional. The authentication strategy used to secure the broker. The default is SIMPLE.
sourcepub fn set_authentication_strategy(
self,
input: Option<AuthenticationStrategy>
) -> Self
pub fn set_authentication_strategy( self, input: Option<AuthenticationStrategy> ) -> Self
Optional. The authentication strategy used to secure the broker. The default is SIMPLE.
sourcepub fn get_authentication_strategy(&self) -> &Option<AuthenticationStrategy>
pub fn get_authentication_strategy(&self) -> &Option<AuthenticationStrategy>
Optional. The authentication strategy used to secure the broker. The default is SIMPLE.
sourcepub fn auto_minor_version_upgrade(self, input: bool) -> Self
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.
sourcepub fn set_auto_minor_version_upgrade(self, input: Option<bool>) -> Self
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.
sourcepub fn get_auto_minor_version_upgrade(&self) -> &Option<bool>
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.
sourcepub fn broker_id(self, input: impl Into<String>) -> Self
pub fn broker_id(self, input: impl Into<String>) -> Self
Required. The unique ID that Amazon MQ generates for the broker.
sourcepub fn set_broker_id(self, input: Option<String>) -> Self
pub fn set_broker_id(self, input: Option<String>) -> Self
Required. The unique ID that Amazon MQ generates for the broker.
sourcepub fn get_broker_id(&self) -> &Option<String>
pub fn get_broker_id(&self) -> &Option<String>
Required. The unique ID that Amazon MQ generates for the broker.
sourcepub fn configuration(self, input: ConfigurationId) -> Self
pub fn configuration(self, input: ConfigurationId) -> Self
The ID of the updated configuration.
sourcepub fn set_configuration(self, input: Option<ConfigurationId>) -> Self
pub fn set_configuration(self, input: Option<ConfigurationId>) -> Self
The ID of the updated configuration.
sourcepub fn get_configuration(&self) -> &Option<ConfigurationId>
pub fn get_configuration(&self) -> &Option<ConfigurationId>
The ID of the updated configuration.
sourcepub fn engine_version(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_engine_version(self, input: Option<String>) -> Self
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.
sourcepub fn get_engine_version(&self) -> &Option<String>
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.
sourcepub fn host_instance_type(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_host_instance_type(self, input: Option<String>) -> Self
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.
sourcepub fn get_host_instance_type(&self) -> &Option<String>
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.
sourcepub fn ldap_server_metadata(self, input: LdapServerMetadataOutput) -> Self
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.
sourcepub fn set_ldap_server_metadata(
self,
input: Option<LdapServerMetadataOutput>
) -> Self
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.
sourcepub fn get_ldap_server_metadata(&self) -> &Option<LdapServerMetadataOutput>
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.
sourcepub fn logs(self, input: Logs) -> Self
pub fn logs(self, input: Logs) -> Self
The list of information about logs to be enabled for the specified broker.
sourcepub fn set_logs(self, input: Option<Logs>) -> Self
pub fn set_logs(self, input: Option<Logs>) -> Self
The list of information about logs to be enabled for the specified broker.
sourcepub fn get_logs(&self) -> &Option<Logs>
pub fn get_logs(&self) -> &Option<Logs>
The list of information about logs to be enabled for the specified broker.
sourcepub fn maintenance_window_start_time(self, input: WeeklyStartTime) -> Self
pub fn maintenance_window_start_time(self, input: WeeklyStartTime) -> Self
The parameters that determine the WeeklyStartTime.
sourcepub fn set_maintenance_window_start_time(
self,
input: Option<WeeklyStartTime>
) -> Self
pub fn set_maintenance_window_start_time( self, input: Option<WeeklyStartTime> ) -> Self
The parameters that determine the WeeklyStartTime.
sourcepub fn get_maintenance_window_start_time(&self) -> &Option<WeeklyStartTime>
pub fn get_maintenance_window_start_time(&self) -> &Option<WeeklyStartTime>
The parameters that determine the WeeklyStartTime.
sourcepub fn security_groups(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_security_groups(self, input: Option<Vec<String>>) -> Self
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.
sourcepub fn get_security_groups(&self) -> &Option<Vec<String>>
pub fn get_security_groups(&self) -> &Option<Vec<String>>
The list of security groups (1 minimum, 5 maximum) that authorizes connections to brokers.
sourcepub fn data_replication_metadata(
self,
input: DataReplicationMetadataOutput
) -> Self
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.
sourcepub fn set_data_replication_metadata(
self,
input: Option<DataReplicationMetadataOutput>
) -> Self
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.
sourcepub fn get_data_replication_metadata(
&self
) -> &Option<DataReplicationMetadataOutput>
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.
sourcepub fn data_replication_mode(self, input: DataReplicationMode) -> Self
pub fn data_replication_mode(self, input: DataReplicationMode) -> Self
Describes whether this broker is a part of a data replication pair.
sourcepub fn set_data_replication_mode(
self,
input: Option<DataReplicationMode>
) -> Self
pub fn set_data_replication_mode( self, input: Option<DataReplicationMode> ) -> Self
Describes whether this broker is a part of a data replication pair.
sourcepub fn get_data_replication_mode(&self) -> &Option<DataReplicationMode>
pub fn get_data_replication_mode(&self) -> &Option<DataReplicationMode>
Describes whether this broker is a part of a data replication pair.
sourcepub fn pending_data_replication_metadata(
self,
input: DataReplicationMetadataOutput
) -> Self
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.
sourcepub fn set_pending_data_replication_metadata(
self,
input: Option<DataReplicationMetadataOutput>
) -> Self
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.
sourcepub fn get_pending_data_replication_metadata(
&self
) -> &Option<DataReplicationMetadataOutput>
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.
sourcepub fn pending_data_replication_mode(self, input: DataReplicationMode) -> Self
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.
sourcepub fn set_pending_data_replication_mode(
self,
input: Option<DataReplicationMode>
) -> Self
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.
sourcepub fn get_pending_data_replication_mode(&self) -> &Option<DataReplicationMode>
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.
sourcepub fn build(self) -> UpdateBrokerOutput
pub fn build(self) -> UpdateBrokerOutput
Consumes the builder and constructs a UpdateBrokerOutput
.
Trait Implementations§
source§impl Clone for UpdateBrokerOutputBuilder
impl Clone for UpdateBrokerOutputBuilder
source§fn clone(&self) -> UpdateBrokerOutputBuilder
fn clone(&self) -> UpdateBrokerOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateBrokerOutputBuilder
impl Debug for UpdateBrokerOutputBuilder
source§impl Default for UpdateBrokerOutputBuilder
impl Default for UpdateBrokerOutputBuilder
source§fn default() -> UpdateBrokerOutputBuilder
fn default() -> UpdateBrokerOutputBuilder
source§impl PartialEq for UpdateBrokerOutputBuilder
impl PartialEq for UpdateBrokerOutputBuilder
source§fn eq(&self, other: &UpdateBrokerOutputBuilder) -> bool
fn eq(&self, other: &UpdateBrokerOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateBrokerOutputBuilder
Auto Trait Implementations§
impl Freeze for UpdateBrokerOutputBuilder
impl RefUnwindSafe for UpdateBrokerOutputBuilder
impl Send for UpdateBrokerOutputBuilder
impl Sync for UpdateBrokerOutputBuilder
impl Unpin for UpdateBrokerOutputBuilder
impl UnwindSafe for UpdateBrokerOutputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more