Struct aws_sdk_mq::operation::describe_broker_instance_options::builders::DescribeBrokerInstanceOptionsOutputBuilder
source · #[non_exhaustive]pub struct DescribeBrokerInstanceOptionsOutputBuilder { /* private fields */ }Expand description
A builder for DescribeBrokerInstanceOptionsOutput.
Implementations§
source§impl DescribeBrokerInstanceOptionsOutputBuilder
impl DescribeBrokerInstanceOptionsOutputBuilder
sourcepub fn broker_instance_options(self, input: BrokerInstanceOption) -> Self
pub fn broker_instance_options(self, input: BrokerInstanceOption) -> Self
Appends an item to broker_instance_options.
To override the contents of this collection use set_broker_instance_options.
List of available broker instance options.
sourcepub fn set_broker_instance_options(
self,
input: Option<Vec<BrokerInstanceOption>>
) -> Self
pub fn set_broker_instance_options( self, input: Option<Vec<BrokerInstanceOption>> ) -> Self
List of available broker instance options.
sourcepub fn get_broker_instance_options(&self) -> &Option<Vec<BrokerInstanceOption>>
pub fn get_broker_instance_options(&self) -> &Option<Vec<BrokerInstanceOption>>
List of available broker instance options.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
Required. The maximum number of instance options that can be returned per page (20 by default). This value must be an integer from 5 to 100.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
Required. The maximum number of instance options that can be returned per page (20 by default). This value must be an integer from 5 to 100.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
Required. The maximum number of instance options that can be returned per page (20 by default). This value must be an integer from 5 to 100.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token that specifies the next page of results Amazon MQ should return. To request the first page, leave nextToken empty.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token that specifies the next page of results Amazon MQ should return. To request the first page, leave nextToken empty.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token that specifies the next page of results Amazon MQ should return. To request the first page, leave nextToken empty.
sourcepub fn build(self) -> DescribeBrokerInstanceOptionsOutput
pub fn build(self) -> DescribeBrokerInstanceOptionsOutput
Consumes the builder and constructs a DescribeBrokerInstanceOptionsOutput.
Trait Implementations§
source§impl Clone for DescribeBrokerInstanceOptionsOutputBuilder
impl Clone for DescribeBrokerInstanceOptionsOutputBuilder
source§fn clone(&self) -> DescribeBrokerInstanceOptionsOutputBuilder
fn clone(&self) -> DescribeBrokerInstanceOptionsOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for DescribeBrokerInstanceOptionsOutputBuilder
impl Default for DescribeBrokerInstanceOptionsOutputBuilder
source§fn default() -> DescribeBrokerInstanceOptionsOutputBuilder
fn default() -> DescribeBrokerInstanceOptionsOutputBuilder
source§impl PartialEq for DescribeBrokerInstanceOptionsOutputBuilder
impl PartialEq for DescribeBrokerInstanceOptionsOutputBuilder
source§fn eq(&self, other: &DescribeBrokerInstanceOptionsOutputBuilder) -> bool
fn eq(&self, other: &DescribeBrokerInstanceOptionsOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.