Struct aws_sdk_greengrass::operation::create_function_definition::builders::CreateFunctionDefinitionInputBuilder
source · #[non_exhaustive]pub struct CreateFunctionDefinitionInputBuilder { /* private fields */ }Expand description
A builder for CreateFunctionDefinitionInput.
Implementations§
source§impl CreateFunctionDefinitionInputBuilder
impl CreateFunctionDefinitionInputBuilder
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 initial_version(self, input: FunctionDefinitionVersion) -> Self
pub fn initial_version(self, input: FunctionDefinitionVersion) -> Self
Information about the initial version of the function definition.
sourcepub fn set_initial_version(
self,
input: Option<FunctionDefinitionVersion>
) -> Self
pub fn set_initial_version( self, input: Option<FunctionDefinitionVersion> ) -> Self
Information about the initial version of the function definition.
sourcepub fn get_initial_version(&self) -> &Option<FunctionDefinitionVersion>
pub fn get_initial_version(&self) -> &Option<FunctionDefinitionVersion>
Information about the initial version of the function definition.
Adds a key-value pair to tags.
To override the contents of this collection use set_tags.
Tag(s) to add to the new resource.
Tag(s) to add to the new resource.
Tag(s) to add to the new resource.
sourcepub fn build(self) -> Result<CreateFunctionDefinitionInput, BuildError>
pub fn build(self) -> Result<CreateFunctionDefinitionInput, BuildError>
Consumes the builder and constructs a CreateFunctionDefinitionInput.
source§impl CreateFunctionDefinitionInputBuilder
impl CreateFunctionDefinitionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateFunctionDefinitionOutput, SdkError<CreateFunctionDefinitionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateFunctionDefinitionOutput, SdkError<CreateFunctionDefinitionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateFunctionDefinitionInputBuilder
impl Clone for CreateFunctionDefinitionInputBuilder
source§fn clone(&self) -> CreateFunctionDefinitionInputBuilder
fn clone(&self) -> CreateFunctionDefinitionInputBuilder
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 Default for CreateFunctionDefinitionInputBuilder
impl Default for CreateFunctionDefinitionInputBuilder
source§fn default() -> CreateFunctionDefinitionInputBuilder
fn default() -> CreateFunctionDefinitionInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CreateFunctionDefinitionInputBuilder
impl PartialEq for CreateFunctionDefinitionInputBuilder
source§fn eq(&self, other: &CreateFunctionDefinitionInputBuilder) -> bool
fn eq(&self, other: &CreateFunctionDefinitionInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateFunctionDefinitionInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for CreateFunctionDefinitionInputBuilder
impl Send for CreateFunctionDefinitionInputBuilder
impl Sync for CreateFunctionDefinitionInputBuilder
impl Unpin for CreateFunctionDefinitionInputBuilder
impl UnwindSafe for CreateFunctionDefinitionInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.