Struct aws_sdk_ec2::input::ModifyHostsInput
source · #[non_exhaustive]pub struct ModifyHostsInput { /* private fields */ }
Implementations§
source§impl ModifyHostsInput
impl ModifyHostsInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ModifyHosts, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ModifyHosts, AwsResponseRetryClassifier>, 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
.
source§impl 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§
source§impl Clone for ModifyHostsInput
impl Clone for ModifyHostsInput
source§fn clone(&self) -> ModifyHostsInput
fn clone(&self) -> ModifyHostsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ModifyHostsInput
impl Debug for ModifyHostsInput
source§impl PartialEq<ModifyHostsInput> for ModifyHostsInput
impl PartialEq<ModifyHostsInput> for ModifyHostsInput
source§fn eq(&self, other: &ModifyHostsInput) -> bool
fn eq(&self, other: &ModifyHostsInput) -> bool
self
and other
values to be equal, and is used
by ==
.