Struct aws_sdk_cloudfront::types::builders::InvalidationBuilder
source · #[non_exhaustive]pub struct InvalidationBuilder { /* private fields */ }
Expand description
A builder for Invalidation
.
Implementations§
source§impl InvalidationBuilder
impl InvalidationBuilder
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
.
sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The identifier for the invalidation request. For example: IDFDVBD632BHDS5
.
sourcepub fn get_id(&self) -> &Option<String>
pub fn get_id(&self) -> &Option<String>
The identifier for the invalidation request. For example: IDFDVBD632BHDS5
.
sourcepub fn status(self, input: impl Into<String>) -> Self
pub fn status(self, input: impl Into<String>) -> Self
The status of the invalidation request. When the invalidation batch is finished, the status is Completed
.
sourcepub fn set_status(self, input: Option<String>) -> Self
pub fn set_status(self, input: Option<String>) -> Self
The status of the invalidation request. When the invalidation batch is finished, the status is Completed
.
sourcepub fn get_status(&self) -> &Option<String>
pub fn get_status(&self) -> &Option<String>
The status of the invalidation request. When the invalidation batch is finished, the status is Completed
.
sourcepub fn create_time(self, input: DateTime) -> Self
pub fn create_time(self, input: DateTime) -> Self
The date and time the invalidation request was first made.
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 date and time the invalidation request was first made.
sourcepub fn get_create_time(&self) -> &Option<DateTime>
pub fn get_create_time(&self) -> &Option<DateTime>
The date and time the invalidation request was first made.
sourcepub fn invalidation_batch(self, input: InvalidationBatch) -> Self
pub fn invalidation_batch(self, input: InvalidationBatch) -> Self
The current invalidation information for the batch request.
This field is required.sourcepub fn set_invalidation_batch(self, input: Option<InvalidationBatch>) -> Self
pub fn set_invalidation_batch(self, input: Option<InvalidationBatch>) -> Self
The current invalidation information for the batch request.
sourcepub fn get_invalidation_batch(&self) -> &Option<InvalidationBatch>
pub fn get_invalidation_batch(&self) -> &Option<InvalidationBatch>
The current invalidation information for the batch request.
sourcepub fn build(self) -> Result<Invalidation, BuildError>
pub fn build(self) -> Result<Invalidation, BuildError>
Consumes the builder and constructs a Invalidation
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for InvalidationBuilder
impl Clone for InvalidationBuilder
source§fn clone(&self) -> InvalidationBuilder
fn clone(&self) -> InvalidationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for InvalidationBuilder
impl Debug for InvalidationBuilder
source§impl Default for InvalidationBuilder
impl Default for InvalidationBuilder
source§fn default() -> InvalidationBuilder
fn default() -> InvalidationBuilder
source§impl PartialEq for InvalidationBuilder
impl PartialEq for InvalidationBuilder
source§fn eq(&self, other: &InvalidationBuilder) -> bool
fn eq(&self, other: &InvalidationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for InvalidationBuilder
Auto Trait Implementations§
impl Freeze for InvalidationBuilder
impl RefUnwindSafe for InvalidationBuilder
impl Send for InvalidationBuilder
impl Sync for InvalidationBuilder
impl Unpin for InvalidationBuilder
impl UnwindSafe for InvalidationBuilder
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