Struct aws_sdk_mq::input::UpdateBrokerInput
source · [−]#[non_exhaustive]pub struct UpdateBrokerInput {
pub authentication_strategy: Option<AuthenticationStrategy>,
pub auto_minor_version_upgrade: 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>>,
}
Expand description
Updates the broker using the specified properties.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
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: 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.
Implementations
sourceimpl UpdateBrokerInput
impl UpdateBrokerInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateBroker, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateBroker, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<UpdateBroker
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture UpdateBrokerInput
sourceimpl UpdateBrokerInput
impl UpdateBrokerInput
sourcepub fn authentication_strategy(&self) -> Option<&AuthenticationStrategy>
pub fn 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) -> bool
pub fn auto_minor_version_upgrade(&self) -> 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 configuration(&self) -> Option<&ConfigurationId>
pub fn configuration(&self) -> Option<&ConfigurationId>
A list of information about the configuration.
sourcepub fn engine_version(&self) -> Option<&str>
pub fn engine_version(&self) -> Option<&str>
The broker engine version. For a list of supported engine versions, see Supported engines.
sourcepub fn host_instance_type(&self) -> Option<&str>
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.
sourcepub fn ldap_server_metadata(&self) -> Option<&LdapServerMetadataInput>
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.
sourcepub fn maintenance_window_start_time(&self) -> Option<&WeeklyStartTime>
pub fn maintenance_window_start_time(&self) -> Option<&WeeklyStartTime>
The parameters that determine the WeeklyStartTime.
Trait Implementations
sourceimpl Clone for UpdateBrokerInput
impl Clone for UpdateBrokerInput
sourcefn clone(&self) -> UpdateBrokerInput
fn clone(&self) -> UpdateBrokerInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for UpdateBrokerInput
impl Debug for UpdateBrokerInput
sourceimpl PartialEq<UpdateBrokerInput> for UpdateBrokerInput
impl PartialEq<UpdateBrokerInput> for UpdateBrokerInput
sourcefn eq(&self, other: &UpdateBrokerInput) -> bool
fn eq(&self, other: &UpdateBrokerInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &UpdateBrokerInput) -> bool
fn ne(&self, other: &UpdateBrokerInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for UpdateBrokerInput
Auto Trait Implementations
impl RefUnwindSafe for UpdateBrokerInput
impl Send for UpdateBrokerInput
impl Sync for UpdateBrokerInput
impl Unpin for UpdateBrokerInput
impl UnwindSafe for UpdateBrokerInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
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
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more