#[non_exhaustive]pub struct InvalidationSummaryBuilder { /* private fields */ }
Expand description
A builder for InvalidationSummary
.
Implementations§
source§impl InvalidationSummaryBuilder
impl InvalidationSummaryBuilder
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The unique ID for an invalidation request.
This field is required.sourcepub fn create_time(self, input: DateTime) -> Self
pub fn create_time(self, input: DateTime) -> Self
The time that an invalidation request was created.
This field is required.sourcepub fn set_create_time(self, input: Option<DateTime>) -> Self
pub fn set_create_time(self, input: Option<DateTime>) -> Self
The time that an invalidation request was created.
sourcepub fn get_create_time(&self) -> &Option<DateTime>
pub fn get_create_time(&self) -> &Option<DateTime>
The time that an invalidation request was created.
sourcepub fn status(self, input: impl Into<String>) -> Self
pub fn status(self, input: impl Into<String>) -> Self
The status of an invalidation request.
This field is required.sourcepub fn set_status(self, input: Option<String>) -> Self
pub fn set_status(self, input: Option<String>) -> Self
The status of an invalidation request.
sourcepub fn get_status(&self) -> &Option<String>
pub fn get_status(&self) -> &Option<String>
The status of an invalidation request.
sourcepub fn build(self) -> Result<InvalidationSummary, BuildError>
pub fn build(self) -> Result<InvalidationSummary, BuildError>
Consumes the builder and constructs a InvalidationSummary
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for InvalidationSummaryBuilder
impl Clone for InvalidationSummaryBuilder
source§fn clone(&self) -> InvalidationSummaryBuilder
fn clone(&self) -> InvalidationSummaryBuilder
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 InvalidationSummaryBuilder
impl Debug for InvalidationSummaryBuilder
source§impl Default for InvalidationSummaryBuilder
impl Default for InvalidationSummaryBuilder
source§fn default() -> InvalidationSummaryBuilder
fn default() -> InvalidationSummaryBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for InvalidationSummaryBuilder
impl PartialEq for InvalidationSummaryBuilder
source§fn eq(&self, other: &InvalidationSummaryBuilder) -> bool
fn eq(&self, other: &InvalidationSummaryBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for InvalidationSummaryBuilder
Auto Trait Implementations§
impl Freeze for InvalidationSummaryBuilder
impl RefUnwindSafe for InvalidationSummaryBuilder
impl Send for InvalidationSummaryBuilder
impl Sync for InvalidationSummaryBuilder
impl Unpin for InvalidationSummaryBuilder
impl UnwindSafe for InvalidationSummaryBuilder
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.