Struct rusoto_ec2::ModifyInstancePlacementRequest [−][src]
pub struct ModifyInstancePlacementRequest { pub affinity: Option<String>, pub group_name: Option<String>, pub host_id: Option<String>, pub instance_id: String, pub tenancy: Option<String>, }
Contains the parameters for ModifyInstancePlacement.
Fields
affinity: Option<String>
The affinity setting for the instance.
group_name: Option<String>
The name of the placement group in which to place the instance. For spread placement groups, the instance must have a tenancy of default
. For cluster placement groups, the instance must have a tenancy of default
or dedicated
.
To remove an instance from a placement group, specify an empty string ("").
host_id: Option<String>
The ID of the Dedicated Host with which to associate the instance.
instance_id: String
The ID of the instance that you are modifying.
tenancy: Option<String>
The tenancy for the instance.
Trait Implementations
impl Default for ModifyInstancePlacementRequest
[src]
impl Default for ModifyInstancePlacementRequest
fn default() -> ModifyInstancePlacementRequest
[src]
fn default() -> ModifyInstancePlacementRequest
Returns the "default value" for a type. Read more
impl Debug for ModifyInstancePlacementRequest
[src]
impl Debug for ModifyInstancePlacementRequest
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for ModifyInstancePlacementRequest
[src]
impl Clone for ModifyInstancePlacementRequest
fn clone(&self) -> ModifyInstancePlacementRequest
[src]
fn clone(&self) -> ModifyInstancePlacementRequest
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl PartialEq for ModifyInstancePlacementRequest
[src]
impl PartialEq for ModifyInstancePlacementRequest
fn eq(&self, other: &ModifyInstancePlacementRequest) -> bool
[src]
fn eq(&self, other: &ModifyInstancePlacementRequest) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ModifyInstancePlacementRequest) -> bool
[src]
fn ne(&self, other: &ModifyInstancePlacementRequest) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for ModifyInstancePlacementRequest
impl Send for ModifyInstancePlacementRequest
impl Sync for ModifyInstancePlacementRequest
impl Sync for ModifyInstancePlacementRequest