pub struct Builder { /* private fields */ }
Expand description
A builder for GreenFleetProvisioningOption
.
Implementations
sourceimpl 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
.
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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