Struct aws_sdk_elasticbeanstalk::operation::rebuild_environment::builders::RebuildEnvironmentInputBuilder
source · #[non_exhaustive]pub struct RebuildEnvironmentInputBuilder { /* private fields */ }
Expand description
A builder for RebuildEnvironmentInput
.
Implementations§
source§impl RebuildEnvironmentInputBuilder
impl RebuildEnvironmentInputBuilder
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.
sourcepub fn build(self) -> Result<RebuildEnvironmentInput, BuildError>
pub fn build(self) -> Result<RebuildEnvironmentInput, BuildError>
Consumes the builder and constructs a RebuildEnvironmentInput
.
source§impl RebuildEnvironmentInputBuilder
impl RebuildEnvironmentInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<RebuildEnvironmentOutput, SdkError<RebuildEnvironmentError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<RebuildEnvironmentOutput, SdkError<RebuildEnvironmentError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for RebuildEnvironmentInputBuilder
impl Clone for RebuildEnvironmentInputBuilder
source§fn clone(&self) -> RebuildEnvironmentInputBuilder
fn clone(&self) -> RebuildEnvironmentInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for RebuildEnvironmentInputBuilder
impl Default for RebuildEnvironmentInputBuilder
source§fn default() -> RebuildEnvironmentInputBuilder
fn default() -> RebuildEnvironmentInputBuilder
source§impl PartialEq for RebuildEnvironmentInputBuilder
impl PartialEq for RebuildEnvironmentInputBuilder
source§fn eq(&self, other: &RebuildEnvironmentInputBuilder) -> bool
fn eq(&self, other: &RebuildEnvironmentInputBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for RebuildEnvironmentInputBuilder
Auto Trait Implementations§
impl Freeze for RebuildEnvironmentInputBuilder
impl RefUnwindSafe for RebuildEnvironmentInputBuilder
impl Send for RebuildEnvironmentInputBuilder
impl Sync for RebuildEnvironmentInputBuilder
impl Unpin for RebuildEnvironmentInputBuilder
impl UnwindSafe for RebuildEnvironmentInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more