pub struct DescribeBrokerInstanceOptions { /* private fields */ }
Expand description
Fluent builder constructing a request to DescribeBrokerInstanceOptions
.
Describe available broker instance options.
Implementations
sourceimpl DescribeBrokerInstanceOptions
impl DescribeBrokerInstanceOptions
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DescribeBrokerInstanceOptions, AwsResponseRetryClassifier>, SdkError<DescribeBrokerInstanceOptionsError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<DescribeBrokerInstanceOptions, AwsResponseRetryClassifier>, SdkError<DescribeBrokerInstanceOptionsError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<DescribeBrokerInstanceOptionsOutput, SdkError<DescribeBrokerInstanceOptionsError>>
pub async fn send(
self
) -> Result<DescribeBrokerInstanceOptionsOutput, SdkError<DescribeBrokerInstanceOptionsError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn engine_type(self, input: impl Into<String>) -> Self
pub fn engine_type(self, input: impl Into<String>) -> Self
Filter response by engine type.
sourcepub fn set_engine_type(self, input: Option<String>) -> Self
pub fn set_engine_type(self, input: Option<String>) -> Self
Filter response by engine type.
sourcepub fn host_instance_type(self, input: impl Into<String>) -> Self
pub fn host_instance_type(self, input: impl Into<String>) -> Self
Filter response by host instance type.
sourcepub fn set_host_instance_type(self, input: Option<String>) -> Self
pub fn set_host_instance_type(self, input: Option<String>) -> Self
Filter response by host instance type.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of brokers that Amazon MQ can return 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
The maximum number of brokers that Amazon MQ can return 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 storage_type(self, input: impl Into<String>) -> Self
pub fn storage_type(self, input: impl Into<String>) -> Self
Filter response by storage type.
sourcepub fn set_storage_type(self, input: Option<String>) -> Self
pub fn set_storage_type(self, input: Option<String>) -> Self
Filter response by storage type.
Trait Implementations
sourceimpl Clone for DescribeBrokerInstanceOptions
impl Clone for DescribeBrokerInstanceOptions
sourcefn clone(&self) -> DescribeBrokerInstanceOptions
fn clone(&self) -> DescribeBrokerInstanceOptions
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more