Struct aws_sdk_elasticbeanstalk::operation::describe_environments::builders::DescribeEnvironmentsInputBuilder
source · #[non_exhaustive]pub struct DescribeEnvironmentsInputBuilder { /* private fields */ }Expand description
A builder for DescribeEnvironmentsInput.
Implementations§
source§impl DescribeEnvironmentsInputBuilder
impl DescribeEnvironmentsInputBuilder
sourcepub fn application_name(self, input: impl Into<String>) -> Self
pub fn application_name(self, input: impl Into<String>) -> Self
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that are associated with this application.
sourcepub fn set_application_name(self, input: Option<String>) -> Self
pub fn set_application_name(self, input: Option<String>) -> Self
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that are associated with this application.
sourcepub fn version_label(self, input: impl Into<String>) -> Self
pub fn version_label(self, input: impl Into<String>) -> Self
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that are associated with this application version.
sourcepub fn set_version_label(self, input: Option<String>) -> Self
pub fn set_version_label(self, input: Option<String>) -> Self
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that are associated with this application version.
sourcepub fn environment_ids(self, input: impl Into<String>) -> Self
pub fn environment_ids(self, input: impl Into<String>) -> Self
Appends an item to environment_ids.
To override the contents of this collection use set_environment_ids.
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have the specified IDs.
sourcepub fn set_environment_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_environment_ids(self, input: Option<Vec<String>>) -> Self
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have the specified IDs.
sourcepub fn environment_names(self, input: impl Into<String>) -> Self
pub fn environment_names(self, input: impl Into<String>) -> Self
Appends an item to environment_names.
To override the contents of this collection use set_environment_names.
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have the specified names.
sourcepub fn set_environment_names(self, input: Option<Vec<String>>) -> Self
pub fn set_environment_names(self, input: Option<Vec<String>>) -> Self
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have the specified names.
sourcepub fn include_deleted(self, input: bool) -> Self
pub fn include_deleted(self, input: bool) -> Self
Indicates whether to include deleted environments:
true: Environments that have been deleted after IncludedDeletedBackTo are displayed.
false: Do not include deleted environments.
sourcepub fn set_include_deleted(self, input: Option<bool>) -> Self
pub fn set_include_deleted(self, input: Option<bool>) -> Self
Indicates whether to include deleted environments:
true: Environments that have been deleted after IncludedDeletedBackTo are displayed.
false: Do not include deleted environments.
sourcepub fn included_deleted_back_to(self, input: DateTime) -> Self
pub fn included_deleted_back_to(self, input: DateTime) -> Self
If specified when IncludeDeleted is set to true, then environments deleted after this date are displayed.
sourcepub fn set_included_deleted_back_to(self, input: Option<DateTime>) -> Self
pub fn set_included_deleted_back_to(self, input: Option<DateTime>) -> Self
If specified when IncludeDeleted is set to true, then environments deleted after this date are displayed.
sourcepub fn max_records(self, input: i32) -> Self
pub fn max_records(self, input: i32) -> Self
For a paginated request. Specify a maximum number of environments to include in each response.
If no MaxRecords is specified, all available environments are retrieved in a single response.
sourcepub fn set_max_records(self, input: Option<i32>) -> Self
pub fn set_max_records(self, input: Option<i32>) -> Self
For a paginated request. Specify a maximum number of environments to include in each response.
If no MaxRecords is specified, all available environments are retrieved in a single response.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
For a paginated request. Specify a token from a previous response page to retrieve the next response page. All other parameter values must be identical to the ones specified in the initial request.
If no NextToken is specified, the first page is retrieved.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
For a paginated request. Specify a token from a previous response page to retrieve the next response page. All other parameter values must be identical to the ones specified in the initial request.
If no NextToken is specified, the first page is retrieved.
sourcepub fn build(self) -> Result<DescribeEnvironmentsInput, BuildError>
pub fn build(self) -> Result<DescribeEnvironmentsInput, BuildError>
Consumes the builder and constructs a DescribeEnvironmentsInput.
Trait Implementations§
source§impl Clone for DescribeEnvironmentsInputBuilder
impl Clone for DescribeEnvironmentsInputBuilder
source§fn clone(&self) -> DescribeEnvironmentsInputBuilder
fn clone(&self) -> DescribeEnvironmentsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for DescribeEnvironmentsInputBuilder
impl Default for DescribeEnvironmentsInputBuilder
source§fn default() -> DescribeEnvironmentsInputBuilder
fn default() -> DescribeEnvironmentsInputBuilder
source§impl PartialEq<DescribeEnvironmentsInputBuilder> for DescribeEnvironmentsInputBuilder
impl PartialEq<DescribeEnvironmentsInputBuilder> for DescribeEnvironmentsInputBuilder
source§fn eq(&self, other: &DescribeEnvironmentsInputBuilder) -> bool
fn eq(&self, other: &DescribeEnvironmentsInputBuilder) -> bool
self and other values to be equal, and is used
by ==.