pub struct ModifyInstancePlacementRequest {
pub affinity: Option<String>,
pub group_name: Option<String>,
pub host_id: Option<String>,
pub host_resource_group_arn: Option<String>,
pub instance_id: String,
pub partition_number: Option<i64>,
pub tenancy: Option<String>,
}
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 and partition 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.
host_resource_group_arn: Option<String>
The ARN of the host resource group in which to place the instance.
instance_id: String
The ID of the instance that you are modifying.
partition_number: Option<i64>
Reserved for future use.
tenancy: Option<String>
The tenancy for the instance.
Trait Implementations§
Source§impl Clone for ModifyInstancePlacementRequest
impl Clone for ModifyInstancePlacementRequest
Source§fn clone(&self) -> ModifyInstancePlacementRequest
fn clone(&self) -> ModifyInstancePlacementRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for ModifyInstancePlacementRequest
impl Default for ModifyInstancePlacementRequest
Source§fn default() -> ModifyInstancePlacementRequest
fn default() -> ModifyInstancePlacementRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for ModifyInstancePlacementRequest
impl PartialEq for ModifyInstancePlacementRequest
Source§fn eq(&self, other: &ModifyInstancePlacementRequest) -> bool
fn eq(&self, other: &ModifyInstancePlacementRequest) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ModifyInstancePlacementRequest
Auto Trait Implementations§
impl Freeze for ModifyInstancePlacementRequest
impl RefUnwindSafe for ModifyInstancePlacementRequest
impl Send for ModifyInstancePlacementRequest
impl Sync for ModifyInstancePlacementRequest
impl Unpin for ModifyInstancePlacementRequest
impl UnwindSafe for ModifyInstancePlacementRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more