#[non_exhaustive]pub struct ListedGatewayInstanceBuilder { /* private fields */ }
Expand description
A builder for ListedGatewayInstance
.
Implementations§
source§impl ListedGatewayInstanceBuilder
impl ListedGatewayInstanceBuilder
sourcepub fn gateway_arn(self, input: impl Into<String>) -> Self
pub fn gateway_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the gateway. This field is required.
sourcepub fn set_gateway_arn(self, input: Option<String>) -> Self
pub fn set_gateway_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the gateway.
sourcepub fn get_gateway_arn(&self) -> &Option<String>
pub fn get_gateway_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the gateway.
sourcepub fn gateway_instance_arn(self, input: impl Into<String>) -> Self
pub fn gateway_instance_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the instance. This field is required.
sourcepub fn set_gateway_instance_arn(self, input: Option<String>) -> Self
pub fn set_gateway_instance_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the instance.
sourcepub fn get_gateway_instance_arn(&self) -> &Option<String>
pub fn get_gateway_instance_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the instance.
sourcepub fn instance_id(self, input: impl Into<String>) -> Self
pub fn instance_id(self, input: impl Into<String>) -> Self
The managed instance ID generated by the SSM install. This will begin with “mi-”. This field is required.
sourcepub fn set_instance_id(self, input: Option<String>) -> Self
pub fn set_instance_id(self, input: Option<String>) -> Self
The managed instance ID generated by the SSM install. This will begin with “mi-”.
sourcepub fn get_instance_id(&self) -> &Option<String>
pub fn get_instance_id(&self) -> &Option<String>
The managed instance ID generated by the SSM install. This will begin with “mi-”.
sourcepub fn instance_state(self, input: InstanceState) -> Self
pub fn instance_state(self, input: InstanceState) -> Self
The status of the instance.
sourcepub fn set_instance_state(self, input: Option<InstanceState>) -> Self
pub fn set_instance_state(self, input: Option<InstanceState>) -> Self
The status of the instance.
sourcepub fn get_instance_state(&self) -> &Option<InstanceState>
pub fn get_instance_state(&self) -> &Option<InstanceState>
The status of the instance.
sourcepub fn build(self) -> ListedGatewayInstance
pub fn build(self) -> ListedGatewayInstance
Consumes the builder and constructs a ListedGatewayInstance
.
Trait Implementations§
source§impl Clone for ListedGatewayInstanceBuilder
impl Clone for ListedGatewayInstanceBuilder
source§fn clone(&self) -> ListedGatewayInstanceBuilder
fn clone(&self) -> ListedGatewayInstanceBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListedGatewayInstanceBuilder
impl Debug for ListedGatewayInstanceBuilder
source§impl Default for ListedGatewayInstanceBuilder
impl Default for ListedGatewayInstanceBuilder
source§fn default() -> ListedGatewayInstanceBuilder
fn default() -> ListedGatewayInstanceBuilder
source§impl PartialEq for ListedGatewayInstanceBuilder
impl PartialEq for ListedGatewayInstanceBuilder
source§fn eq(&self, other: &ListedGatewayInstanceBuilder) -> bool
fn eq(&self, other: &ListedGatewayInstanceBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListedGatewayInstanceBuilder
Auto Trait Implementations§
impl Freeze for ListedGatewayInstanceBuilder
impl RefUnwindSafe for ListedGatewayInstanceBuilder
impl Send for ListedGatewayInstanceBuilder
impl Sync for ListedGatewayInstanceBuilder
impl Unpin for ListedGatewayInstanceBuilder
impl UnwindSafe for ListedGatewayInstanceBuilder
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
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>
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>
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 more