Struct aws_sdk_ec2::input::ModifyHostsInput
source · [−]#[non_exhaustive]pub struct ModifyHostsInput { /* private fields */ }
Implementations
sourceimpl ModifyHostsInput
impl ModifyHostsInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ModifyHosts, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ModifyHosts, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<ModifyHosts
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ModifyHostsInput
.
sourceimpl ModifyHostsInput
impl ModifyHostsInput
sourcepub fn auto_placement(&self) -> Option<&AutoPlacement>
pub fn auto_placement(&self) -> Option<&AutoPlacement>
Specify whether to enable or disable auto-placement.
sourcepub fn host_recovery(&self) -> Option<&HostRecovery>
pub fn host_recovery(&self) -> Option<&HostRecovery>
Indicates whether to enable or disable host recovery for the Dedicated Host. For more information, see Host recovery in the Amazon EC2 User Guide.
sourcepub fn instance_type(&self) -> Option<&str>
pub fn instance_type(&self) -> Option<&str>
Specifies the instance type to be supported by the Dedicated Host. Specify this parameter to modify a Dedicated Host to support only a specific instance type.
If you want to modify a Dedicated Host to support multiple instance types in its current instance family, omit this parameter and specify InstanceFamily instead. You cannot specify InstanceType and InstanceFamily in the same request.
sourcepub fn instance_family(&self) -> Option<&str>
pub fn instance_family(&self) -> Option<&str>
Specifies the instance family to be supported by the Dedicated Host. Specify this parameter to modify a Dedicated Host to support multiple instance types within its current instance family.
If you want to modify a Dedicated Host to support a specific instance type only, omit this parameter and specify InstanceType instead. You cannot specify InstanceFamily and InstanceType in the same request.
Trait Implementations
sourceimpl Clone for ModifyHostsInput
impl Clone for ModifyHostsInput
sourcefn clone(&self) -> ModifyHostsInput
fn clone(&self) -> ModifyHostsInput
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 more
sourceimpl Debug for ModifyHostsInput
impl Debug for ModifyHostsInput
sourceimpl PartialEq<ModifyHostsInput> for ModifyHostsInput
impl PartialEq<ModifyHostsInput> for ModifyHostsInput
sourcefn eq(&self, other: &ModifyHostsInput) -> bool
fn eq(&self, other: &ModifyHostsInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl StructuralPartialEq for ModifyHostsInput
Auto Trait Implementations
impl RefUnwindSafe for ModifyHostsInput
impl Send for ModifyHostsInput
impl Sync for ModifyHostsInput
impl Unpin for ModifyHostsInput
impl UnwindSafe for ModifyHostsInput
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