Struct aws_sdk_greengrass::operation::get_function_definition_version::builders::GetFunctionDefinitionVersionInputBuilder
source · #[non_exhaustive]pub struct GetFunctionDefinitionVersionInputBuilder { /* private fields */ }Expand description
A builder for GetFunctionDefinitionVersionInput.
Implementations§
source§impl GetFunctionDefinitionVersionInputBuilder
impl GetFunctionDefinitionVersionInputBuilder
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 function_definition_version_id(self, input: impl Into<String>) -> Self
pub fn function_definition_version_id(self, input: impl Into<String>) -> Self
The ID of the function definition version. This value maps to the ’‘Version’’ property of the corresponding ’‘VersionInformation’’ object, which is returned by ’‘ListFunctionDefinitionVersions’’ requests. If the version is the last one that was associated with a function definition, the value also maps to the ’‘LatestVersion’’ property of the corresponding ’‘DefinitionInformation’’ object. This field is required.
sourcepub fn set_function_definition_version_id(self, input: Option<String>) -> Self
pub fn set_function_definition_version_id(self, input: Option<String>) -> Self
The ID of the function definition version. This value maps to the ’‘Version’’ property of the corresponding ’‘VersionInformation’’ object, which is returned by ’‘ListFunctionDefinitionVersions’’ requests. If the version is the last one that was associated with a function definition, the value also maps to the ’‘LatestVersion’’ property of the corresponding ’‘DefinitionInformation’’ object.
sourcepub fn get_function_definition_version_id(&self) -> &Option<String>
pub fn get_function_definition_version_id(&self) -> &Option<String>
The ID of the function definition version. This value maps to the ’‘Version’’ property of the corresponding ’‘VersionInformation’’ object, which is returned by ’‘ListFunctionDefinitionVersions’’ requests. If the version is the last one that was associated with a function definition, the value also maps to the ’‘LatestVersion’’ property of the corresponding ’‘DefinitionInformation’’ object.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token for the next set of results, or ’‘null’’ if there are no additional results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token for the next set of results, or ’‘null’’ if there are no additional results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token for the next set of results, or ’‘null’’ if there are no additional results.
sourcepub fn build(self) -> Result<GetFunctionDefinitionVersionInput, BuildError>
pub fn build(self) -> Result<GetFunctionDefinitionVersionInput, BuildError>
Consumes the builder and constructs a GetFunctionDefinitionVersionInput.
source§impl GetFunctionDefinitionVersionInputBuilder
impl GetFunctionDefinitionVersionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetFunctionDefinitionVersionOutput, SdkError<GetFunctionDefinitionVersionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetFunctionDefinitionVersionOutput, SdkError<GetFunctionDefinitionVersionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetFunctionDefinitionVersionInputBuilder
impl Clone for GetFunctionDefinitionVersionInputBuilder
source§fn clone(&self) -> GetFunctionDefinitionVersionInputBuilder
fn clone(&self) -> GetFunctionDefinitionVersionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for GetFunctionDefinitionVersionInputBuilder
impl Default for GetFunctionDefinitionVersionInputBuilder
source§fn default() -> GetFunctionDefinitionVersionInputBuilder
fn default() -> GetFunctionDefinitionVersionInputBuilder
source§impl PartialEq for GetFunctionDefinitionVersionInputBuilder
impl PartialEq for GetFunctionDefinitionVersionInputBuilder
source§fn eq(&self, other: &GetFunctionDefinitionVersionInputBuilder) -> bool
fn eq(&self, other: &GetFunctionDefinitionVersionInputBuilder) -> bool
self and other values to be equal, and is used
by ==.