Struct aws_sdk_lightsail::operation::reset_distribution_cache::builders::ResetDistributionCacheOutputBuilder
source · #[non_exhaustive]pub struct ResetDistributionCacheOutputBuilder { /* private fields */ }
Expand description
A builder for ResetDistributionCacheOutput
.
Implementations§
source§impl ResetDistributionCacheOutputBuilder
impl ResetDistributionCacheOutputBuilder
sourcepub fn set_status(self, input: Option<String>) -> Self
pub fn set_status(self, input: Option<String>) -> Self
The status of the reset cache request.
sourcepub fn get_status(&self) -> &Option<String>
pub fn get_status(&self) -> &Option<String>
The status of the reset cache request.
sourcepub fn create_time(self, input: DateTime) -> Self
pub fn create_time(self, input: DateTime) -> Self
The timestamp of the reset cache request (1479734909.17
) in Unix time format.
sourcepub fn set_create_time(self, input: Option<DateTime>) -> Self
pub fn set_create_time(self, input: Option<DateTime>) -> Self
The timestamp of the reset cache request (1479734909.17
) in Unix time format.
sourcepub fn get_create_time(&self) -> &Option<DateTime>
pub fn get_create_time(&self) -> &Option<DateTime>
The timestamp of the reset cache request (1479734909.17
) in Unix time format.
sourcepub fn operation(self, input: Operation) -> Self
pub fn operation(self, input: Operation) -> Self
An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
sourcepub fn set_operation(self, input: Option<Operation>) -> Self
pub fn set_operation(self, input: Option<Operation>) -> Self
An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
sourcepub fn get_operation(&self) -> &Option<Operation>
pub fn get_operation(&self) -> &Option<Operation>
An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
sourcepub fn build(self) -> ResetDistributionCacheOutput
pub fn build(self) -> ResetDistributionCacheOutput
Consumes the builder and constructs a ResetDistributionCacheOutput
.
Trait Implementations§
source§impl Clone for ResetDistributionCacheOutputBuilder
impl Clone for ResetDistributionCacheOutputBuilder
source§fn clone(&self) -> ResetDistributionCacheOutputBuilder
fn clone(&self) -> ResetDistributionCacheOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ResetDistributionCacheOutputBuilder
impl Default for ResetDistributionCacheOutputBuilder
source§fn default() -> ResetDistributionCacheOutputBuilder
fn default() -> ResetDistributionCacheOutputBuilder
source§impl PartialEq for ResetDistributionCacheOutputBuilder
impl PartialEq for ResetDistributionCacheOutputBuilder
source§fn eq(&self, other: &ResetDistributionCacheOutputBuilder) -> bool
fn eq(&self, other: &ResetDistributionCacheOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ResetDistributionCacheOutputBuilder
Auto Trait Implementations§
impl Freeze for ResetDistributionCacheOutputBuilder
impl RefUnwindSafe for ResetDistributionCacheOutputBuilder
impl Send for ResetDistributionCacheOutputBuilder
impl Sync for ResetDistributionCacheOutputBuilder
impl Unpin for ResetDistributionCacheOutputBuilder
impl UnwindSafe for ResetDistributionCacheOutputBuilder
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