Struct aws_sdk_cloudfront::types::builders::FunctionConfigBuilder
source · #[non_exhaustive]pub struct FunctionConfigBuilder { /* private fields */ }
Expand description
A builder for FunctionConfig
.
Implementations§
source§impl FunctionConfigBuilder
impl FunctionConfigBuilder
sourcepub fn comment(self, input: impl Into<String>) -> Self
pub fn comment(self, input: impl Into<String>) -> Self
A comment to describe the function.
This field is required.sourcepub fn set_comment(self, input: Option<String>) -> Self
pub fn set_comment(self, input: Option<String>) -> Self
A comment to describe the function.
sourcepub fn get_comment(&self) -> &Option<String>
pub fn get_comment(&self) -> &Option<String>
A comment to describe the function.
sourcepub fn runtime(self, input: FunctionRuntime) -> Self
pub fn runtime(self, input: FunctionRuntime) -> Self
The function's runtime environment version.
This field is required.sourcepub fn set_runtime(self, input: Option<FunctionRuntime>) -> Self
pub fn set_runtime(self, input: Option<FunctionRuntime>) -> Self
The function's runtime environment version.
sourcepub fn get_runtime(&self) -> &Option<FunctionRuntime>
pub fn get_runtime(&self) -> &Option<FunctionRuntime>
The function's runtime environment version.
sourcepub fn key_value_store_associations(
self,
input: KeyValueStoreAssociations
) -> Self
pub fn key_value_store_associations( self, input: KeyValueStoreAssociations ) -> Self
The configuration for the Key Value Store associations.
sourcepub fn set_key_value_store_associations(
self,
input: Option<KeyValueStoreAssociations>
) -> Self
pub fn set_key_value_store_associations( self, input: Option<KeyValueStoreAssociations> ) -> Self
The configuration for the Key Value Store associations.
sourcepub fn get_key_value_store_associations(
&self
) -> &Option<KeyValueStoreAssociations>
pub fn get_key_value_store_associations( &self ) -> &Option<KeyValueStoreAssociations>
The configuration for the Key Value Store associations.
sourcepub fn build(self) -> Result<FunctionConfig, BuildError>
pub fn build(self) -> Result<FunctionConfig, BuildError>
Consumes the builder and constructs a FunctionConfig
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for FunctionConfigBuilder
impl Clone for FunctionConfigBuilder
source§fn clone(&self) -> FunctionConfigBuilder
fn clone(&self) -> FunctionConfigBuilder
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 Debug for FunctionConfigBuilder
impl Debug for FunctionConfigBuilder
source§impl Default for FunctionConfigBuilder
impl Default for FunctionConfigBuilder
source§fn default() -> FunctionConfigBuilder
fn default() -> FunctionConfigBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for FunctionConfigBuilder
impl PartialEq for FunctionConfigBuilder
source§fn eq(&self, other: &FunctionConfigBuilder) -> bool
fn eq(&self, other: &FunctionConfigBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FunctionConfigBuilder
Auto Trait Implementations§
impl RefUnwindSafe for FunctionConfigBuilder
impl Send for FunctionConfigBuilder
impl Sync for FunctionConfigBuilder
impl Unpin for FunctionConfigBuilder
impl UnwindSafe for FunctionConfigBuilder
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>
Creates a shared type from an unshared type.