Struct aws_sdk_elasticbeanstalk::operation::request_environment_info::builders::RequestEnvironmentInfoInputBuilder
source · #[non_exhaustive]pub struct RequestEnvironmentInfoInputBuilder { /* private fields */ }
Expand description
A builder for RequestEnvironmentInfoInput
.
Implementations§
source§impl RequestEnvironmentInfoInputBuilder
impl RequestEnvironmentInfoInputBuilder
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 of the requested data.
If no such environment is found, RequestEnvironmentInfo
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 environment of the requested data.
If no such environment is found, RequestEnvironmentInfo
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 environment of the requested data.
If no such environment is found, RequestEnvironmentInfo
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 environment of the requested data.
If no such environment is found, RequestEnvironmentInfo
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 environment of the requested data.
If no such environment is found, RequestEnvironmentInfo
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 environment of the requested data.
If no such environment is found, RequestEnvironmentInfo
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 request.
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 request.
sourcepub fn get_info_type(&self) -> &Option<EnvironmentInfoType>
pub fn get_info_type(&self) -> &Option<EnvironmentInfoType>
The type of information to request.
sourcepub fn build(self) -> Result<RequestEnvironmentInfoInput, BuildError>
pub fn build(self) -> Result<RequestEnvironmentInfoInput, BuildError>
Consumes the builder and constructs a RequestEnvironmentInfoInput
.
source§impl RequestEnvironmentInfoInputBuilder
impl RequestEnvironmentInfoInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<RequestEnvironmentInfoOutput, SdkError<RequestEnvironmentInfoError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<RequestEnvironmentInfoOutput, SdkError<RequestEnvironmentInfoError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for RequestEnvironmentInfoInputBuilder
impl Clone for RequestEnvironmentInfoInputBuilder
source§fn clone(&self) -> RequestEnvironmentInfoInputBuilder
fn clone(&self) -> RequestEnvironmentInfoInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for RequestEnvironmentInfoInputBuilder
impl Default for RequestEnvironmentInfoInputBuilder
source§fn default() -> RequestEnvironmentInfoInputBuilder
fn default() -> RequestEnvironmentInfoInputBuilder
source§impl PartialEq<RequestEnvironmentInfoInputBuilder> for RequestEnvironmentInfoInputBuilder
impl PartialEq<RequestEnvironmentInfoInputBuilder> for RequestEnvironmentInfoInputBuilder
source§fn eq(&self, other: &RequestEnvironmentInfoInputBuilder) -> bool
fn eq(&self, other: &RequestEnvironmentInfoInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.