Struct aws_sdk_greengrass::operation::create_function_definition_version::builders::CreateFunctionDefinitionVersionInputBuilder
source · #[non_exhaustive]pub struct CreateFunctionDefinitionVersionInputBuilder { /* private fields */ }
Expand description
A builder for CreateFunctionDefinitionVersionInput
.
Implementations§
source§impl CreateFunctionDefinitionVersionInputBuilder
impl CreateFunctionDefinitionVersionInputBuilder
sourcepub fn amzn_client_token(self, input: impl Into<String>) -> Self
pub fn amzn_client_token(self, input: impl Into<String>) -> Self
A client token used to correlate requests and responses.
sourcepub fn set_amzn_client_token(self, input: Option<String>) -> Self
pub fn set_amzn_client_token(self, input: Option<String>) -> Self
A client token used to correlate requests and responses.
sourcepub fn get_amzn_client_token(&self) -> &Option<String>
pub fn get_amzn_client_token(&self) -> &Option<String>
A client token used to correlate requests and responses.
sourcepub fn default_config(self, input: FunctionDefaultConfig) -> Self
pub fn default_config(self, input: FunctionDefaultConfig) -> Self
The default configuration that applies to all Lambda functions in this function definition version. Individual Lambda functions can override these settings.
sourcepub fn set_default_config(self, input: Option<FunctionDefaultConfig>) -> Self
pub fn set_default_config(self, input: Option<FunctionDefaultConfig>) -> Self
The default configuration that applies to all Lambda functions in this function definition version. Individual Lambda functions can override these settings.
sourcepub fn get_default_config(&self) -> &Option<FunctionDefaultConfig>
pub fn get_default_config(&self) -> &Option<FunctionDefaultConfig>
The default configuration that applies to all Lambda functions in this function definition version. Individual Lambda functions can override these settings.
sourcepub fn function_definition_id(self, input: impl Into<String>) -> Self
pub fn function_definition_id(self, input: impl Into<String>) -> Self
The ID of the Lambda function definition. This field is required.
sourcepub fn set_function_definition_id(self, input: Option<String>) -> Self
pub fn set_function_definition_id(self, input: Option<String>) -> Self
The ID of the Lambda function definition.
sourcepub fn get_function_definition_id(&self) -> &Option<String>
pub fn get_function_definition_id(&self) -> &Option<String>
The ID of the Lambda function definition.
sourcepub fn functions(self, input: Function) -> Self
pub fn functions(self, input: Function) -> Self
Appends an item to functions
.
To override the contents of this collection use set_functions
.
A list of Lambda functions in this function definition version.
sourcepub fn set_functions(self, input: Option<Vec<Function>>) -> Self
pub fn set_functions(self, input: Option<Vec<Function>>) -> Self
A list of Lambda functions in this function definition version.
sourcepub fn get_functions(&self) -> &Option<Vec<Function>>
pub fn get_functions(&self) -> &Option<Vec<Function>>
A list of Lambda functions in this function definition version.
sourcepub fn build(self) -> Result<CreateFunctionDefinitionVersionInput, BuildError>
pub fn build(self) -> Result<CreateFunctionDefinitionVersionInput, BuildError>
Consumes the builder and constructs a CreateFunctionDefinitionVersionInput
.
source§impl CreateFunctionDefinitionVersionInputBuilder
impl CreateFunctionDefinitionVersionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateFunctionDefinitionVersionOutput, SdkError<CreateFunctionDefinitionVersionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateFunctionDefinitionVersionOutput, SdkError<CreateFunctionDefinitionVersionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateFunctionDefinitionVersionInputBuilder
impl Clone for CreateFunctionDefinitionVersionInputBuilder
source§fn clone(&self) -> CreateFunctionDefinitionVersionInputBuilder
fn clone(&self) -> CreateFunctionDefinitionVersionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateFunctionDefinitionVersionInputBuilder
impl Default for CreateFunctionDefinitionVersionInputBuilder
source§fn default() -> CreateFunctionDefinitionVersionInputBuilder
fn default() -> CreateFunctionDefinitionVersionInputBuilder
source§impl PartialEq for CreateFunctionDefinitionVersionInputBuilder
impl PartialEq for CreateFunctionDefinitionVersionInputBuilder
source§fn eq(&self, other: &CreateFunctionDefinitionVersionInputBuilder) -> bool
fn eq(&self, other: &CreateFunctionDefinitionVersionInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.