Struct aws_sdk_elasticbeanstalk::operation::retrieve_environment_info::builders::RetrieveEnvironmentInfoInputBuilder
source · #[non_exhaustive]pub struct RetrieveEnvironmentInfoInputBuilder { /* private fields */ }
Expand description
A builder for RetrieveEnvironmentInfoInput
.
Implementations§
source§impl RetrieveEnvironmentInfoInputBuilder
impl RetrieveEnvironmentInfoInputBuilder
sourcepub fn environment_id(self, input: impl Into<String>) -> Self
pub fn environment_id(self, input: impl Into<String>) -> Self
The ID of the data's environment.
If no such environment is found, returns an InvalidParameterValue
error.
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 data's environment.
If no such environment is found, returns an InvalidParameterValue
error.
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 data's environment.
If no such environment is found, returns an InvalidParameterValue
error.
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 data's environment.
If no such environment is found, returns an InvalidParameterValue
error.
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 data's environment.
If no such environment is found, returns an InvalidParameterValue
error.
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 data's environment.
If no such environment is found, returns an InvalidParameterValue
error.
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 info_type(self, input: EnvironmentInfoType) -> Self
pub fn info_type(self, input: EnvironmentInfoType) -> Self
The type of information to retrieve.
This field is required.sourcepub fn set_info_type(self, input: Option<EnvironmentInfoType>) -> Self
pub fn set_info_type(self, input: Option<EnvironmentInfoType>) -> Self
The type of information to retrieve.
sourcepub fn get_info_type(&self) -> &Option<EnvironmentInfoType>
pub fn get_info_type(&self) -> &Option<EnvironmentInfoType>
The type of information to retrieve.
sourcepub fn build(self) -> Result<RetrieveEnvironmentInfoInput, BuildError>
pub fn build(self) -> Result<RetrieveEnvironmentInfoInput, BuildError>
Consumes the builder and constructs a RetrieveEnvironmentInfoInput
.
source§impl RetrieveEnvironmentInfoInputBuilder
impl RetrieveEnvironmentInfoInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<RetrieveEnvironmentInfoOutput, SdkError<RetrieveEnvironmentInfoError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<RetrieveEnvironmentInfoOutput, SdkError<RetrieveEnvironmentInfoError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for RetrieveEnvironmentInfoInputBuilder
impl Clone for RetrieveEnvironmentInfoInputBuilder
source§fn clone(&self) -> RetrieveEnvironmentInfoInputBuilder
fn clone(&self) -> RetrieveEnvironmentInfoInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for RetrieveEnvironmentInfoInputBuilder
impl Default for RetrieveEnvironmentInfoInputBuilder
source§fn default() -> RetrieveEnvironmentInfoInputBuilder
fn default() -> RetrieveEnvironmentInfoInputBuilder
source§impl PartialEq for RetrieveEnvironmentInfoInputBuilder
impl PartialEq for RetrieveEnvironmentInfoInputBuilder
source§fn eq(&self, other: &RetrieveEnvironmentInfoInputBuilder) -> bool
fn eq(&self, other: &RetrieveEnvironmentInfoInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RetrieveEnvironmentInfoInputBuilder
Auto Trait Implementations§
impl Freeze for RetrieveEnvironmentInfoInputBuilder
impl RefUnwindSafe for RetrieveEnvironmentInfoInputBuilder
impl Send for RetrieveEnvironmentInfoInputBuilder
impl Sync for RetrieveEnvironmentInfoInputBuilder
impl Unpin for RetrieveEnvironmentInfoInputBuilder
impl UnwindSafe for RetrieveEnvironmentInfoInputBuilder
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