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 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 create_time(self, input: DateTime) -> Self
pub fn create_time(self, input: DateTime) -> Self
The date and time the invalidation request was first made.
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 invalidation_batch(self, input: InvalidationBatch) -> Self
pub fn invalidation_batch(self, input: InvalidationBatch) -> Self
The current invalidation information for the batch request.
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 build(self) -> Invalidation
pub fn build(self) -> Invalidation
Consumes the builder and constructs a Invalidation
.
Trait Implementations§
source§impl Clone for InvalidationBuilder
impl Clone for InvalidationBuilder
source§fn clone(&self) -> InvalidationBuilder
fn clone(&self) -> InvalidationBuilder
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 InvalidationBuilder
impl Debug for InvalidationBuilder
source§impl Default for InvalidationBuilder
impl Default for InvalidationBuilder
source§fn default() -> InvalidationBuilder
fn default() -> InvalidationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<InvalidationBuilder> for InvalidationBuilder
impl PartialEq<InvalidationBuilder> for InvalidationBuilder
source§fn eq(&self, other: &InvalidationBuilder) -> bool
fn eq(&self, other: &InvalidationBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.