Struct aws_sdk_mediaconnect::types::builders::ListedGatewayBuilder
source · #[non_exhaustive]pub struct ListedGatewayBuilder { /* private fields */ }
Expand description
A builder for ListedGateway
.
Implementations§
source§impl ListedGatewayBuilder
impl ListedGatewayBuilder
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_state(self, input: GatewayState) -> Self
pub fn gateway_state(self, input: GatewayState) -> Self
This field is required.
pub fn set_gateway_state(self, input: Option<GatewayState>) -> Self
pub fn get_gateway_state(&self) -> &Option<GatewayState>
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the gateway. This field is required.
sourcepub fn build(self) -> ListedGateway
pub fn build(self) -> ListedGateway
Consumes the builder and constructs a ListedGateway
.
Trait Implementations§
source§impl Clone for ListedGatewayBuilder
impl Clone for ListedGatewayBuilder
source§fn clone(&self) -> ListedGatewayBuilder
fn clone(&self) -> ListedGatewayBuilder
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 ListedGatewayBuilder
impl Debug for ListedGatewayBuilder
source§impl Default for ListedGatewayBuilder
impl Default for ListedGatewayBuilder
source§fn default() -> ListedGatewayBuilder
fn default() -> ListedGatewayBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ListedGatewayBuilder
impl PartialEq for ListedGatewayBuilder
source§fn eq(&self, other: &ListedGatewayBuilder) -> bool
fn eq(&self, other: &ListedGatewayBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListedGatewayBuilder
Auto Trait Implementations§
impl Freeze for ListedGatewayBuilder
impl RefUnwindSafe for ListedGatewayBuilder
impl Send for ListedGatewayBuilder
impl Sync for ListedGatewayBuilder
impl Unpin for ListedGatewayBuilder
impl UnwindSafe for ListedGatewayBuilder
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.