Struct aws_sdk_elasticbeanstalk::operation::restart_app_server::builders::RestartAppServerInputBuilder
source · #[non_exhaustive]pub struct RestartAppServerInputBuilder { /* private fields */ }
Expand description
A builder for RestartAppServerInput
.
Implementations§
source§impl RestartAppServerInputBuilder
impl RestartAppServerInputBuilder
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 restart the server for.
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 restart the server for.
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 restart the server for.
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 restart the server for.
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 restart the server for.
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 restart the server for.
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<RestartAppServerInput, BuildError>
pub fn build(self) -> Result<RestartAppServerInput, BuildError>
Consumes the builder and constructs a RestartAppServerInput
.
source§impl RestartAppServerInputBuilder
impl RestartAppServerInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<RestartAppServerOutput, SdkError<RestartAppServerError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<RestartAppServerOutput, SdkError<RestartAppServerError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for RestartAppServerInputBuilder
impl Clone for RestartAppServerInputBuilder
source§fn clone(&self) -> RestartAppServerInputBuilder
fn clone(&self) -> RestartAppServerInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RestartAppServerInputBuilder
impl Debug for RestartAppServerInputBuilder
source§impl Default for RestartAppServerInputBuilder
impl Default for RestartAppServerInputBuilder
source§fn default() -> RestartAppServerInputBuilder
fn default() -> RestartAppServerInputBuilder
source§impl PartialEq for RestartAppServerInputBuilder
impl PartialEq for RestartAppServerInputBuilder
source§fn eq(&self, other: &RestartAppServerInputBuilder) -> bool
fn eq(&self, other: &RestartAppServerInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RestartAppServerInputBuilder
Auto Trait Implementations§
impl Freeze for RestartAppServerInputBuilder
impl RefUnwindSafe for RestartAppServerInputBuilder
impl Send for RestartAppServerInputBuilder
impl Sync for RestartAppServerInputBuilder
impl Unpin for RestartAppServerInputBuilder
impl UnwindSafe for RestartAppServerInputBuilder
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> 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