Struct aws_sdk_cloudfront::model::invalidation::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for Invalidation
.
Implementations§
source§impl Builder
impl Builder
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
.