Struct aws_sdk_kafka::client::fluent_builders::RebootBroker
source · pub struct RebootBroker { /* private fields */ }
Expand description
Fluent builder constructing a request to RebootBroker
.
Reboots brokers.
Implementations§
source§impl RebootBroker
impl RebootBroker
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<RebootBroker, AwsResponseRetryClassifier>, SdkError<RebootBrokerError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<RebootBroker, AwsResponseRetryClassifier>, SdkError<RebootBrokerError>>
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<RebootBrokerOutput, SdkError<RebootBrokerError>>
pub async fn send(
self
) -> Result<RebootBrokerOutput, SdkError<RebootBrokerError>>
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 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 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.
Trait Implementations§
source§impl Clone for RebootBroker
impl Clone for RebootBroker
source§fn clone(&self) -> RebootBroker
fn clone(&self) -> RebootBroker
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more