#[non_exhaustive]pub struct GreenFleetProvisioningOptionBuilder { /* private fields */ }
Expand description
A builder for GreenFleetProvisioningOption
.
Implementations§
source§impl GreenFleetProvisioningOptionBuilder
impl GreenFleetProvisioningOptionBuilder
sourcepub fn action(self, input: GreenFleetProvisioningAction) -> Self
pub fn action(self, input: GreenFleetProvisioningAction) -> Self
The method used to add instances to a replacement environment.
-
DISCOVER_EXISTING
: Use instances that already exist or will be created manually. -
COPY_AUTO_SCALING_GROUP
: Use settings from a specified Auto Scaling group to define and create instances in a new Auto Scaling group.
sourcepub fn set_action(self, input: Option<GreenFleetProvisioningAction>) -> Self
pub fn set_action(self, input: Option<GreenFleetProvisioningAction>) -> Self
The method used to add instances to a replacement environment.
-
DISCOVER_EXISTING
: Use instances that already exist or will be created manually. -
COPY_AUTO_SCALING_GROUP
: Use settings from a specified Auto Scaling group to define and create instances in a new Auto Scaling group.
sourcepub fn get_action(&self) -> &Option<GreenFleetProvisioningAction>
pub fn get_action(&self) -> &Option<GreenFleetProvisioningAction>
The method used to add instances to a replacement environment.
-
DISCOVER_EXISTING
: Use instances that already exist or will be created manually. -
COPY_AUTO_SCALING_GROUP
: Use settings from a specified Auto Scaling group to define and create instances in a new Auto Scaling group.
sourcepub fn build(self) -> GreenFleetProvisioningOption
pub fn build(self) -> GreenFleetProvisioningOption
Consumes the builder and constructs a GreenFleetProvisioningOption
.
Trait Implementations§
source§impl Clone for GreenFleetProvisioningOptionBuilder
impl Clone for GreenFleetProvisioningOptionBuilder
source§fn clone(&self) -> GreenFleetProvisioningOptionBuilder
fn clone(&self) -> GreenFleetProvisioningOptionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GreenFleetProvisioningOptionBuilder
impl Default for GreenFleetProvisioningOptionBuilder
source§fn default() -> GreenFleetProvisioningOptionBuilder
fn default() -> GreenFleetProvisioningOptionBuilder
source§impl PartialEq for GreenFleetProvisioningOptionBuilder
impl PartialEq for GreenFleetProvisioningOptionBuilder
source§fn eq(&self, other: &GreenFleetProvisioningOptionBuilder) -> bool
fn eq(&self, other: &GreenFleetProvisioningOptionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.