Struct aws_sdk_lambda::operation::put_provisioned_concurrency_config::builders::PutProvisionedConcurrencyConfigInputBuilder
source · #[non_exhaustive]pub struct PutProvisionedConcurrencyConfigInputBuilder { /* private fields */ }
Expand description
A builder for PutProvisionedConcurrencyConfigInput
.
Implementations§
source§impl PutProvisionedConcurrencyConfigInputBuilder
impl PutProvisionedConcurrencyConfigInputBuilder
sourcepub fn function_name(self, input: impl Into<String>) -> Self
pub fn function_name(self, input: impl Into<String>) -> Self
The name or ARN of the Lambda function.
Name formats
-
Function name –
my-function
. -
Function ARN –
arn:aws:lambda:us-west-2:123456789012:function:my-function
. -
Partial ARN –
123456789012:function:my-function
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
This field is required.sourcepub fn set_function_name(self, input: Option<String>) -> Self
pub fn set_function_name(self, input: Option<String>) -> Self
The name or ARN of the Lambda function.
Name formats
-
Function name –
my-function
. -
Function ARN –
arn:aws:lambda:us-west-2:123456789012:function:my-function
. -
Partial ARN –
123456789012:function:my-function
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
sourcepub fn get_function_name(&self) -> &Option<String>
pub fn get_function_name(&self) -> &Option<String>
The name or ARN of the Lambda function.
Name formats
-
Function name –
my-function
. -
Function ARN –
arn:aws:lambda:us-west-2:123456789012:function:my-function
. -
Partial ARN –
123456789012:function:my-function
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
sourcepub fn qualifier(self, input: impl Into<String>) -> Self
pub fn qualifier(self, input: impl Into<String>) -> Self
The version number or alias name.
This field is required.sourcepub fn set_qualifier(self, input: Option<String>) -> Self
pub fn set_qualifier(self, input: Option<String>) -> Self
The version number or alias name.
sourcepub fn get_qualifier(&self) -> &Option<String>
pub fn get_qualifier(&self) -> &Option<String>
The version number or alias name.
sourcepub fn provisioned_concurrent_executions(self, input: i32) -> Self
pub fn provisioned_concurrent_executions(self, input: i32) -> Self
The amount of provisioned concurrency to allocate for the version or alias.
This field is required.sourcepub fn set_provisioned_concurrent_executions(self, input: Option<i32>) -> Self
pub fn set_provisioned_concurrent_executions(self, input: Option<i32>) -> Self
The amount of provisioned concurrency to allocate for the version or alias.
sourcepub fn get_provisioned_concurrent_executions(&self) -> &Option<i32>
pub fn get_provisioned_concurrent_executions(&self) -> &Option<i32>
The amount of provisioned concurrency to allocate for the version or alias.
sourcepub fn build(self) -> Result<PutProvisionedConcurrencyConfigInput, BuildError>
pub fn build(self) -> Result<PutProvisionedConcurrencyConfigInput, BuildError>
Consumes the builder and constructs a PutProvisionedConcurrencyConfigInput
.
source§impl PutProvisionedConcurrencyConfigInputBuilder
impl PutProvisionedConcurrencyConfigInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<PutProvisionedConcurrencyConfigOutput, SdkError<PutProvisionedConcurrencyConfigError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<PutProvisionedConcurrencyConfigOutput, SdkError<PutProvisionedConcurrencyConfigError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for PutProvisionedConcurrencyConfigInputBuilder
impl Clone for PutProvisionedConcurrencyConfigInputBuilder
source§fn clone(&self) -> PutProvisionedConcurrencyConfigInputBuilder
fn clone(&self) -> PutProvisionedConcurrencyConfigInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for PutProvisionedConcurrencyConfigInputBuilder
impl Default for PutProvisionedConcurrencyConfigInputBuilder
source§fn default() -> PutProvisionedConcurrencyConfigInputBuilder
fn default() -> PutProvisionedConcurrencyConfigInputBuilder
source§impl PartialEq for PutProvisionedConcurrencyConfigInputBuilder
impl PartialEq for PutProvisionedConcurrencyConfigInputBuilder
source§fn eq(&self, other: &PutProvisionedConcurrencyConfigInputBuilder) -> bool
fn eq(&self, other: &PutProvisionedConcurrencyConfigInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PutProvisionedConcurrencyConfigInputBuilder
Auto Trait Implementations§
impl Freeze for PutProvisionedConcurrencyConfigInputBuilder
impl RefUnwindSafe for PutProvisionedConcurrencyConfigInputBuilder
impl Send for PutProvisionedConcurrencyConfigInputBuilder
impl Sync for PutProvisionedConcurrencyConfigInputBuilder
impl Unpin for PutProvisionedConcurrencyConfigInputBuilder
impl UnwindSafe for PutProvisionedConcurrencyConfigInputBuilder
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more