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 set_comment(self, input: Option<String>) -> Self
pub fn set_comment(self, input: Option<String>) -> Self
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. The only valid value is cloudfront-js-1.0
.
sourcepub fn set_runtime(self, input: Option<FunctionRuntime>) -> Self
pub fn set_runtime(self, input: Option<FunctionRuntime>) -> Self
The function's runtime environment. The only valid value is cloudfront-js-1.0
.
sourcepub fn build(self) -> FunctionConfig
pub fn build(self) -> FunctionConfig
Consumes the builder and constructs a FunctionConfig
.
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<FunctionConfigBuilder> for FunctionConfigBuilder
impl PartialEq<FunctionConfigBuilder> 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 ==
.