#[non_exhaustive]pub struct RegisterDomainInputBuilder { /* private fields */ }
Expand description
A builder for RegisterDomainInput
.
Implementations§
source§impl RegisterDomainInputBuilder
impl RegisterDomainInputBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
Name of the domain to register. The name must be unique in the region that the domain is registered in.
The specified string must not start or end with whitespace. It must not contain a :
(colon), /
(slash), |
(vertical bar), or any control characters (\u0000-\u001f
| \u007f-\u009f
). Also, it must not be the literal string arn
.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
Name of the domain to register. The name must be unique in the region that the domain is registered in.
The specified string must not start or end with whitespace. It must not contain a :
(colon), /
(slash), |
(vertical bar), or any control characters (\u0000-\u001f
| \u007f-\u009f
). Also, it must not be the literal string arn
.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
Name of the domain to register. The name must be unique in the region that the domain is registered in.
The specified string must not start or end with whitespace. It must not contain a :
(colon), /
(slash), |
(vertical bar), or any control characters (\u0000-\u001f
| \u007f-\u009f
). Also, it must not be the literal string arn
.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A text description of the domain.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A text description of the domain.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A text description of the domain.
sourcepub fn workflow_execution_retention_period_in_days(
self,
input: impl Into<String>,
) -> Self
pub fn workflow_execution_retention_period_in_days( self, input: impl Into<String>, ) -> Self
The duration (in days) that records and histories of workflow executions on the domain should be kept by the service. After the retention period, the workflow execution isn't available in the results of visibility calls.
If you pass the value NONE
or 0
(zero), then the workflow execution history isn't retained. As soon as the workflow execution completes, the execution record and its history are deleted.
The maximum workflow execution retention period is 90 days. For more information about Amazon SWF service limits, see: Amazon SWF Service Limits in the Amazon SWF Developer Guide.
This field is required.sourcepub fn set_workflow_execution_retention_period_in_days(
self,
input: Option<String>,
) -> Self
pub fn set_workflow_execution_retention_period_in_days( self, input: Option<String>, ) -> Self
The duration (in days) that records and histories of workflow executions on the domain should be kept by the service. After the retention period, the workflow execution isn't available in the results of visibility calls.
If you pass the value NONE
or 0
(zero), then the workflow execution history isn't retained. As soon as the workflow execution completes, the execution record and its history are deleted.
The maximum workflow execution retention period is 90 days. For more information about Amazon SWF service limits, see: Amazon SWF Service Limits in the Amazon SWF Developer Guide.
sourcepub fn get_workflow_execution_retention_period_in_days(&self) -> &Option<String>
pub fn get_workflow_execution_retention_period_in_days(&self) -> &Option<String>
The duration (in days) that records and histories of workflow executions on the domain should be kept by the service. After the retention period, the workflow execution isn't available in the results of visibility calls.
If you pass the value NONE
or 0
(zero), then the workflow execution history isn't retained. As soon as the workflow execution completes, the execution record and its history are deleted.
The maximum workflow execution retention period is 90 days. For more information about Amazon SWF service limits, see: Amazon SWF Service Limits in the Amazon SWF Developer Guide.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
Tags to be added when registering a domain.
Tags may only contain unicode letters, digits, whitespace, or these symbols: _ . : / = + - @
.
Tags to be added when registering a domain.
Tags may only contain unicode letters, digits, whitespace, or these symbols: _ . : / = + - @
.
Tags to be added when registering a domain.
Tags may only contain unicode letters, digits, whitespace, or these symbols: _ . : / = + - @
.
sourcepub fn build(self) -> Result<RegisterDomainInput, BuildError>
pub fn build(self) -> Result<RegisterDomainInput, BuildError>
Consumes the builder and constructs a RegisterDomainInput
.
source§impl RegisterDomainInputBuilder
impl RegisterDomainInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<RegisterDomainOutput, SdkError<RegisterDomainError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<RegisterDomainOutput, SdkError<RegisterDomainError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for RegisterDomainInputBuilder
impl Clone for RegisterDomainInputBuilder
source§fn clone(&self) -> RegisterDomainInputBuilder
fn clone(&self) -> RegisterDomainInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RegisterDomainInputBuilder
impl Debug for RegisterDomainInputBuilder
source§impl Default for RegisterDomainInputBuilder
impl Default for RegisterDomainInputBuilder
source§fn default() -> RegisterDomainInputBuilder
fn default() -> RegisterDomainInputBuilder
source§impl PartialEq for RegisterDomainInputBuilder
impl PartialEq for RegisterDomainInputBuilder
source§fn eq(&self, other: &RegisterDomainInputBuilder) -> bool
fn eq(&self, other: &RegisterDomainInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RegisterDomainInputBuilder
Auto Trait Implementations§
impl Freeze for RegisterDomainInputBuilder
impl RefUnwindSafe for RegisterDomainInputBuilder
impl Send for RegisterDomainInputBuilder
impl Sync for RegisterDomainInputBuilder
impl Unpin for RegisterDomainInputBuilder
impl UnwindSafe for RegisterDomainInputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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