Struct aws_sdk_elasticbeanstalk::operation::describe_environment_resources::builders::DescribeEnvironmentResourcesFluentBuilder
source · pub struct DescribeEnvironmentResourcesFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to DescribeEnvironmentResources.
Returns AWS resources for this environment.
Implementations§
source§impl DescribeEnvironmentResourcesFluentBuilder
impl DescribeEnvironmentResourcesFluentBuilder
sourcepub fn as_input(&self) -> &DescribeEnvironmentResourcesInputBuilder
pub fn as_input(&self) -> &DescribeEnvironmentResourcesInputBuilder
Access the DescribeEnvironmentResources as a reference.
sourcepub async fn send(
self
) -> Result<DescribeEnvironmentResourcesOutput, SdkError<DescribeEnvironmentResourcesError, HttpResponse>>
pub async fn send( self ) -> Result<DescribeEnvironmentResourcesOutput, SdkError<DescribeEnvironmentResourcesError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<DescribeEnvironmentResourcesOutput, DescribeEnvironmentResourcesError, Self>
pub fn customize( self ) -> CustomizableOperation<DescribeEnvironmentResourcesOutput, DescribeEnvironmentResourcesError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 retrieve AWS resource usage data.
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 retrieve AWS resource usage data.
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 retrieve AWS resource usage data.
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 retrieve AWS resource usage data.
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 retrieve AWS resource usage data.
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 retrieve AWS resource usage data.
Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error.
Trait Implementations§
source§impl Clone for DescribeEnvironmentResourcesFluentBuilder
impl Clone for DescribeEnvironmentResourcesFluentBuilder
source§fn clone(&self) -> DescribeEnvironmentResourcesFluentBuilder
fn clone(&self) -> DescribeEnvironmentResourcesFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more