Struct aws_sdk_cloudfront::operation::create_key_value_store::builders::CreateKeyValueStoreInputBuilder
source · #[non_exhaustive]pub struct CreateKeyValueStoreInputBuilder { /* private fields */ }
Expand description
A builder for CreateKeyValueStoreInput
.
Implementations§
source§impl CreateKeyValueStoreInputBuilder
impl CreateKeyValueStoreInputBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the key value store. The minimum length is 1 character and the maximum length is 64 characters.
This field is required.sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the key value store. The minimum length is 1 character and the maximum length is 64 characters.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The name of the key value store. The minimum length is 1 character and the maximum length is 64 characters.
sourcepub fn set_comment(self, input: Option<String>) -> Self
pub fn set_comment(self, input: Option<String>) -> Self
The comment of the key value store.
sourcepub fn get_comment(&self) -> &Option<String>
pub fn get_comment(&self) -> &Option<String>
The comment of the key value store.
sourcepub fn import_source(self, input: ImportSource) -> Self
pub fn import_source(self, input: ImportSource) -> Self
The S3 bucket that provides the source for the import. The source must be in a valid JSON format.
sourcepub fn set_import_source(self, input: Option<ImportSource>) -> Self
pub fn set_import_source(self, input: Option<ImportSource>) -> Self
The S3 bucket that provides the source for the import. The source must be in a valid JSON format.
sourcepub fn get_import_source(&self) -> &Option<ImportSource>
pub fn get_import_source(&self) -> &Option<ImportSource>
The S3 bucket that provides the source for the import. The source must be in a valid JSON format.
sourcepub fn build(self) -> Result<CreateKeyValueStoreInput, BuildError>
pub fn build(self) -> Result<CreateKeyValueStoreInput, BuildError>
Consumes the builder and constructs a CreateKeyValueStoreInput
.
source§impl CreateKeyValueStoreInputBuilder
impl CreateKeyValueStoreInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateKeyValueStoreOutput, SdkError<CreateKeyValueStoreError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateKeyValueStoreOutput, SdkError<CreateKeyValueStoreError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateKeyValueStoreInputBuilder
impl Clone for CreateKeyValueStoreInputBuilder
source§fn clone(&self) -> CreateKeyValueStoreInputBuilder
fn clone(&self) -> CreateKeyValueStoreInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateKeyValueStoreInputBuilder
impl Default for CreateKeyValueStoreInputBuilder
source§fn default() -> CreateKeyValueStoreInputBuilder
fn default() -> CreateKeyValueStoreInputBuilder
source§impl PartialEq for CreateKeyValueStoreInputBuilder
impl PartialEq for CreateKeyValueStoreInputBuilder
source§fn eq(&self, other: &CreateKeyValueStoreInputBuilder) -> bool
fn eq(&self, other: &CreateKeyValueStoreInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateKeyValueStoreInputBuilder
Auto Trait Implementations§
impl Freeze for CreateKeyValueStoreInputBuilder
impl RefUnwindSafe for CreateKeyValueStoreInputBuilder
impl Send for CreateKeyValueStoreInputBuilder
impl Sync for CreateKeyValueStoreInputBuilder
impl Unpin for CreateKeyValueStoreInputBuilder
impl UnwindSafe for CreateKeyValueStoreInputBuilder
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