#[non_exhaustive]pub struct DeleteDomainInputBuilder { /* private fields */ }
Expand description
A builder for DeleteDomainInput
.
Implementations§
source§impl DeleteDomainInputBuilder
impl DeleteDomainInputBuilder
sourcepub fn domain_id(self, input: impl Into<String>) -> Self
pub fn domain_id(self, input: impl Into<String>) -> Self
The domain ID.
This field is required.sourcepub fn set_domain_id(self, input: Option<String>) -> Self
pub fn set_domain_id(self, input: Option<String>) -> Self
The domain ID.
sourcepub fn get_domain_id(&self) -> &Option<String>
pub fn get_domain_id(&self) -> &Option<String>
The domain ID.
sourcepub fn retention_policy(self, input: RetentionPolicy) -> Self
pub fn retention_policy(self, input: RetentionPolicy) -> Self
The retention policy for this domain, which specifies whether resources will be retained after the Domain is deleted. By default, all resources are retained (not automatically deleted).
sourcepub fn set_retention_policy(self, input: Option<RetentionPolicy>) -> Self
pub fn set_retention_policy(self, input: Option<RetentionPolicy>) -> Self
The retention policy for this domain, which specifies whether resources will be retained after the Domain is deleted. By default, all resources are retained (not automatically deleted).
sourcepub fn get_retention_policy(&self) -> &Option<RetentionPolicy>
pub fn get_retention_policy(&self) -> &Option<RetentionPolicy>
The retention policy for this domain, which specifies whether resources will be retained after the Domain is deleted. By default, all resources are retained (not automatically deleted).
sourcepub fn build(self) -> Result<DeleteDomainInput, BuildError>
pub fn build(self) -> Result<DeleteDomainInput, BuildError>
Consumes the builder and constructs a DeleteDomainInput
.
source§impl DeleteDomainInputBuilder
impl DeleteDomainInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DeleteDomainOutput, SdkError<DeleteDomainError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DeleteDomainOutput, SdkError<DeleteDomainError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DeleteDomainInputBuilder
impl Clone for DeleteDomainInputBuilder
source§fn clone(&self) -> DeleteDomainInputBuilder
fn clone(&self) -> DeleteDomainInputBuilder
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 DeleteDomainInputBuilder
impl Debug for DeleteDomainInputBuilder
source§impl Default for DeleteDomainInputBuilder
impl Default for DeleteDomainInputBuilder
source§fn default() -> DeleteDomainInputBuilder
fn default() -> DeleteDomainInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DeleteDomainInputBuilder
impl PartialEq for DeleteDomainInputBuilder
source§fn eq(&self, other: &DeleteDomainInputBuilder) -> bool
fn eq(&self, other: &DeleteDomainInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeleteDomainInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DeleteDomainInputBuilder
impl Send for DeleteDomainInputBuilder
impl Sync for DeleteDomainInputBuilder
impl Unpin for DeleteDomainInputBuilder
impl UnwindSafe for DeleteDomainInputBuilder
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>
Creates a shared type from an unshared type.