#[non_exhaustive]pub struct UpdateGatewayInstanceInput {
pub bridge_placement: Option<BridgePlacement>,
pub gateway_instance_arn: Option<String>,
}
Expand description
A request to update gateway instance state.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.bridge_placement: Option<BridgePlacement>
The availability of the instance to host new bridges. The bridgePlacement property can be LOCKED or AVAILABLE. If it is LOCKED, no new bridges can be deployed to this instance. If it is AVAILABLE, new bridges can be added to this instance.
gateway_instance_arn: Option<String>
The Amazon Resource Name (ARN) of the instance that you want to update.
Implementations§
source§impl UpdateGatewayInstanceInput
impl UpdateGatewayInstanceInput
sourcepub fn bridge_placement(&self) -> Option<&BridgePlacement>
pub fn bridge_placement(&self) -> Option<&BridgePlacement>
The availability of the instance to host new bridges. The bridgePlacement property can be LOCKED or AVAILABLE. If it is LOCKED, no new bridges can be deployed to this instance. If it is AVAILABLE, new bridges can be added to this instance.
sourcepub fn gateway_instance_arn(&self) -> Option<&str>
pub fn gateway_instance_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the instance that you want to update.
source§impl UpdateGatewayInstanceInput
impl UpdateGatewayInstanceInput
sourcepub fn builder() -> UpdateGatewayInstanceInputBuilder
pub fn builder() -> UpdateGatewayInstanceInputBuilder
Creates a new builder-style object to manufacture UpdateGatewayInstanceInput
.
Trait Implementations§
source§impl Clone for UpdateGatewayInstanceInput
impl Clone for UpdateGatewayInstanceInput
source§fn clone(&self) -> UpdateGatewayInstanceInput
fn clone(&self) -> UpdateGatewayInstanceInput
Returns a copy 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 Debug for UpdateGatewayInstanceInput
impl Debug for UpdateGatewayInstanceInput
source§impl PartialEq for UpdateGatewayInstanceInput
impl PartialEq for UpdateGatewayInstanceInput
source§fn eq(&self, other: &UpdateGatewayInstanceInput) -> bool
fn eq(&self, other: &UpdateGatewayInstanceInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateGatewayInstanceInput
Auto Trait Implementations§
impl Freeze for UpdateGatewayInstanceInput
impl RefUnwindSafe for UpdateGatewayInstanceInput
impl Send for UpdateGatewayInstanceInput
impl Sync for UpdateGatewayInstanceInput
impl Unpin for UpdateGatewayInstanceInput
impl UnwindSafe for UpdateGatewayInstanceInput
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.