#[non_exhaustive]pub struct UpdateBrokerInputBuilder { /* private fields */ }
Expand description
A builder for UpdateBrokerInput
.
Implementations§
source§impl UpdateBrokerInputBuilder
impl UpdateBrokerInputBuilder
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
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.
sourcepub fn set_auto_minor_version_upgrade(self, input: Option<bool>) -> Self
pub fn set_auto_minor_version_upgrade(self, input: Option<bool>) -> Self
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.
sourcepub fn get_auto_minor_version_upgrade(&self) -> &Option<bool>
pub fn get_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.
sourcepub fn broker_id(self, input: impl Into<String>) -> Self
pub fn broker_id(self, input: impl Into<String>) -> Self
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
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>
The unique ID that Amazon MQ generates for the broker.
sourcepub fn configuration(self, input: ConfigurationId) -> Self
pub fn configuration(self, input: ConfigurationId) -> Self
A list of information about the configuration.
sourcepub fn set_configuration(self, input: Option<ConfigurationId>) -> Self
pub fn set_configuration(self, input: Option<ConfigurationId>) -> Self
A list of information about the configuration.
sourcepub fn get_configuration(&self) -> &Option<ConfigurationId>
pub fn get_configuration(&self) -> &Option<ConfigurationId>
A list of information about the 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. 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. 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. 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: LdapServerMetadataInput) -> Self
pub fn ldap_server_metadata(self, input: LdapServerMetadataInput) -> 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<LdapServerMetadataInput>
) -> Self
pub fn set_ldap_server_metadata( self, input: Option<LdapServerMetadataInput> ) -> 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<LdapServerMetadataInput>
pub fn get_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.
sourcepub fn set_logs(self, input: Option<Logs>) -> Self
pub fn set_logs(self, input: Option<Logs>) -> Self
Enables Amazon CloudWatch logging for brokers.
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_mode(self, input: DataReplicationMode) -> Self
pub fn data_replication_mode(self, input: DataReplicationMode) -> Self
Defines 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
Defines 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>
Defines whether this broker is a part of a data replication pair.
sourcepub fn build(self) -> Result<UpdateBrokerInput, BuildError>
pub fn build(self) -> Result<UpdateBrokerInput, BuildError>
Consumes the builder and constructs a UpdateBrokerInput
.
source§impl UpdateBrokerInputBuilder
impl UpdateBrokerInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateBrokerOutput, SdkError<UpdateBrokerError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateBrokerOutput, SdkError<UpdateBrokerError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateBrokerInputBuilder
impl Clone for UpdateBrokerInputBuilder
source§fn clone(&self) -> UpdateBrokerInputBuilder
fn clone(&self) -> UpdateBrokerInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateBrokerInputBuilder
impl Debug for UpdateBrokerInputBuilder
source§impl Default for UpdateBrokerInputBuilder
impl Default for UpdateBrokerInputBuilder
source§fn default() -> UpdateBrokerInputBuilder
fn default() -> UpdateBrokerInputBuilder
source§impl PartialEq<UpdateBrokerInputBuilder> for UpdateBrokerInputBuilder
impl PartialEq<UpdateBrokerInputBuilder> for UpdateBrokerInputBuilder
source§fn eq(&self, other: &UpdateBrokerInputBuilder) -> bool
fn eq(&self, other: &UpdateBrokerInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.