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 fn as_input(&self) -> &RebuildEnvironmentInputBuilder
pub fn as_input(&self) -> &RebuildEnvironmentInputBuilder
Access the RebuildEnvironment as a reference.
sourcepub async fn send(
self
) -> Result<RebuildEnvironmentOutput, SdkError<RebuildEnvironmentError, HttpResponse>>
pub async fn send( self ) -> Result<RebuildEnvironmentOutput, SdkError<RebuildEnvironmentError, 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 async fn customize(
self
) -> Result<CustomizableOperation<RebuildEnvironmentOutput, RebuildEnvironmentError>, SdkError<RebuildEnvironmentError>>
pub async fn customize( self ) -> Result<CustomizableOperation<RebuildEnvironmentOutput, RebuildEnvironmentError>, SdkError<RebuildEnvironmentError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 get_environment_id(&self) -> &Option<String>
pub fn get_environment_id(&self) -> &Option<String>
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.
sourcepub fn get_environment_name(&self) -> &Option<String>
pub fn get_environment_name(&self) -> &Option<String>
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