Struct aws_sdk_elasticbeanstalk::operation::rebuild_environment::builders::RebuildEnvironmentFluentBuilder
source · pub struct RebuildEnvironmentFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to RebuildEnvironment.
Deletes and recreates all of the AWS resources (for example: the Auto Scaling group, load balancer, etc.) for a specified environment and forces a restart.
Implementations§
source§impl RebuildEnvironmentFluentBuilder
impl RebuildEnvironmentFluentBuilder
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<RebuildEnvironment, AwsResponseRetryClassifier>, SdkError<RebuildEnvironmentError>>
pub async fn customize( self ) -> Result<CustomizableOperation<RebuildEnvironment, AwsResponseRetryClassifier>, SdkError<RebuildEnvironmentError>>
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<RebuildEnvironmentOutput, SdkError<RebuildEnvironmentError>>
pub async fn send( self ) -> Result<RebuildEnvironmentOutput, SdkError<RebuildEnvironmentError>>
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 environment_id(self, input: impl Into<String>) -> Self
pub fn environment_id(self, input: impl Into<String>) -> Self
The ID of the environment to rebuild.
Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error.
sourcepub fn set_environment_id(self, input: Option<String>) -> Self
pub fn set_environment_id(self, input: Option<String>) -> Self
The ID of the environment to rebuild.
Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error.
sourcepub fn environment_name(self, input: impl Into<String>) -> Self
pub fn environment_name(self, input: impl Into<String>) -> Self
The name of the environment to rebuild.
Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error.
sourcepub fn set_environment_name(self, input: Option<String>) -> Self
pub fn set_environment_name(self, input: Option<String>) -> Self
The name of the environment to rebuild.
Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error.
Trait Implementations§
source§impl Clone for RebuildEnvironmentFluentBuilder
impl Clone for RebuildEnvironmentFluentBuilder
source§fn clone(&self) -> RebuildEnvironmentFluentBuilder
fn clone(&self) -> RebuildEnvironmentFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more