Struct aws_sdk_route53::operation::delete_traffic_policy_instance::builders::DeleteTrafficPolicyInstanceInputBuilder
source · #[non_exhaustive]pub struct DeleteTrafficPolicyInstanceInputBuilder { /* private fields */ }
Expand description
A builder for DeleteTrafficPolicyInstanceInput
.
Implementations§
source§impl DeleteTrafficPolicyInstanceInputBuilder
impl DeleteTrafficPolicyInstanceInputBuilder
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The ID of the traffic policy instance that you want to delete.
When you delete a traffic policy instance, Amazon Route 53 also deletes all of the resource record sets that were created when you created the traffic policy instance.
sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The ID of the traffic policy instance that you want to delete.
When you delete a traffic policy instance, Amazon Route 53 also deletes all of the resource record sets that were created when you created the traffic policy instance.
sourcepub fn get_id(&self) -> &Option<String>
pub fn get_id(&self) -> &Option<String>
The ID of the traffic policy instance that you want to delete.
When you delete a traffic policy instance, Amazon Route 53 also deletes all of the resource record sets that were created when you created the traffic policy instance.
sourcepub fn build(self) -> Result<DeleteTrafficPolicyInstanceInput, BuildError>
pub fn build(self) -> Result<DeleteTrafficPolicyInstanceInput, BuildError>
Consumes the builder and constructs a DeleteTrafficPolicyInstanceInput
.
source§impl DeleteTrafficPolicyInstanceInputBuilder
impl DeleteTrafficPolicyInstanceInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<DeleteTrafficPolicyInstanceOutput, SdkError<DeleteTrafficPolicyInstanceError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<DeleteTrafficPolicyInstanceOutput, SdkError<DeleteTrafficPolicyInstanceError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DeleteTrafficPolicyInstanceInputBuilder
impl Clone for DeleteTrafficPolicyInstanceInputBuilder
source§fn clone(&self) -> DeleteTrafficPolicyInstanceInputBuilder
fn clone(&self) -> DeleteTrafficPolicyInstanceInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DeleteTrafficPolicyInstanceInputBuilder
impl Default for DeleteTrafficPolicyInstanceInputBuilder
source§fn default() -> DeleteTrafficPolicyInstanceInputBuilder
fn default() -> DeleteTrafficPolicyInstanceInputBuilder
source§impl PartialEq for DeleteTrafficPolicyInstanceInputBuilder
impl PartialEq for DeleteTrafficPolicyInstanceInputBuilder
source§fn eq(&self, other: &DeleteTrafficPolicyInstanceInputBuilder) -> bool
fn eq(&self, other: &DeleteTrafficPolicyInstanceInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeleteTrafficPolicyInstanceInputBuilder
Auto Trait Implementations§
impl Freeze for DeleteTrafficPolicyInstanceInputBuilder
impl RefUnwindSafe for DeleteTrafficPolicyInstanceInputBuilder
impl Send for DeleteTrafficPolicyInstanceInputBuilder
impl Sync for DeleteTrafficPolicyInstanceInputBuilder
impl Unpin for DeleteTrafficPolicyInstanceInputBuilder
impl UnwindSafe for DeleteTrafficPolicyInstanceInputBuilder
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