Struct aws_sdk_elasticbeanstalk::operation::describe_environment_resources::builders::DescribeEnvironmentResourcesInputBuilder
source · #[non_exhaustive]pub struct DescribeEnvironmentResourcesInputBuilder { /* private fields */ }Expand description
A builder for DescribeEnvironmentResourcesInput.
Implementations§
source§impl DescribeEnvironmentResourcesInputBuilder
impl DescribeEnvironmentResourcesInputBuilder
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 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 build(self) -> Result<DescribeEnvironmentResourcesInput, BuildError>
pub fn build(self) -> Result<DescribeEnvironmentResourcesInput, BuildError>
Consumes the builder and constructs a DescribeEnvironmentResourcesInput.
Trait Implementations§
source§impl Clone for DescribeEnvironmentResourcesInputBuilder
impl Clone for DescribeEnvironmentResourcesInputBuilder
source§fn clone(&self) -> DescribeEnvironmentResourcesInputBuilder
fn clone(&self) -> DescribeEnvironmentResourcesInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for DescribeEnvironmentResourcesInputBuilder
impl Default for DescribeEnvironmentResourcesInputBuilder
source§fn default() -> DescribeEnvironmentResourcesInputBuilder
fn default() -> DescribeEnvironmentResourcesInputBuilder
source§impl PartialEq<DescribeEnvironmentResourcesInputBuilder> for DescribeEnvironmentResourcesInputBuilder
impl PartialEq<DescribeEnvironmentResourcesInputBuilder> for DescribeEnvironmentResourcesInputBuilder
source§fn eq(&self, other: &DescribeEnvironmentResourcesInputBuilder) -> bool
fn eq(&self, other: &DescribeEnvironmentResourcesInputBuilder) -> bool
self and other values to be equal, and is used
by ==.