#[non_exhaustive]pub struct GetRelayOutputBuilder { /* private fields */ }
Expand description
A builder for GetRelayOutput
.
Implementations§
source§impl GetRelayOutputBuilder
impl GetRelayOutputBuilder
sourcepub fn relay_id(self, input: impl Into<String>) -> Self
pub fn relay_id(self, input: impl Into<String>) -> Self
The unique relay identifier.
This field is required.sourcepub fn set_relay_id(self, input: Option<String>) -> Self
pub fn set_relay_id(self, input: Option<String>) -> Self
The unique relay identifier.
sourcepub fn get_relay_id(&self) -> &Option<String>
pub fn get_relay_id(&self) -> &Option<String>
The unique relay identifier.
sourcepub fn relay_arn(self, input: impl Into<String>) -> Self
pub fn relay_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the relay.
sourcepub fn set_relay_arn(self, input: Option<String>) -> Self
pub fn set_relay_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the relay.
sourcepub fn get_relay_arn(&self) -> &Option<String>
pub fn get_relay_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the relay.
sourcepub fn relay_name(self, input: impl Into<String>) -> Self
pub fn relay_name(self, input: impl Into<String>) -> Self
The unique name of the relay.
sourcepub fn set_relay_name(self, input: Option<String>) -> Self
pub fn set_relay_name(self, input: Option<String>) -> Self
The unique name of the relay.
sourcepub fn get_relay_name(&self) -> &Option<String>
pub fn get_relay_name(&self) -> &Option<String>
The unique name of the relay.
sourcepub fn server_name(self, input: impl Into<String>) -> Self
pub fn server_name(self, input: impl Into<String>) -> Self
The destination relay server address.
sourcepub fn set_server_name(self, input: Option<String>) -> Self
pub fn set_server_name(self, input: Option<String>) -> Self
The destination relay server address.
sourcepub fn get_server_name(&self) -> &Option<String>
pub fn get_server_name(&self) -> &Option<String>
The destination relay server address.
sourcepub fn server_port(self, input: i32) -> Self
pub fn server_port(self, input: i32) -> Self
The destination relay server port.
sourcepub fn set_server_port(self, input: Option<i32>) -> Self
pub fn set_server_port(self, input: Option<i32>) -> Self
The destination relay server port.
sourcepub fn get_server_port(&self) -> &Option<i32>
pub fn get_server_port(&self) -> &Option<i32>
The destination relay server port.
sourcepub fn authentication(self, input: RelayAuthentication) -> Self
pub fn authentication(self, input: RelayAuthentication) -> Self
The authentication attribute—contains the secret ARN where the customer relay server credentials are stored.
sourcepub fn set_authentication(self, input: Option<RelayAuthentication>) -> Self
pub fn set_authentication(self, input: Option<RelayAuthentication>) -> Self
The authentication attribute—contains the secret ARN where the customer relay server credentials are stored.
sourcepub fn get_authentication(&self) -> &Option<RelayAuthentication>
pub fn get_authentication(&self) -> &Option<RelayAuthentication>
The authentication attribute—contains the secret ARN where the customer relay server credentials are stored.
sourcepub fn created_timestamp(self, input: DateTime) -> Self
pub fn created_timestamp(self, input: DateTime) -> Self
The timestamp of when the relay was created.
sourcepub fn set_created_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_created_timestamp(self, input: Option<DateTime>) -> Self
The timestamp of when the relay was created.
sourcepub fn get_created_timestamp(&self) -> &Option<DateTime>
pub fn get_created_timestamp(&self) -> &Option<DateTime>
The timestamp of when the relay was created.
sourcepub fn last_modified_timestamp(self, input: DateTime) -> Self
pub fn last_modified_timestamp(self, input: DateTime) -> Self
The timestamp of when relay was last updated.
sourcepub fn set_last_modified_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_last_modified_timestamp(self, input: Option<DateTime>) -> Self
The timestamp of when relay was last updated.
sourcepub fn get_last_modified_timestamp(&self) -> &Option<DateTime>
pub fn get_last_modified_timestamp(&self) -> &Option<DateTime>
The timestamp of when relay was last updated.
sourcepub fn build(self) -> Result<GetRelayOutput, BuildError>
pub fn build(self) -> Result<GetRelayOutput, BuildError>
Consumes the builder and constructs a GetRelayOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for GetRelayOutputBuilder
impl Clone for GetRelayOutputBuilder
source§fn clone(&self) -> GetRelayOutputBuilder
fn clone(&self) -> GetRelayOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetRelayOutputBuilder
impl Debug for GetRelayOutputBuilder
source§impl Default for GetRelayOutputBuilder
impl Default for GetRelayOutputBuilder
source§fn default() -> GetRelayOutputBuilder
fn default() -> GetRelayOutputBuilder
source§impl PartialEq for GetRelayOutputBuilder
impl PartialEq for GetRelayOutputBuilder
source§fn eq(&self, other: &GetRelayOutputBuilder) -> bool
fn eq(&self, other: &GetRelayOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetRelayOutputBuilder
Auto Trait Implementations§
impl Freeze for GetRelayOutputBuilder
impl RefUnwindSafe for GetRelayOutputBuilder
impl Send for GetRelayOutputBuilder
impl Sync for GetRelayOutputBuilder
impl Unpin for GetRelayOutputBuilder
impl UnwindSafe for GetRelayOutputBuilder
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