#[non_exhaustive]pub struct EnvironmentResourceDescriptionBuilder { /* private fields */ }
Expand description
A builder for EnvironmentResourceDescription
.
Implementations§
source§impl EnvironmentResourceDescriptionBuilder
impl EnvironmentResourceDescriptionBuilder
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.
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.
sourcepub fn get_environment_name(&self) -> &Option<String>
pub fn get_environment_name(&self) -> &Option<String>
The name of the environment.
sourcepub fn auto_scaling_groups(self, input: AutoScalingGroup) -> Self
pub fn auto_scaling_groups(self, input: AutoScalingGroup) -> Self
Appends an item to auto_scaling_groups
.
To override the contents of this collection use set_auto_scaling_groups
.
The AutoScalingGroups
used by this environment.
sourcepub fn set_auto_scaling_groups(
self,
input: Option<Vec<AutoScalingGroup>>
) -> Self
pub fn set_auto_scaling_groups( self, input: Option<Vec<AutoScalingGroup>> ) -> Self
The AutoScalingGroups
used by this environment.
sourcepub fn get_auto_scaling_groups(&self) -> &Option<Vec<AutoScalingGroup>>
pub fn get_auto_scaling_groups(&self) -> &Option<Vec<AutoScalingGroup>>
The AutoScalingGroups
used by this environment.
sourcepub fn instances(self, input: Instance) -> Self
pub fn instances(self, input: Instance) -> Self
Appends an item to instances
.
To override the contents of this collection use set_instances
.
The Amazon EC2 instances used by this environment.
sourcepub fn set_instances(self, input: Option<Vec<Instance>>) -> Self
pub fn set_instances(self, input: Option<Vec<Instance>>) -> Self
The Amazon EC2 instances used by this environment.
sourcepub fn get_instances(&self) -> &Option<Vec<Instance>>
pub fn get_instances(&self) -> &Option<Vec<Instance>>
The Amazon EC2 instances used by this environment.
sourcepub fn launch_configurations(self, input: LaunchConfiguration) -> Self
pub fn launch_configurations(self, input: LaunchConfiguration) -> Self
Appends an item to launch_configurations
.
To override the contents of this collection use set_launch_configurations
.
The Auto Scaling launch configurations in use by this environment.
sourcepub fn set_launch_configurations(
self,
input: Option<Vec<LaunchConfiguration>>
) -> Self
pub fn set_launch_configurations( self, input: Option<Vec<LaunchConfiguration>> ) -> Self
The Auto Scaling launch configurations in use by this environment.
sourcepub fn get_launch_configurations(&self) -> &Option<Vec<LaunchConfiguration>>
pub fn get_launch_configurations(&self) -> &Option<Vec<LaunchConfiguration>>
The Auto Scaling launch configurations in use by this environment.
sourcepub fn launch_templates(self, input: LaunchTemplate) -> Self
pub fn launch_templates(self, input: LaunchTemplate) -> Self
Appends an item to launch_templates
.
To override the contents of this collection use set_launch_templates
.
The Amazon EC2 launch templates in use by this environment.
sourcepub fn set_launch_templates(self, input: Option<Vec<LaunchTemplate>>) -> Self
pub fn set_launch_templates(self, input: Option<Vec<LaunchTemplate>>) -> Self
The Amazon EC2 launch templates in use by this environment.
sourcepub fn get_launch_templates(&self) -> &Option<Vec<LaunchTemplate>>
pub fn get_launch_templates(&self) -> &Option<Vec<LaunchTemplate>>
The Amazon EC2 launch templates in use by this environment.
sourcepub fn load_balancers(self, input: LoadBalancer) -> Self
pub fn load_balancers(self, input: LoadBalancer) -> Self
Appends an item to load_balancers
.
To override the contents of this collection use set_load_balancers
.
The LoadBalancers in use by this environment.
sourcepub fn set_load_balancers(self, input: Option<Vec<LoadBalancer>>) -> Self
pub fn set_load_balancers(self, input: Option<Vec<LoadBalancer>>) -> Self
The LoadBalancers in use by this environment.
sourcepub fn get_load_balancers(&self) -> &Option<Vec<LoadBalancer>>
pub fn get_load_balancers(&self) -> &Option<Vec<LoadBalancer>>
The LoadBalancers in use by this environment.
sourcepub fn triggers(self, input: Trigger) -> Self
pub fn triggers(self, input: Trigger) -> Self
Appends an item to triggers
.
To override the contents of this collection use set_triggers
.
The AutoScaling
triggers in use by this environment.
sourcepub fn set_triggers(self, input: Option<Vec<Trigger>>) -> Self
pub fn set_triggers(self, input: Option<Vec<Trigger>>) -> Self
The AutoScaling
triggers in use by this environment.
sourcepub fn get_triggers(&self) -> &Option<Vec<Trigger>>
pub fn get_triggers(&self) -> &Option<Vec<Trigger>>
The AutoScaling
triggers in use by this environment.
sourcepub fn queues(self, input: Queue) -> Self
pub fn queues(self, input: Queue) -> Self
Appends an item to queues
.
To override the contents of this collection use set_queues
.
The queues used by this environment.
sourcepub fn set_queues(self, input: Option<Vec<Queue>>) -> Self
pub fn set_queues(self, input: Option<Vec<Queue>>) -> Self
The queues used by this environment.
sourcepub fn get_queues(&self) -> &Option<Vec<Queue>>
pub fn get_queues(&self) -> &Option<Vec<Queue>>
The queues used by this environment.
sourcepub fn build(self) -> EnvironmentResourceDescription
pub fn build(self) -> EnvironmentResourceDescription
Consumes the builder and constructs a EnvironmentResourceDescription
.
Trait Implementations§
source§impl Clone for EnvironmentResourceDescriptionBuilder
impl Clone for EnvironmentResourceDescriptionBuilder
source§fn clone(&self) -> EnvironmentResourceDescriptionBuilder
fn clone(&self) -> EnvironmentResourceDescriptionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for EnvironmentResourceDescriptionBuilder
impl Default for EnvironmentResourceDescriptionBuilder
source§fn default() -> EnvironmentResourceDescriptionBuilder
fn default() -> EnvironmentResourceDescriptionBuilder
source§impl PartialEq<EnvironmentResourceDescriptionBuilder> for EnvironmentResourceDescriptionBuilder
impl PartialEq<EnvironmentResourceDescriptionBuilder> for EnvironmentResourceDescriptionBuilder
source§fn eq(&self, other: &EnvironmentResourceDescriptionBuilder) -> bool
fn eq(&self, other: &EnvironmentResourceDescriptionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.