#[non_exhaustive]pub struct SetInstanceProtectionInput { /* private fields */ }
Implementations
sourceimpl SetInstanceProtectionInput
impl SetInstanceProtectionInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<SetInstanceProtection, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<SetInstanceProtection, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<SetInstanceProtection
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture SetInstanceProtectionInput
.
sourceimpl SetInstanceProtectionInput
impl SetInstanceProtectionInput
sourcepub fn instance_ids(&self) -> Option<&[String]>
pub fn instance_ids(&self) -> Option<&[String]>
One or more instance IDs. You can specify up to 50 instances.
sourcepub fn auto_scaling_group_name(&self) -> Option<&str>
pub fn auto_scaling_group_name(&self) -> Option<&str>
The name of the Auto Scaling group.
sourcepub fn protected_from_scale_in(&self) -> Option<bool>
pub fn protected_from_scale_in(&self) -> Option<bool>
Indicates whether the instance is protected from termination by Amazon EC2 Auto Scaling when scaling in.
Trait Implementations
sourceimpl Clone for SetInstanceProtectionInput
impl Clone for SetInstanceProtectionInput
sourcefn clone(&self) -> SetInstanceProtectionInput
fn clone(&self) -> SetInstanceProtectionInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for SetInstanceProtectionInput
impl Debug for SetInstanceProtectionInput
sourceimpl PartialEq<SetInstanceProtectionInput> for SetInstanceProtectionInput
impl PartialEq<SetInstanceProtectionInput> for SetInstanceProtectionInput
sourcefn eq(&self, other: &SetInstanceProtectionInput) -> bool
fn eq(&self, other: &SetInstanceProtectionInput) -> bool
impl StructuralPartialEq for SetInstanceProtectionInput
Auto Trait Implementations
impl RefUnwindSafe for SetInstanceProtectionInput
impl Send for SetInstanceProtectionInput
impl Sync for SetInstanceProtectionInput
impl Unpin for SetInstanceProtectionInput
impl UnwindSafe for SetInstanceProtectionInput
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