Struct aws_sdk_mq::output::describe_broker_output::Builder
source · [−]#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for DescribeBrokerOutput
Implementations
sourceimpl Builder
impl Builder
sourcepub fn actions_required(self, input: ActionRequired) -> Self
pub fn actions_required(self, input: ActionRequired) -> Self
Appends an item to actions_required
.
To override the contents of this collection use set_actions_required
.
A list of actions required for a broker.
sourcepub fn set_actions_required(self, input: Option<Vec<ActionRequired>>) -> Self
pub fn set_actions_required(self, input: Option<Vec<ActionRequired>>) -> Self
A list of actions required for a broker.
sourcepub fn authentication_strategy(self, input: AuthenticationStrategy) -> Self
pub fn authentication_strategy(self, input: AuthenticationStrategy) -> Self
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
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 broker_arn(self, input: impl Into<String>) -> Self
pub fn broker_arn(self, input: impl Into<String>) -> Self
The broker's Amazon Resource Name (ARN).
sourcepub fn set_broker_arn(self, input: Option<String>) -> Self
pub fn set_broker_arn(self, input: Option<String>) -> Self
The broker's Amazon Resource Name (ARN).
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 broker_instances(self, input: BrokerInstance) -> Self
pub fn broker_instances(self, input: BrokerInstance) -> Self
Appends an item to broker_instances
.
To override the contents of this collection use set_broker_instances
.
A list of information about allocated brokers.
sourcepub fn set_broker_instances(self, input: Option<Vec<BrokerInstance>>) -> Self
pub fn set_broker_instances(self, input: Option<Vec<BrokerInstance>>) -> Self
A list of information about allocated brokers.
sourcepub fn broker_name(self, input: impl Into<String>) -> Self
pub fn broker_name(self, input: impl Into<String>) -> Self
The broker's name. This value must be unique in your AWS account, 1-50 characters long, must contain only letters, numbers, dashes, and underscores, and must not contain white spaces, brackets, wildcard characters, or special characters.
sourcepub fn set_broker_name(self, input: Option<String>) -> Self
pub fn set_broker_name(self, input: Option<String>) -> Self
The broker's name. This value must be unique in your AWS account, 1-50 characters long, must contain only letters, numbers, dashes, and underscores, and must not contain white spaces, brackets, wildcard characters, or special characters.
sourcepub fn broker_state(self, input: BrokerState) -> Self
pub fn broker_state(self, input: BrokerState) -> Self
The broker's status.
sourcepub fn set_broker_state(self, input: Option<BrokerState>) -> Self
pub fn set_broker_state(self, input: Option<BrokerState>) -> Self
The broker's status.
sourcepub fn configurations(self, input: Configurations) -> Self
pub fn configurations(self, input: Configurations) -> Self
The list of all revisions for the specified configuration.
sourcepub fn set_configurations(self, input: Option<Configurations>) -> Self
pub fn set_configurations(self, input: Option<Configurations>) -> Self
The list of all revisions for the specified configuration.
sourcepub fn set_created(self, input: Option<DateTime>) -> Self
pub fn set_created(self, input: Option<DateTime>) -> Self
The time when the broker was created.
sourcepub fn deployment_mode(self, input: DeploymentMode) -> Self
pub fn deployment_mode(self, input: DeploymentMode) -> Self
The broker's deployment mode.
sourcepub fn set_deployment_mode(self, input: Option<DeploymentMode>) -> Self
pub fn set_deployment_mode(self, input: Option<DeploymentMode>) -> Self
The broker's deployment mode.
sourcepub fn encryption_options(self, input: EncryptionOptions) -> Self
pub fn encryption_options(self, input: EncryptionOptions) -> Self
Encryption options for the broker. Does not apply to RabbitMQ brokers.
sourcepub fn set_encryption_options(self, input: Option<EncryptionOptions>) -> Self
pub fn set_encryption_options(self, input: Option<EncryptionOptions>) -> Self
Encryption options for the broker. Does not apply to RabbitMQ brokers.
sourcepub fn engine_type(self, input: EngineType) -> Self
pub fn engine_type(self, input: EngineType) -> Self
The type of broker engine. Currently, Amazon MQ supports ACTIVEMQ and RABBITMQ.
sourcepub fn set_engine_type(self, input: Option<EngineType>) -> Self
pub fn set_engine_type(self, input: Option<EngineType>) -> Self
The type of broker engine. Currently, Amazon MQ supports ACTIVEMQ and RABBITMQ.
sourcepub fn engine_version(self, input: impl Into<String>) -> Self
pub fn engine_version(self, input: impl Into<String>) -> Self
The broker engine's 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's 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 instance type.
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 instance type.
sourcepub fn ldap_server_metadata(self, input: LdapServerMetadataOutput) -> Self
pub fn ldap_server_metadata(self, input: LdapServerMetadataOutput) -> Self
The metadata of the LDAP server used to authenticate and authorize connections to the broker.
sourcepub fn set_ldap_server_metadata(
self,
input: Option<LdapServerMetadataOutput>
) -> Self
pub fn set_ldap_server_metadata(
self,
input: Option<LdapServerMetadataOutput>
) -> Self
The metadata of the LDAP server used to authenticate and authorize connections to the broker.
sourcepub fn logs(self, input: LogsSummary) -> Self
pub fn logs(self, input: LogsSummary) -> Self
The list of information about logs currently enabled and pending to be deployed for the specified broker.
sourcepub fn set_logs(self, input: Option<LogsSummary>) -> Self
pub fn set_logs(self, input: Option<LogsSummary>) -> Self
The list of information about logs currently enabled and pending to be deployed 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 pending_authentication_strategy(
self,
input: AuthenticationStrategy
) -> Self
pub fn pending_authentication_strategy(
self,
input: AuthenticationStrategy
) -> Self
The authentication strategy that will be applied when the broker is rebooted. The default is SIMPLE.
sourcepub fn set_pending_authentication_strategy(
self,
input: Option<AuthenticationStrategy>
) -> Self
pub fn set_pending_authentication_strategy(
self,
input: Option<AuthenticationStrategy>
) -> Self
The authentication strategy that will be applied when the broker is rebooted. The default is SIMPLE.
sourcepub fn pending_engine_version(self, input: impl Into<String>) -> Self
pub fn pending_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_pending_engine_version(self, input: Option<String>) -> Self
pub fn set_pending_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 pending_host_instance_type(self, input: impl Into<String>) -> Self
pub fn pending_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_pending_host_instance_type(self, input: Option<String>) -> Self
pub fn set_pending_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 pending_ldap_server_metadata(
self,
input: LdapServerMetadataOutput
) -> Self
pub fn pending_ldap_server_metadata(
self,
input: LdapServerMetadataOutput
) -> Self
The metadata of the LDAP server that will be used to authenticate and authorize connections to the broker after it is rebooted.
sourcepub fn set_pending_ldap_server_metadata(
self,
input: Option<LdapServerMetadataOutput>
) -> Self
pub fn set_pending_ldap_server_metadata(
self,
input: Option<LdapServerMetadataOutput>
) -> Self
The metadata of the LDAP server that will be used to authenticate and authorize connections to the broker after it is rebooted.
sourcepub fn pending_security_groups(self, input: impl Into<String>) -> Self
pub fn pending_security_groups(self, input: impl Into<String>) -> Self
Appends an item to pending_security_groups
.
To override the contents of this collection use set_pending_security_groups
.
The list of pending security groups to authorize connections to brokers.
sourcepub fn set_pending_security_groups(self, input: Option<Vec<String>>) -> Self
pub fn set_pending_security_groups(self, input: Option<Vec<String>>) -> Self
The list of pending security groups to authorize connections to brokers.
sourcepub fn publicly_accessible(self, input: bool) -> Self
pub fn publicly_accessible(self, input: bool) -> Self
Enables connections from applications outside of the VPC that hosts the broker's subnets.
sourcepub fn set_publicly_accessible(self, input: Option<bool>) -> Self
pub fn set_publicly_accessible(self, input: Option<bool>) -> Self
Enables connections from applications outside of the VPC that hosts the broker's subnets.
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 rules (1 minimum, 125 maximum) that authorize 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 rules (1 minimum, 125 maximum) that authorize connections to brokers.
sourcepub fn storage_type(self, input: BrokerStorageType) -> Self
pub fn storage_type(self, input: BrokerStorageType) -> Self
The broker's storage type.
sourcepub fn set_storage_type(self, input: Option<BrokerStorageType>) -> Self
pub fn set_storage_type(self, input: Option<BrokerStorageType>) -> Self
The broker's storage type.
sourcepub fn subnet_ids(self, input: impl Into<String>) -> Self
pub fn subnet_ids(self, input: impl Into<String>) -> Self
Appends an item to subnet_ids
.
To override the contents of this collection use set_subnet_ids
.
The list of groups that define which subnets and IP ranges the broker can use from different Availability Zones.
sourcepub fn set_subnet_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_subnet_ids(self, input: Option<Vec<String>>) -> Self
The list of groups that define which subnets and IP ranges the broker can use from different Availability Zones.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
The list of all tags associated with this broker.
The list of all tags associated with this broker.
sourcepub fn users(self, input: UserSummary) -> Self
pub fn users(self, input: UserSummary) -> Self
Appends an item to users
.
To override the contents of this collection use set_users
.
The list of all broker usernames for the specified broker.
sourcepub fn set_users(self, input: Option<Vec<UserSummary>>) -> Self
pub fn set_users(self, input: Option<Vec<UserSummary>>) -> Self
The list of all broker usernames for the specified broker.
sourcepub fn build(self) -> DescribeBrokerOutput
pub fn build(self) -> DescribeBrokerOutput
Consumes the builder and constructs a DescribeBrokerOutput
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
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