pub struct RebootBrokerFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to RebootBroker.
Reboots brokers.
Implementations§
source§impl RebootBrokerFluentBuilder
impl RebootBrokerFluentBuilder
sourcepub fn as_input(&self) -> &RebootBrokerInputBuilder
pub fn as_input(&self) -> &RebootBrokerInputBuilder
Access the RebootBroker as a reference.
sourcepub async fn send(
self
) -> Result<RebootBrokerOutput, SdkError<RebootBrokerError, HttpResponse>>
pub async fn send( self ) -> Result<RebootBrokerOutput, SdkError<RebootBrokerError, HttpResponse>>
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 customize(
self
) -> CustomizableOperation<RebootBrokerOutput, RebootBrokerError, Self>
pub fn customize( self ) -> CustomizableOperation<RebootBrokerOutput, RebootBrokerError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn broker_ids(self, input: impl Into<String>) -> Self
pub fn broker_ids(self, input: impl Into<String>) -> Self
Appends an item to BrokerIds.
To override the contents of this collection use set_broker_ids.
The list of broker IDs to be rebooted. The reboot-broker operation supports rebooting one broker at a time.
sourcepub fn set_broker_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_broker_ids(self, input: Option<Vec<String>>) -> Self
The list of broker IDs to be rebooted. The reboot-broker operation supports rebooting one broker at a time.
sourcepub fn get_broker_ids(&self) -> &Option<Vec<String>>
pub fn get_broker_ids(&self) -> &Option<Vec<String>>
The list of broker IDs to be rebooted. The reboot-broker operation supports rebooting one broker at a time.
sourcepub fn cluster_arn(self, input: impl Into<String>) -> Self
pub fn cluster_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the cluster to be updated.
sourcepub fn set_cluster_arn(self, input: Option<String>) -> Self
pub fn set_cluster_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the cluster to be updated.
sourcepub fn get_cluster_arn(&self) -> &Option<String>
pub fn get_cluster_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the cluster to be updated.
Trait Implementations§
source§impl Clone for RebootBrokerFluentBuilder
impl Clone for RebootBrokerFluentBuilder
source§fn clone(&self) -> RebootBrokerFluentBuilder
fn clone(&self) -> RebootBrokerFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more