pub struct Builder { /* private fields */ }
Expand description
A builder for EnvironmentResourceDescription
.
Implementations§
source§impl 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 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 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 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 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 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 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 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 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 build(self) -> EnvironmentResourceDescription
pub fn build(self) -> EnvironmentResourceDescription
Consumes the builder and constructs a EnvironmentResourceDescription
.