#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for CreateEnvironmentOutput
Implementations
sourceimpl Builder
impl Builder
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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 build(self) -> CreateEnvironmentOutput
pub fn build(self) -> CreateEnvironmentOutput
Consumes the builder and constructs a CreateEnvironmentOutput
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more