#[non_exhaustive]pub struct CreateRelayInputBuilder { /* private fields */ }
Expand description
A builder for CreateRelayInput
.
Implementations§
source§impl CreateRelayInputBuilder
impl CreateRelayInputBuilder
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
A unique token that Amazon SES uses to recognize subsequent retries of the same request.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
A unique token that Amazon SES uses to recognize subsequent retries of the same request.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
A unique token that Amazon SES uses to recognize subsequent retries of the same request.
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 resource.
This field is required.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 resource.
sourcepub fn get_relay_name(&self) -> &Option<String>
pub fn get_relay_name(&self) -> &Option<String>
The unique 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.
This field is required.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.
This field is required.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.
This field is required.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.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
sourcepub fn build(self) -> Result<CreateRelayInput, BuildError>
pub fn build(self) -> Result<CreateRelayInput, BuildError>
Consumes the builder and constructs a CreateRelayInput
.
source§impl CreateRelayInputBuilder
impl CreateRelayInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateRelayOutput, SdkError<CreateRelayError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateRelayOutput, SdkError<CreateRelayError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateRelayInputBuilder
impl Clone for CreateRelayInputBuilder
source§fn clone(&self) -> CreateRelayInputBuilder
fn clone(&self) -> CreateRelayInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateRelayInputBuilder
impl Debug for CreateRelayInputBuilder
source§impl Default for CreateRelayInputBuilder
impl Default for CreateRelayInputBuilder
source§fn default() -> CreateRelayInputBuilder
fn default() -> CreateRelayInputBuilder
source§impl PartialEq for CreateRelayInputBuilder
impl PartialEq for CreateRelayInputBuilder
source§fn eq(&self, other: &CreateRelayInputBuilder) -> bool
fn eq(&self, other: &CreateRelayInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateRelayInputBuilder
Auto Trait Implementations§
impl Freeze for CreateRelayInputBuilder
impl RefUnwindSafe for CreateRelayInputBuilder
impl Send for CreateRelayInputBuilder
impl Sync for CreateRelayInputBuilder
impl Unpin for CreateRelayInputBuilder
impl UnwindSafe for CreateRelayInputBuilder
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