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
sourceimpl Clone for ModifyInstancePlacementRequest
impl Clone for ModifyInstancePlacementRequest
sourcefn clone(&self) -> ModifyInstancePlacementRequest
fn clone(&self) -> ModifyInstancePlacementRequest
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 Default for ModifyInstancePlacementRequest
impl Default for ModifyInstancePlacementRequest
sourcefn default() -> ModifyInstancePlacementRequest
fn default() -> ModifyInstancePlacementRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<ModifyInstancePlacementRequest> for ModifyInstancePlacementRequest
impl PartialEq<ModifyInstancePlacementRequest> for ModifyInstancePlacementRequest
sourcefn eq(&self, other: &ModifyInstancePlacementRequest) -> bool
fn eq(&self, other: &ModifyInstancePlacementRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ModifyInstancePlacementRequest) -> bool
fn ne(&self, other: &ModifyInstancePlacementRequest) -> bool
This method tests for !=
.
impl StructuralPartialEq for ModifyInstancePlacementRequest
Auto Trait Implementations
impl RefUnwindSafe for ModifyInstancePlacementRequest
impl Send for ModifyInstancePlacementRequest
impl Sync for ModifyInstancePlacementRequest
impl Unpin for ModifyInstancePlacementRequest
impl UnwindSafe for ModifyInstancePlacementRequest
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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
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