Struct aws_sdk_cloudfront::waiters::invalidation_completed::InvalidationCompletedFluentBuilder
source · pub struct InvalidationCompletedFluentBuilder { /* private fields */ }
Expand description
Fluent builder for the invalidation_completed
waiter.
This builder is intended to be used similar to the other fluent builders for
normal operations on the client. However, instead of a send
method, it has
a wait
method that takes a maximum amount of time to wait.
Construct this fluent builder using the client by importing the
Waiters
trait and calling the methods
prefixed with wait_until
.
Implementations§
source§impl InvalidationCompletedFluentBuilder
impl InvalidationCompletedFluentBuilder
sourcepub fn as_input(&self) -> &GetInvalidationInputBuilder
pub fn as_input(&self) -> &GetInvalidationInputBuilder
Access the GetInvalidation as a reference.
sourcepub async fn wait(
self,
max_wait: Duration
) -> Result<InvalidationCompletedFinalPoll, WaitUntilInvalidationCompletedError>
pub async fn wait( self, max_wait: Duration ) -> Result<InvalidationCompletedFinalPoll, WaitUntilInvalidationCompletedError>
Wait until an invalidation has completed.
sourcepub fn distribution_id(self, input: impl Into<String>) -> Self
pub fn distribution_id(self, input: impl Into<String>) -> Self
The distribution's ID.
sourcepub fn set_distribution_id(self, input: Option<String>) -> Self
pub fn set_distribution_id(self, input: Option<String>) -> Self
The distribution's ID.
sourcepub fn get_distribution_id(&self) -> &Option<String>
pub fn get_distribution_id(&self) -> &Option<String>
The distribution's ID.
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The identifier for the invalidation request, for example, IDFDVBD632BHDS5
.
Trait Implementations§
source§impl Clone for InvalidationCompletedFluentBuilder
impl Clone for InvalidationCompletedFluentBuilder
source§fn clone(&self) -> InvalidationCompletedFluentBuilder
fn clone(&self) -> InvalidationCompletedFluentBuilder
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 moreAuto Trait Implementations§
impl Freeze for InvalidationCompletedFluentBuilder
impl !RefUnwindSafe for InvalidationCompletedFluentBuilder
impl Send for InvalidationCompletedFluentBuilder
impl Sync for InvalidationCompletedFluentBuilder
impl Unpin for InvalidationCompletedFluentBuilder
impl !UnwindSafe for InvalidationCompletedFluentBuilder
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>
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.