pub struct UpdateRelayFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to UpdateRelay.
Updates the attributes of an existing relay resource.
Implementations§
source§impl UpdateRelayFluentBuilder
impl UpdateRelayFluentBuilder
sourcepub fn as_input(&self) -> &UpdateRelayInputBuilder
pub fn as_input(&self) -> &UpdateRelayInputBuilder
Access the UpdateRelay as a reference.
sourcepub async fn send(
self,
) -> Result<UpdateRelayOutput, SdkError<UpdateRelayError, HttpResponse>>
pub async fn send( self, ) -> Result<UpdateRelayOutput, SdkError<UpdateRelayError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self,
) -> CustomizableOperation<UpdateRelayOutput, UpdateRelayError, Self>
pub fn customize( self, ) -> CustomizableOperation<UpdateRelayOutput, UpdateRelayError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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_name(self, input: impl Into<String>) -> Self
pub fn relay_name(self, input: impl Into<String>) -> Self
The name of the relay resource.
sourcepub fn set_relay_name(self, input: Option<String>) -> Self
pub fn set_relay_name(self, input: Option<String>) -> Self
The name of the relay resource.
sourcepub fn get_relay_name(&self) -> &Option<String>
pub fn get_relay_name(&self) -> &Option<String>
The name of the relay resource.
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
Authentication for the relay destination server—specify the secretARN where the SMTP credentials are stored.
sourcepub fn set_authentication(self, input: Option<RelayAuthentication>) -> Self
pub fn set_authentication(self, input: Option<RelayAuthentication>) -> Self
Authentication for the relay destination server—specify the secretARN where the SMTP credentials are stored.
sourcepub fn get_authentication(&self) -> &Option<RelayAuthentication>
pub fn get_authentication(&self) -> &Option<RelayAuthentication>
Authentication for the relay destination server—specify the secretARN where the SMTP credentials are stored.
Trait Implementations§
source§impl Clone for UpdateRelayFluentBuilder
impl Clone for UpdateRelayFluentBuilder
source§fn clone(&self) -> UpdateRelayFluentBuilder
fn clone(&self) -> UpdateRelayFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for UpdateRelayFluentBuilder
impl !RefUnwindSafe for UpdateRelayFluentBuilder
impl Send for UpdateRelayFluentBuilder
impl Sync for UpdateRelayFluentBuilder
impl Unpin for UpdateRelayFluentBuilder
impl !UnwindSafe for UpdateRelayFluentBuilder
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