Struct aws_sdk_elasticbeanstalk::operation::apply_environment_managed_action::builders::ApplyEnvironmentManagedActionInputBuilder
source · #[non_exhaustive]pub struct ApplyEnvironmentManagedActionInputBuilder { /* private fields */ }
Expand description
A builder for ApplyEnvironmentManagedActionInput
.
Implementations§
source§impl ApplyEnvironmentManagedActionInputBuilder
impl ApplyEnvironmentManagedActionInputBuilder
sourcepub fn environment_name(self, input: impl Into<String>) -> Self
pub fn environment_name(self, input: impl Into<String>) -> Self
The name of the target environment.
sourcepub fn set_environment_name(self, input: Option<String>) -> Self
pub fn set_environment_name(self, input: Option<String>) -> Self
The name of the target environment.
sourcepub fn get_environment_name(&self) -> &Option<String>
pub fn get_environment_name(&self) -> &Option<String>
The name of the target environment.
sourcepub fn environment_id(self, input: impl Into<String>) -> Self
pub fn environment_id(self, input: impl Into<String>) -> Self
The environment ID of the target environment.
sourcepub fn set_environment_id(self, input: Option<String>) -> Self
pub fn set_environment_id(self, input: Option<String>) -> Self
The environment ID of the target environment.
sourcepub fn get_environment_id(&self) -> &Option<String>
pub fn get_environment_id(&self) -> &Option<String>
The environment ID of the target environment.
sourcepub fn action_id(self, input: impl Into<String>) -> Self
pub fn action_id(self, input: impl Into<String>) -> Self
The action ID of the scheduled managed action to execute.
This field is required.sourcepub fn set_action_id(self, input: Option<String>) -> Self
pub fn set_action_id(self, input: Option<String>) -> Self
The action ID of the scheduled managed action to execute.
sourcepub fn get_action_id(&self) -> &Option<String>
pub fn get_action_id(&self) -> &Option<String>
The action ID of the scheduled managed action to execute.
sourcepub fn build(self) -> Result<ApplyEnvironmentManagedActionInput, BuildError>
pub fn build(self) -> Result<ApplyEnvironmentManagedActionInput, BuildError>
Consumes the builder and constructs a ApplyEnvironmentManagedActionInput
.
source§impl ApplyEnvironmentManagedActionInputBuilder
impl ApplyEnvironmentManagedActionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ApplyEnvironmentManagedActionOutput, SdkError<ApplyEnvironmentManagedActionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ApplyEnvironmentManagedActionOutput, SdkError<ApplyEnvironmentManagedActionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ApplyEnvironmentManagedActionInputBuilder
impl Clone for ApplyEnvironmentManagedActionInputBuilder
source§fn clone(&self) -> ApplyEnvironmentManagedActionInputBuilder
fn clone(&self) -> ApplyEnvironmentManagedActionInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for ApplyEnvironmentManagedActionInputBuilder
impl Default for ApplyEnvironmentManagedActionInputBuilder
source§fn default() -> ApplyEnvironmentManagedActionInputBuilder
fn default() -> ApplyEnvironmentManagedActionInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ApplyEnvironmentManagedActionInputBuilder
impl PartialEq for ApplyEnvironmentManagedActionInputBuilder
source§fn eq(&self, other: &ApplyEnvironmentManagedActionInputBuilder) -> bool
fn eq(&self, other: &ApplyEnvironmentManagedActionInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ApplyEnvironmentManagedActionInputBuilder
Auto Trait Implementations§
impl Freeze for ApplyEnvironmentManagedActionInputBuilder
impl RefUnwindSafe for ApplyEnvironmentManagedActionInputBuilder
impl Send for ApplyEnvironmentManagedActionInputBuilder
impl Sync for ApplyEnvironmentManagedActionInputBuilder
impl Unpin for ApplyEnvironmentManagedActionInputBuilder
impl UnwindSafe for ApplyEnvironmentManagedActionInputBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.