Struct aws_sdk_elasticbeanstalk::operation::create_environment::builders::CreateEnvironmentOutputBuilder
source · #[non_exhaustive]pub struct CreateEnvironmentOutputBuilder { /* private fields */ }
Expand description
A builder for CreateEnvironmentOutput
.
Implementations§
source§impl CreateEnvironmentOutputBuilder
impl CreateEnvironmentOutputBuilder
sourcepub fn environment_name(self, input: impl Into<String>) -> Self
pub fn environment_name(self, input: impl Into<String>) -> Self
The name of this environment.
sourcepub fn set_environment_name(self, input: Option<String>) -> Self
pub fn set_environment_name(self, input: Option<String>) -> Self
The name of this environment.
sourcepub fn get_environment_name(&self) -> &Option<String>
pub fn get_environment_name(&self) -> &Option<String>
The name of this environment.
sourcepub fn environment_id(self, input: impl Into<String>) -> Self
pub fn environment_id(self, input: impl Into<String>) -> Self
The ID of this environment.
sourcepub fn set_environment_id(self, input: Option<String>) -> Self
pub fn set_environment_id(self, input: Option<String>) -> Self
The ID of this environment.
sourcepub fn get_environment_id(&self) -> &Option<String>
pub fn get_environment_id(&self) -> &Option<String>
The ID of this environment.
sourcepub fn application_name(self, input: impl Into<String>) -> Self
pub fn application_name(self, input: impl Into<String>) -> Self
The name of the application associated with this environment.
sourcepub fn set_application_name(self, input: Option<String>) -> Self
pub fn set_application_name(self, input: Option<String>) -> Self
The name of the application associated with this environment.
sourcepub fn get_application_name(&self) -> &Option<String>
pub fn get_application_name(&self) -> &Option<String>
The name of the application associated with this environment.
sourcepub fn version_label(self, input: impl Into<String>) -> Self
pub fn version_label(self, input: impl Into<String>) -> Self
The application version deployed in this environment.
sourcepub fn set_version_label(self, input: Option<String>) -> Self
pub fn set_version_label(self, input: Option<String>) -> Self
The application version deployed in this environment.
sourcepub fn get_version_label(&self) -> &Option<String>
pub fn get_version_label(&self) -> &Option<String>
The application version deployed in this environment.
sourcepub fn solution_stack_name(self, input: impl Into<String>) -> Self
pub fn solution_stack_name(self, input: impl Into<String>) -> Self
The name of the SolutionStack
deployed with this environment.
sourcepub fn set_solution_stack_name(self, input: Option<String>) -> Self
pub fn set_solution_stack_name(self, input: Option<String>) -> Self
The name of the SolutionStack
deployed with this environment.
sourcepub fn get_solution_stack_name(&self) -> &Option<String>
pub fn get_solution_stack_name(&self) -> &Option<String>
The name of the SolutionStack
deployed with this environment.
sourcepub fn platform_arn(self, input: impl Into<String>) -> Self
pub fn platform_arn(self, input: impl Into<String>) -> Self
The ARN of the platform version.
sourcepub fn set_platform_arn(self, input: Option<String>) -> Self
pub fn set_platform_arn(self, input: Option<String>) -> Self
The ARN of the platform version.
sourcepub fn get_platform_arn(&self) -> &Option<String>
pub fn get_platform_arn(&self) -> &Option<String>
The ARN of the platform version.
sourcepub fn template_name(self, input: impl Into<String>) -> Self
pub fn template_name(self, input: impl Into<String>) -> Self
The name of the configuration template used to originally launch this environment.
sourcepub fn set_template_name(self, input: Option<String>) -> Self
pub fn set_template_name(self, input: Option<String>) -> Self
The name of the configuration template used to originally launch this environment.
sourcepub fn get_template_name(&self) -> &Option<String>
pub fn get_template_name(&self) -> &Option<String>
The name of the configuration template used to originally launch this environment.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
Describes this environment.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
Describes this environment.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
Describes this environment.
sourcepub fn endpoint_url(self, input: impl Into<String>) -> Self
pub fn endpoint_url(self, input: impl Into<String>) -> Self
For load-balanced, autoscaling environments, the URL to the LoadBalancer. For single-instance environments, the IP address of the instance.
sourcepub fn set_endpoint_url(self, input: Option<String>) -> Self
pub fn set_endpoint_url(self, input: Option<String>) -> Self
For load-balanced, autoscaling environments, the URL to the LoadBalancer. For single-instance environments, the IP address of the instance.
sourcepub fn get_endpoint_url(&self) -> &Option<String>
pub fn get_endpoint_url(&self) -> &Option<String>
For load-balanced, autoscaling environments, the URL to the LoadBalancer. For single-instance environments, the IP address of the instance.
sourcepub fn cname(self, input: impl Into<String>) -> Self
pub fn cname(self, input: impl Into<String>) -> Self
The URL to the CNAME for this environment.
sourcepub fn set_cname(self, input: Option<String>) -> Self
pub fn set_cname(self, input: Option<String>) -> Self
The URL to the CNAME for this environment.
sourcepub fn date_created(self, input: DateTime) -> Self
pub fn date_created(self, input: DateTime) -> Self
The creation date for this environment.
sourcepub fn set_date_created(self, input: Option<DateTime>) -> Self
pub fn set_date_created(self, input: Option<DateTime>) -> Self
The creation date for this environment.
sourcepub fn get_date_created(&self) -> &Option<DateTime>
pub fn get_date_created(&self) -> &Option<DateTime>
The creation date for this environment.
sourcepub fn date_updated(self, input: DateTime) -> Self
pub fn date_updated(self, input: DateTime) -> Self
The last modified date for this environment.
sourcepub fn set_date_updated(self, input: Option<DateTime>) -> Self
pub fn set_date_updated(self, input: Option<DateTime>) -> Self
The last modified date for this environment.
sourcepub fn get_date_updated(&self) -> &Option<DateTime>
pub fn get_date_updated(&self) -> &Option<DateTime>
The last modified date for this environment.
sourcepub fn status(self, input: EnvironmentStatus) -> Self
pub fn status(self, input: EnvironmentStatus) -> Self
The current operational status of the environment:
-
Launching
: Environment is in the process of initial deployment. -
Updating
: Environment is in the process of updating its configuration settings or application version. -
Ready
: Environment is available to have an action performed on it, such as update or terminate. -
Terminating
: Environment is in the shut-down process. -
Terminated
: Environment is not running.
sourcepub fn set_status(self, input: Option<EnvironmentStatus>) -> Self
pub fn set_status(self, input: Option<EnvironmentStatus>) -> Self
The current operational status of the environment:
-
Launching
: Environment is in the process of initial deployment. -
Updating
: Environment is in the process of updating its configuration settings or application version. -
Ready
: Environment is available to have an action performed on it, such as update or terminate. -
Terminating
: Environment is in the shut-down process. -
Terminated
: Environment is not running.
sourcepub fn get_status(&self) -> &Option<EnvironmentStatus>
pub fn get_status(&self) -> &Option<EnvironmentStatus>
The current operational status of the environment:
-
Launching
: Environment is in the process of initial deployment. -
Updating
: Environment is in the process of updating its configuration settings or application version. -
Ready
: Environment is available to have an action performed on it, such as update or terminate. -
Terminating
: Environment is in the shut-down process. -
Terminated
: Environment is not running.
sourcepub fn abortable_operation_in_progress(self, input: bool) -> Self
pub fn abortable_operation_in_progress(self, input: bool) -> Self
Indicates if there is an in-progress environment configuration update or application version deployment that you can cancel.
true:
There is an update in progress.
false:
There are no updates currently in progress.
sourcepub fn set_abortable_operation_in_progress(self, input: Option<bool>) -> Self
pub fn set_abortable_operation_in_progress(self, input: Option<bool>) -> Self
Indicates if there is an in-progress environment configuration update or application version deployment that you can cancel.
true:
There is an update in progress.
false:
There are no updates currently in progress.
sourcepub fn get_abortable_operation_in_progress(&self) -> &Option<bool>
pub fn get_abortable_operation_in_progress(&self) -> &Option<bool>
Indicates if there is an in-progress environment configuration update or application version deployment that you can cancel.
true:
There is an update in progress.
false:
There are no updates currently in progress.
sourcepub fn health(self, input: EnvironmentHealth) -> Self
pub fn health(self, input: EnvironmentHealth) -> Self
Describes the health status of the environment. AWS Elastic Beanstalk indicates the failure levels for a running environment:
-
Red
: Indicates the environment is not responsive. Occurs when three or more consecutive failures occur for an environment. -
Yellow
: Indicates that something is wrong. Occurs when two consecutive failures occur for an environment. -
Green
: Indicates the environment is healthy and fully functional. -
Grey
: Default health for a new environment. The environment is not fully launched and health checks have not started or health checks are suspended during anUpdateEnvironment
orRestartEnvironment
request.
Default: Grey
sourcepub fn set_health(self, input: Option<EnvironmentHealth>) -> Self
pub fn set_health(self, input: Option<EnvironmentHealth>) -> Self
Describes the health status of the environment. AWS Elastic Beanstalk indicates the failure levels for a running environment:
-
Red
: Indicates the environment is not responsive. Occurs when three or more consecutive failures occur for an environment. -
Yellow
: Indicates that something is wrong. Occurs when two consecutive failures occur for an environment. -
Green
: Indicates the environment is healthy and fully functional. -
Grey
: Default health for a new environment. The environment is not fully launched and health checks have not started or health checks are suspended during anUpdateEnvironment
orRestartEnvironment
request.
Default: Grey
sourcepub fn get_health(&self) -> &Option<EnvironmentHealth>
pub fn get_health(&self) -> &Option<EnvironmentHealth>
Describes the health status of the environment. AWS Elastic Beanstalk indicates the failure levels for a running environment:
-
Red
: Indicates the environment is not responsive. Occurs when three or more consecutive failures occur for an environment. -
Yellow
: Indicates that something is wrong. Occurs when two consecutive failures occur for an environment. -
Green
: Indicates the environment is healthy and fully functional. -
Grey
: Default health for a new environment. The environment is not fully launched and health checks have not started or health checks are suspended during anUpdateEnvironment
orRestartEnvironment
request.
Default: Grey
sourcepub fn health_status(self, input: EnvironmentHealthStatus) -> Self
pub fn health_status(self, input: EnvironmentHealthStatus) -> Self
Returns the health status of the application running in your environment. For more information, see Health Colors and Statuses.
sourcepub fn set_health_status(self, input: Option<EnvironmentHealthStatus>) -> Self
pub fn set_health_status(self, input: Option<EnvironmentHealthStatus>) -> Self
Returns the health status of the application running in your environment. For more information, see Health Colors and Statuses.
sourcepub fn get_health_status(&self) -> &Option<EnvironmentHealthStatus>
pub fn get_health_status(&self) -> &Option<EnvironmentHealthStatus>
Returns the health status of the application running in your environment. For more information, see Health Colors and Statuses.
sourcepub fn resources(self, input: EnvironmentResourcesDescription) -> Self
pub fn resources(self, input: EnvironmentResourcesDescription) -> Self
The description of the AWS resources used by this environment.
sourcepub fn set_resources(
self,
input: Option<EnvironmentResourcesDescription>
) -> Self
pub fn set_resources( self, input: Option<EnvironmentResourcesDescription> ) -> Self
The description of the AWS resources used by this environment.
sourcepub fn get_resources(&self) -> &Option<EnvironmentResourcesDescription>
pub fn get_resources(&self) -> &Option<EnvironmentResourcesDescription>
The description of the AWS resources used by this environment.
sourcepub fn tier(self, input: EnvironmentTier) -> Self
pub fn tier(self, input: EnvironmentTier) -> Self
Describes the current tier of this environment.
sourcepub fn set_tier(self, input: Option<EnvironmentTier>) -> Self
pub fn set_tier(self, input: Option<EnvironmentTier>) -> Self
Describes the current tier of this environment.
sourcepub fn get_tier(&self) -> &Option<EnvironmentTier>
pub fn get_tier(&self) -> &Option<EnvironmentTier>
Describes the current tier of this environment.
sourcepub fn environment_links(self, input: EnvironmentLink) -> Self
pub fn environment_links(self, input: EnvironmentLink) -> Self
Appends an item to environment_links
.
To override the contents of this collection use set_environment_links
.
A list of links to other environments in the same group.
sourcepub fn set_environment_links(self, input: Option<Vec<EnvironmentLink>>) -> Self
pub fn set_environment_links(self, input: Option<Vec<EnvironmentLink>>) -> Self
A list of links to other environments in the same group.
sourcepub fn get_environment_links(&self) -> &Option<Vec<EnvironmentLink>>
pub fn get_environment_links(&self) -> &Option<Vec<EnvironmentLink>>
A list of links to other environments in the same group.
sourcepub fn environment_arn(self, input: impl Into<String>) -> Self
pub fn environment_arn(self, input: impl Into<String>) -> Self
The environment's Amazon Resource Name (ARN), which can be used in other API requests that require an ARN.
sourcepub fn set_environment_arn(self, input: Option<String>) -> Self
pub fn set_environment_arn(self, input: Option<String>) -> Self
The environment's Amazon Resource Name (ARN), which can be used in other API requests that require an ARN.
sourcepub fn get_environment_arn(&self) -> &Option<String>
pub fn get_environment_arn(&self) -> &Option<String>
The environment's Amazon Resource Name (ARN), which can be used in other API requests that require an ARN.
sourcepub fn operations_role(self, input: impl Into<String>) -> Self
pub fn operations_role(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the environment's operations role. For more information, see Operations roles in the AWS Elastic Beanstalk Developer Guide.
sourcepub fn set_operations_role(self, input: Option<String>) -> Self
pub fn set_operations_role(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the environment's operations role. For more information, see Operations roles in the AWS Elastic Beanstalk Developer Guide.
sourcepub fn get_operations_role(&self) -> &Option<String>
pub fn get_operations_role(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the environment's operations role. For more information, see Operations roles in the AWS Elastic Beanstalk Developer Guide.
sourcepub fn build(self) -> CreateEnvironmentOutput
pub fn build(self) -> CreateEnvironmentOutput
Consumes the builder and constructs a CreateEnvironmentOutput
.
Trait Implementations§
source§impl Clone for CreateEnvironmentOutputBuilder
impl Clone for CreateEnvironmentOutputBuilder
source§fn clone(&self) -> CreateEnvironmentOutputBuilder
fn clone(&self) -> CreateEnvironmentOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateEnvironmentOutputBuilder
impl Default for CreateEnvironmentOutputBuilder
source§fn default() -> CreateEnvironmentOutputBuilder
fn default() -> CreateEnvironmentOutputBuilder
source§impl PartialEq for CreateEnvironmentOutputBuilder
impl PartialEq for CreateEnvironmentOutputBuilder
source§fn eq(&self, other: &CreateEnvironmentOutputBuilder) -> bool
fn eq(&self, other: &CreateEnvironmentOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateEnvironmentOutputBuilder
Auto Trait Implementations§
impl Freeze for CreateEnvironmentOutputBuilder
impl RefUnwindSafe for CreateEnvironmentOutputBuilder
impl Send for CreateEnvironmentOutputBuilder
impl Sync for CreateEnvironmentOutputBuilder
impl Unpin for CreateEnvironmentOutputBuilder
impl UnwindSafe for CreateEnvironmentOutputBuilder
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