#[non_exhaustive]
pub struct CreateEnvironmentOutputBuilder { /* private fields */ }
Expand description

A builder for CreateEnvironmentOutput.

Implementations§

source§

impl CreateEnvironmentOutputBuilder

source

pub fn environment_name(self, input: impl Into<String>) -> Self

The name of this environment.

source

pub fn set_environment_name(self, input: Option<String>) -> Self

The name of this environment.

source

pub fn get_environment_name(&self) -> &Option<String>

The name of this environment.

source

pub fn environment_id(self, input: impl Into<String>) -> Self

The ID of this environment.

source

pub fn set_environment_id(self, input: Option<String>) -> Self

The ID of this environment.

source

pub fn get_environment_id(&self) -> &Option<String>

The ID of this environment.

source

pub fn application_name(self, input: impl Into<String>) -> Self

The name of the application associated with this environment.

source

pub fn set_application_name(self, input: Option<String>) -> Self

The name of the application associated with this environment.

source

pub fn get_application_name(&self) -> &Option<String>

The name of the application associated with this environment.

source

pub fn version_label(self, input: impl Into<String>) -> Self

The application version deployed in this environment.

source

pub fn set_version_label(self, input: Option<String>) -> Self

The application version deployed in this environment.

source

pub fn get_version_label(&self) -> &Option<String>

The application version deployed in this environment.

source

pub fn solution_stack_name(self, input: impl Into<String>) -> Self

The name of the SolutionStack deployed with this environment.

source

pub fn set_solution_stack_name(self, input: Option<String>) -> Self

The name of the SolutionStack deployed with this environment.

source

pub fn get_solution_stack_name(&self) -> &Option<String>

The name of the SolutionStack deployed with this environment.

source

pub fn platform_arn(self, input: impl Into<String>) -> Self

The ARN of the platform version.

source

pub fn set_platform_arn(self, input: Option<String>) -> Self

The ARN of the platform version.

source

pub fn get_platform_arn(&self) -> &Option<String>

The ARN of the platform version.

source

pub fn template_name(self, input: impl Into<String>) -> Self

The name of the configuration template used to originally launch this environment.

source

pub fn set_template_name(self, input: Option<String>) -> Self

The name of the configuration template used to originally launch this environment.

source

pub fn get_template_name(&self) -> &Option<String>

The name of the configuration template used to originally launch this environment.

source

pub fn description(self, input: impl Into<String>) -> Self

Describes this environment.

source

pub fn set_description(self, input: Option<String>) -> Self

Describes this environment.

source

pub fn get_description(&self) -> &Option<String>

Describes this environment.

source

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.

source

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.

source

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.

source

pub fn cname(self, input: impl Into<String>) -> Self

The URL to the CNAME for this environment.

source

pub fn set_cname(self, input: Option<String>) -> Self

The URL to the CNAME for this environment.

source

pub fn get_cname(&self) -> &Option<String>

The URL to the CNAME for this environment.

source

pub fn date_created(self, input: DateTime) -> Self

The creation date for this environment.

source

pub fn set_date_created(self, input: Option<DateTime>) -> Self

The creation date for this environment.

source

pub fn get_date_created(&self) -> &Option<DateTime>

The creation date for this environment.

source

pub fn date_updated(self, input: DateTime) -> Self

The last modified date for this environment.

source

pub fn set_date_updated(self, input: Option<DateTime>) -> Self

The last modified date for this environment.

source

pub fn get_date_updated(&self) -> &Option<DateTime>

The last modified date for this environment.

source

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.

source

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.

source

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.

source

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.

source

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.

source

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.

source

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 an UpdateEnvironment or RestartEnvironment request.

Default: Grey

source

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 an UpdateEnvironment or RestartEnvironment request.

Default: Grey

source

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 an UpdateEnvironment or RestartEnvironment request.

Default: Grey

source

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.

source

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.

source

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.

source

pub fn resources(self, input: EnvironmentResourcesDescription) -> Self

The description of the AWS resources used by this environment.

source

pub fn set_resources( self, input: Option<EnvironmentResourcesDescription> ) -> Self

The description of the AWS resources used by this environment.

source

pub fn get_resources(&self) -> &Option<EnvironmentResourcesDescription>

The description of the AWS resources used by this environment.

source

pub fn tier(self, input: EnvironmentTier) -> Self

Describes the current tier of this environment.

source

pub fn set_tier(self, input: Option<EnvironmentTier>) -> Self

Describes the current tier of this environment.

source

pub fn get_tier(&self) -> &Option<EnvironmentTier>

Describes the current tier of this environment.

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.

A list of links to other environments in the same group.

A list of links to other environments in the same group.

source

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.

source

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.

source

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.

source

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.

source

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.

source

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.

source

pub fn build(self) -> CreateEnvironmentOutput

Consumes the builder and constructs a CreateEnvironmentOutput.

Trait Implementations§

source§

impl Clone for CreateEnvironmentOutputBuilder

source§

fn clone(&self) -> CreateEnvironmentOutputBuilder

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for CreateEnvironmentOutputBuilder

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for CreateEnvironmentOutputBuilder

source§

fn default() -> CreateEnvironmentOutputBuilder

Returns the “default value” for a type. Read more
source§

impl PartialEq for CreateEnvironmentOutputBuilder

source§

fn eq(&self, other: &CreateEnvironmentOutputBuilder) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl StructuralPartialEq for CreateEnvironmentOutputBuilder

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts 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 more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts 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
source§

impl<Unshared, Shared> IntoShared<Shared> for Unshared
where Shared: FromUnshared<Unshared>,

source§

fn into_shared(self) -> Shared

Creates a shared type from an unshared type.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

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
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more