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 ==.