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 maximum length of the name is 32 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 maximum length of the name is 32 characters.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The name of the Key Value Store. The maximum length of the name is 32 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 ==
.