Struct aws_sdk_route53::operation::update_traffic_policy_instance::builders::UpdateTrafficPolicyInstanceInputBuilder
source · #[non_exhaustive]pub struct UpdateTrafficPolicyInstanceInputBuilder { /* private fields */ }
Expand description
A builder for UpdateTrafficPolicyInstanceInput
.
Implementations§
source§impl UpdateTrafficPolicyInstanceInputBuilder
impl UpdateTrafficPolicyInstanceInputBuilder
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 update.
This field is required.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 update.
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 update.
sourcepub fn ttl(self, input: i64) -> Self
pub fn ttl(self, input: i64) -> Self
The TTL that you want Amazon Route 53 to assign to all of the updated resource record sets.
This field is required.sourcepub fn set_ttl(self, input: Option<i64>) -> Self
pub fn set_ttl(self, input: Option<i64>) -> Self
The TTL that you want Amazon Route 53 to assign to all of the updated resource record sets.
sourcepub fn get_ttl(&self) -> &Option<i64>
pub fn get_ttl(&self) -> &Option<i64>
The TTL that you want Amazon Route 53 to assign to all of the updated resource record sets.
sourcepub fn traffic_policy_id(self, input: impl Into<String>) -> Self
pub fn traffic_policy_id(self, input: impl Into<String>) -> Self
The ID of the traffic policy that you want Amazon Route 53 to use to update resource record sets for the specified traffic policy instance.
This field is required.sourcepub fn set_traffic_policy_id(self, input: Option<String>) -> Self
pub fn set_traffic_policy_id(self, input: Option<String>) -> Self
The ID of the traffic policy that you want Amazon Route 53 to use to update resource record sets for the specified traffic policy instance.
sourcepub fn get_traffic_policy_id(&self) -> &Option<String>
pub fn get_traffic_policy_id(&self) -> &Option<String>
The ID of the traffic policy that you want Amazon Route 53 to use to update resource record sets for the specified traffic policy instance.
sourcepub fn traffic_policy_version(self, input: i32) -> Self
pub fn traffic_policy_version(self, input: i32) -> Self
The version of the traffic policy that you want Amazon Route 53 to use to update resource record sets for the specified traffic policy instance.
This field is required.sourcepub fn set_traffic_policy_version(self, input: Option<i32>) -> Self
pub fn set_traffic_policy_version(self, input: Option<i32>) -> Self
The version of the traffic policy that you want Amazon Route 53 to use to update resource record sets for the specified traffic policy instance.
sourcepub fn get_traffic_policy_version(&self) -> &Option<i32>
pub fn get_traffic_policy_version(&self) -> &Option<i32>
The version of the traffic policy that you want Amazon Route 53 to use to update resource record sets for the specified traffic policy instance.
sourcepub fn build(self) -> Result<UpdateTrafficPolicyInstanceInput, BuildError>
pub fn build(self) -> Result<UpdateTrafficPolicyInstanceInput, BuildError>
Consumes the builder and constructs a UpdateTrafficPolicyInstanceInput
.
source§impl UpdateTrafficPolicyInstanceInputBuilder
impl UpdateTrafficPolicyInstanceInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<UpdateTrafficPolicyInstanceOutput, SdkError<UpdateTrafficPolicyInstanceError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<UpdateTrafficPolicyInstanceOutput, SdkError<UpdateTrafficPolicyInstanceError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateTrafficPolicyInstanceInputBuilder
impl Clone for UpdateTrafficPolicyInstanceInputBuilder
source§fn clone(&self) -> UpdateTrafficPolicyInstanceInputBuilder
fn clone(&self) -> UpdateTrafficPolicyInstanceInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateTrafficPolicyInstanceInputBuilder
impl Default for UpdateTrafficPolicyInstanceInputBuilder
source§fn default() -> UpdateTrafficPolicyInstanceInputBuilder
fn default() -> UpdateTrafficPolicyInstanceInputBuilder
source§impl PartialEq for UpdateTrafficPolicyInstanceInputBuilder
impl PartialEq for UpdateTrafficPolicyInstanceInputBuilder
source§fn eq(&self, other: &UpdateTrafficPolicyInstanceInputBuilder) -> bool
fn eq(&self, other: &UpdateTrafficPolicyInstanceInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateTrafficPolicyInstanceInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateTrafficPolicyInstanceInputBuilder
impl RefUnwindSafe for UpdateTrafficPolicyInstanceInputBuilder
impl Send for UpdateTrafficPolicyInstanceInputBuilder
impl Sync for UpdateTrafficPolicyInstanceInputBuilder
impl Unpin for UpdateTrafficPolicyInstanceInputBuilder
impl UnwindSafe for UpdateTrafficPolicyInstanceInputBuilder
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