Struct aws_sdk_elasticache::operation::create_serverless_cache::builders::CreateServerlessCacheOutputBuilder
source · #[non_exhaustive]pub struct CreateServerlessCacheOutputBuilder { /* private fields */ }Expand description
A builder for CreateServerlessCacheOutput.
Implementations§
source§impl CreateServerlessCacheOutputBuilder
impl CreateServerlessCacheOutputBuilder
sourcepub fn serverless_cache(self, input: ServerlessCache) -> Self
pub fn serverless_cache(self, input: ServerlessCache) -> Self
The response for the attempt to create the serverless cache.
sourcepub fn set_serverless_cache(self, input: Option<ServerlessCache>) -> Self
pub fn set_serverless_cache(self, input: Option<ServerlessCache>) -> Self
The response for the attempt to create the serverless cache.
sourcepub fn get_serverless_cache(&self) -> &Option<ServerlessCache>
pub fn get_serverless_cache(&self) -> &Option<ServerlessCache>
The response for the attempt to create the serverless cache.
sourcepub fn build(self) -> CreateServerlessCacheOutput
pub fn build(self) -> CreateServerlessCacheOutput
Consumes the builder and constructs a CreateServerlessCacheOutput.
Trait Implementations§
source§impl Clone for CreateServerlessCacheOutputBuilder
impl Clone for CreateServerlessCacheOutputBuilder
source§fn clone(&self) -> CreateServerlessCacheOutputBuilder
fn clone(&self) -> CreateServerlessCacheOutputBuilder
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 Default for CreateServerlessCacheOutputBuilder
impl Default for CreateServerlessCacheOutputBuilder
source§fn default() -> CreateServerlessCacheOutputBuilder
fn default() -> CreateServerlessCacheOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CreateServerlessCacheOutputBuilder
impl PartialEq for CreateServerlessCacheOutputBuilder
source§fn eq(&self, other: &CreateServerlessCacheOutputBuilder) -> bool
fn eq(&self, other: &CreateServerlessCacheOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateServerlessCacheOutputBuilder
Auto Trait Implementations§
impl Freeze for CreateServerlessCacheOutputBuilder
impl RefUnwindSafe for CreateServerlessCacheOutputBuilder
impl Send for CreateServerlessCacheOutputBuilder
impl Sync for CreateServerlessCacheOutputBuilder
impl Unpin for CreateServerlessCacheOutputBuilder
impl UnwindSafe for CreateServerlessCacheOutputBuilder
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.