Struct aws_sdk_mq::types::BrokerInstanceOption
source · #[non_exhaustive]pub struct BrokerInstanceOption {
pub availability_zones: Option<Vec<AvailabilityZone>>,
pub engine_type: Option<EngineType>,
pub host_instance_type: Option<String>,
pub storage_type: Option<BrokerStorageType>,
pub supported_deployment_modes: Option<Vec<DeploymentMode>>,
pub supported_engine_versions: Option<Vec<String>>,
}
Expand description
Option for host instance type.
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.availability_zones: Option<Vec<AvailabilityZone>>
The list of available az.
engine_type: Option<EngineType>
The broker's engine type.
host_instance_type: Option<String>
The broker's instance type.
storage_type: Option<BrokerStorageType>
The broker's storage type.
supported_deployment_modes: Option<Vec<DeploymentMode>>
The list of supported deployment modes.
supported_engine_versions: Option<Vec<String>>
The list of supported engine versions.
Implementations§
source§impl BrokerInstanceOption
impl BrokerInstanceOption
sourcepub fn availability_zones(&self) -> &[AvailabilityZone]
pub fn availability_zones(&self) -> &[AvailabilityZone]
The list of available az.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .availability_zones.is_none()
.
sourcepub fn engine_type(&self) -> Option<&EngineType>
pub fn engine_type(&self) -> Option<&EngineType>
The broker's engine type.
sourcepub fn host_instance_type(&self) -> Option<&str>
pub fn host_instance_type(&self) -> Option<&str>
The broker's instance type.
sourcepub fn storage_type(&self) -> Option<&BrokerStorageType>
pub fn storage_type(&self) -> Option<&BrokerStorageType>
The broker's storage type.
sourcepub fn supported_deployment_modes(&self) -> &[DeploymentMode]
pub fn supported_deployment_modes(&self) -> &[DeploymentMode]
The list of supported deployment modes.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .supported_deployment_modes.is_none()
.
sourcepub fn supported_engine_versions(&self) -> &[String]
pub fn supported_engine_versions(&self) -> &[String]
The list of supported engine versions.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .supported_engine_versions.is_none()
.
source§impl BrokerInstanceOption
impl BrokerInstanceOption
sourcepub fn builder() -> BrokerInstanceOptionBuilder
pub fn builder() -> BrokerInstanceOptionBuilder
Creates a new builder-style object to manufacture BrokerInstanceOption
.
Trait Implementations§
source§impl Clone for BrokerInstanceOption
impl Clone for BrokerInstanceOption
source§fn clone(&self) -> BrokerInstanceOption
fn clone(&self) -> BrokerInstanceOption
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BrokerInstanceOption
impl Debug for BrokerInstanceOption
source§impl PartialEq for BrokerInstanceOption
impl PartialEq for BrokerInstanceOption
source§fn eq(&self, other: &BrokerInstanceOption) -> bool
fn eq(&self, other: &BrokerInstanceOption) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BrokerInstanceOption
Auto Trait Implementations§
impl Freeze for BrokerInstanceOption
impl RefUnwindSafe for BrokerInstanceOption
impl Send for BrokerInstanceOption
impl Sync for BrokerInstanceOption
impl Unpin for BrokerInstanceOption
impl UnwindSafe for BrokerInstanceOption
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