#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for EnvironmentResourceDescription
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 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
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