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