pub struct Builder { /* private fields */ }
Expand description
A builder for ProvisionedConcurrencyConfigListItem
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn function_arn(self, input: impl Into<String>) -> Self
pub fn function_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the alias or version.
sourcepub fn set_function_arn(self, input: Option<String>) -> Self
pub fn set_function_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the alias or version.
sourcepub fn requested_provisioned_concurrent_executions(self, input: i32) -> Self
pub fn requested_provisioned_concurrent_executions(self, input: i32) -> Self
The amount of provisioned concurrency requested.
sourcepub fn set_requested_provisioned_concurrent_executions(
self,
input: Option<i32>
) -> Self
pub fn set_requested_provisioned_concurrent_executions(
self,
input: Option<i32>
) -> Self
The amount of provisioned concurrency requested.
sourcepub fn available_provisioned_concurrent_executions(self, input: i32) -> Self
pub fn available_provisioned_concurrent_executions(self, input: i32) -> Self
The amount of provisioned concurrency available.
sourcepub fn set_available_provisioned_concurrent_executions(
self,
input: Option<i32>
) -> Self
pub fn set_available_provisioned_concurrent_executions(
self,
input: Option<i32>
) -> Self
The amount of provisioned concurrency available.
sourcepub fn allocated_provisioned_concurrent_executions(self, input: i32) -> Self
pub fn allocated_provisioned_concurrent_executions(self, input: i32) -> Self
The amount of provisioned concurrency allocated. When a weighted alias is used during linear and canary deployments, this value fluctuates depending on the amount of concurrency that is provisioned for the function versions.
sourcepub fn set_allocated_provisioned_concurrent_executions(
self,
input: Option<i32>
) -> Self
pub fn set_allocated_provisioned_concurrent_executions(
self,
input: Option<i32>
) -> Self
The amount of provisioned concurrency allocated. When a weighted alias is used during linear and canary deployments, this value fluctuates depending on the amount of concurrency that is provisioned for the function versions.
sourcepub fn status(self, input: ProvisionedConcurrencyStatusEnum) -> Self
pub fn status(self, input: ProvisionedConcurrencyStatusEnum) -> Self
The status of the allocation process.
sourcepub fn set_status(self, input: Option<ProvisionedConcurrencyStatusEnum>) -> Self
pub fn set_status(self, input: Option<ProvisionedConcurrencyStatusEnum>) -> Self
The status of the allocation process.
sourcepub fn status_reason(self, input: impl Into<String>) -> Self
pub fn status_reason(self, input: impl Into<String>) -> Self
For failed allocations, the reason that provisioned concurrency could not be allocated.
sourcepub fn set_status_reason(self, input: Option<String>) -> Self
pub fn set_status_reason(self, input: Option<String>) -> Self
For failed allocations, the reason that provisioned concurrency could not be allocated.
sourcepub fn last_modified(self, input: impl Into<String>) -> Self
pub fn last_modified(self, input: impl Into<String>) -> Self
The date and time that a user last updated the configuration, in ISO 8601 format.
sourcepub fn set_last_modified(self, input: Option<String>) -> Self
pub fn set_last_modified(self, input: Option<String>) -> Self
The date and time that a user last updated the configuration, in ISO 8601 format.
sourcepub fn build(self) -> ProvisionedConcurrencyConfigListItem
pub fn build(self) -> ProvisionedConcurrencyConfigListItem
Consumes the builder and constructs a ProvisionedConcurrencyConfigListItem
.