Struct aws_sdk_cloudfront::input::describe_function_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for DescribeFunctionInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the function that you are getting information about.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the function that you are getting information about.
sourcepub fn stage(self, input: FunctionStage) -> Self
pub fn stage(self, input: FunctionStage) -> Self
The function's stage, either DEVELOPMENT
or LIVE
.
sourcepub fn set_stage(self, input: Option<FunctionStage>) -> Self
pub fn set_stage(self, input: Option<FunctionStage>) -> Self
The function's stage, either DEVELOPMENT
or LIVE
.
sourcepub fn build(self) -> Result<DescribeFunctionInput, BuildError>
pub fn build(self) -> Result<DescribeFunctionInput, BuildError>
Consumes the builder and constructs a DescribeFunctionInput
.