#[non_exhaustive]pub struct CreateFunctionInputBuilder { /* private fields */ }
Expand description
A builder for CreateFunctionInput
.
Implementations§
source§impl CreateFunctionInputBuilder
impl CreateFunctionInputBuilder
sourcepub fn function_config(self, input: FunctionConfig) -> Self
pub fn function_config(self, input: FunctionConfig) -> Self
Configuration information about the function, including an optional comment and the function's runtime.
sourcepub fn set_function_config(self, input: Option<FunctionConfig>) -> Self
pub fn set_function_config(self, input: Option<FunctionConfig>) -> Self
Configuration information about the function, including an optional comment and the function's runtime.
sourcepub fn function_code(self, input: Blob) -> Self
pub fn function_code(self, input: Blob) -> Self
The function code. For more information about writing a CloudFront function, see Writing function code for CloudFront Functions in the Amazon CloudFront Developer Guide.
sourcepub fn set_function_code(self, input: Option<Blob>) -> Self
pub fn set_function_code(self, input: Option<Blob>) -> Self
The function code. For more information about writing a CloudFront function, see Writing function code for CloudFront Functions in the Amazon CloudFront Developer Guide.
sourcepub fn build(self) -> Result<CreateFunctionInput, BuildError>
pub fn build(self) -> Result<CreateFunctionInput, BuildError>
Consumes the builder and constructs a CreateFunctionInput
.
Trait Implementations§
source§impl Clone for CreateFunctionInputBuilder
impl Clone for CreateFunctionInputBuilder
source§fn clone(&self) -> CreateFunctionInputBuilder
fn clone(&self) -> CreateFunctionInputBuilder
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 CreateFunctionInputBuilder
impl Debug for CreateFunctionInputBuilder
source§impl Default for CreateFunctionInputBuilder
impl Default for CreateFunctionInputBuilder
source§fn default() -> CreateFunctionInputBuilder
fn default() -> CreateFunctionInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<CreateFunctionInputBuilder> for CreateFunctionInputBuilder
impl PartialEq<CreateFunctionInputBuilder> for CreateFunctionInputBuilder
source§fn eq(&self, other: &CreateFunctionInputBuilder) -> bool
fn eq(&self, other: &CreateFunctionInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.