pub struct CreateFunctionRequestBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> CreateFunctionRequestBuilder<S>
impl<S: State> CreateFunctionRequestBuilder<S>
Sourcepub fn build(self) -> CreateFunctionRequestwhere
S: IsComplete,
pub fn build(self) -> CreateFunctionRequestwhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn function_name(
self,
value: String,
) -> CreateFunctionRequestBuilder<SetFunctionName<S>>where
S::FunctionName: IsUnset,
pub fn function_name(
self,
value: String,
) -> CreateFunctionRequestBuilder<SetFunctionName<S>>where
S::FunctionName: IsUnset,
Required.
Sourcepub fn role(self, value: String) -> CreateFunctionRequestBuilder<SetRole<S>>where
S::Role: IsUnset,
pub fn role(self, value: String) -> CreateFunctionRequestBuilder<SetRole<S>>where
S::Role: IsUnset,
Required.
Sourcepub fn code(
self,
value: FunctionCode,
) -> CreateFunctionRequestBuilder<SetCode<S>>where
S::Code: IsUnset,
pub fn code(
self,
value: FunctionCode,
) -> CreateFunctionRequestBuilder<SetCode<S>>where
S::Code: IsUnset,
Required.
Sourcepub fn package_type(
self,
value: String,
) -> CreateFunctionRequestBuilder<SetPackageType<S>>where
S::PackageType: IsUnset,
pub fn package_type(
self,
value: String,
) -> CreateFunctionRequestBuilder<SetPackageType<S>>where
S::PackageType: IsUnset,
Sourcepub fn maybe_package_type(
self,
value: Option<String>,
) -> CreateFunctionRequestBuilder<SetPackageType<S>>where
S::PackageType: IsUnset,
pub fn maybe_package_type(
self,
value: Option<String>,
) -> CreateFunctionRequestBuilder<SetPackageType<S>>where
S::PackageType: IsUnset,
Sourcepub fn description(
self,
value: String,
) -> CreateFunctionRequestBuilder<SetDescription<S>>where
S::Description: IsUnset,
pub fn description(
self,
value: String,
) -> CreateFunctionRequestBuilder<SetDescription<S>>where
S::Description: IsUnset,
Sourcepub fn maybe_description(
self,
value: Option<String>,
) -> CreateFunctionRequestBuilder<SetDescription<S>>where
S::Description: IsUnset,
pub fn maybe_description(
self,
value: Option<String>,
) -> CreateFunctionRequestBuilder<SetDescription<S>>where
S::Description: IsUnset,
Sourcepub fn timeout(self, value: i32) -> CreateFunctionRequestBuilder<SetTimeout<S>>where
S::Timeout: IsUnset,
pub fn timeout(self, value: i32) -> CreateFunctionRequestBuilder<SetTimeout<S>>where
S::Timeout: IsUnset,
Sourcepub fn maybe_timeout(
self,
value: Option<i32>,
) -> CreateFunctionRequestBuilder<SetTimeout<S>>where
S::Timeout: IsUnset,
pub fn maybe_timeout(
self,
value: Option<i32>,
) -> CreateFunctionRequestBuilder<SetTimeout<S>>where
S::Timeout: IsUnset,
Sourcepub fn memory_size(
self,
value: i32,
) -> CreateFunctionRequestBuilder<SetMemorySize<S>>where
S::MemorySize: IsUnset,
pub fn memory_size(
self,
value: i32,
) -> CreateFunctionRequestBuilder<SetMemorySize<S>>where
S::MemorySize: IsUnset,
Sourcepub fn maybe_memory_size(
self,
value: Option<i32>,
) -> CreateFunctionRequestBuilder<SetMemorySize<S>>where
S::MemorySize: IsUnset,
pub fn maybe_memory_size(
self,
value: Option<i32>,
) -> CreateFunctionRequestBuilder<SetMemorySize<S>>where
S::MemorySize: IsUnset,
Sourcepub fn publish(self, value: bool) -> CreateFunctionRequestBuilder<SetPublish<S>>where
S::Publish: IsUnset,
pub fn publish(self, value: bool) -> CreateFunctionRequestBuilder<SetPublish<S>>where
S::Publish: IsUnset,
Sourcepub fn maybe_publish(
self,
value: Option<bool>,
) -> CreateFunctionRequestBuilder<SetPublish<S>>where
S::Publish: IsUnset,
pub fn maybe_publish(
self,
value: Option<bool>,
) -> CreateFunctionRequestBuilder<SetPublish<S>>where
S::Publish: IsUnset,
Sourcepub fn environment(
self,
value: Environment,
) -> CreateFunctionRequestBuilder<SetEnvironment<S>>where
S::Environment: IsUnset,
pub fn environment(
self,
value: Environment,
) -> CreateFunctionRequestBuilder<SetEnvironment<S>>where
S::Environment: IsUnset,
Sourcepub fn maybe_environment(
self,
value: Option<Environment>,
) -> CreateFunctionRequestBuilder<SetEnvironment<S>>where
S::Environment: IsUnset,
pub fn maybe_environment(
self,
value: Option<Environment>,
) -> CreateFunctionRequestBuilder<SetEnvironment<S>>where
S::Environment: IsUnset,
Sourcepub fn architectures(
self,
value: Vec<String>,
) -> CreateFunctionRequestBuilder<SetArchitectures<S>>where
S::Architectures: IsUnset,
pub fn architectures(
self,
value: Vec<String>,
) -> CreateFunctionRequestBuilder<SetArchitectures<S>>where
S::Architectures: IsUnset,
Sourcepub fn maybe_architectures(
self,
value: Option<Vec<String>>,
) -> CreateFunctionRequestBuilder<SetArchitectures<S>>where
S::Architectures: IsUnset,
pub fn maybe_architectures(
self,
value: Option<Vec<String>>,
) -> CreateFunctionRequestBuilder<SetArchitectures<S>>where
S::Architectures: IsUnset,
Sourcepub fn tracing_config(
self,
value: TracingConfig,
) -> CreateFunctionRequestBuilder<SetTracingConfig<S>>where
S::TracingConfig: IsUnset,
pub fn tracing_config(
self,
value: TracingConfig,
) -> CreateFunctionRequestBuilder<SetTracingConfig<S>>where
S::TracingConfig: IsUnset,
Sourcepub fn maybe_tracing_config(
self,
value: Option<TracingConfig>,
) -> CreateFunctionRequestBuilder<SetTracingConfig<S>>where
S::TracingConfig: IsUnset,
pub fn maybe_tracing_config(
self,
value: Option<TracingConfig>,
) -> CreateFunctionRequestBuilder<SetTracingConfig<S>>where
S::TracingConfig: IsUnset,
Sourcepub fn ephemeral_storage(
self,
value: EphemeralStorage,
) -> CreateFunctionRequestBuilder<SetEphemeralStorage<S>>where
S::EphemeralStorage: IsUnset,
pub fn ephemeral_storage(
self,
value: EphemeralStorage,
) -> CreateFunctionRequestBuilder<SetEphemeralStorage<S>>where
S::EphemeralStorage: IsUnset,
Sourcepub fn maybe_ephemeral_storage(
self,
value: Option<EphemeralStorage>,
) -> CreateFunctionRequestBuilder<SetEphemeralStorage<S>>where
S::EphemeralStorage: IsUnset,
pub fn maybe_ephemeral_storage(
self,
value: Option<EphemeralStorage>,
) -> CreateFunctionRequestBuilder<SetEphemeralStorage<S>>where
S::EphemeralStorage: IsUnset,
Sourcepub fn kms_key_arn(
self,
value: String,
) -> CreateFunctionRequestBuilder<SetKmsKeyArn<S>>where
S::KmsKeyArn: IsUnset,
pub fn kms_key_arn(
self,
value: String,
) -> CreateFunctionRequestBuilder<SetKmsKeyArn<S>>where
S::KmsKeyArn: IsUnset,
Sourcepub fn maybe_kms_key_arn(
self,
value: Option<String>,
) -> CreateFunctionRequestBuilder<SetKmsKeyArn<S>>where
S::KmsKeyArn: IsUnset,
pub fn maybe_kms_key_arn(
self,
value: Option<String>,
) -> CreateFunctionRequestBuilder<SetKmsKeyArn<S>>where
S::KmsKeyArn: IsUnset,
Sourcepub fn vpc_config(
self,
value: VpcConfig,
) -> CreateFunctionRequestBuilder<SetVpcConfig<S>>where
S::VpcConfig: IsUnset,
pub fn vpc_config(
self,
value: VpcConfig,
) -> CreateFunctionRequestBuilder<SetVpcConfig<S>>where
S::VpcConfig: IsUnset,
Sourcepub fn maybe_vpc_config(
self,
value: Option<VpcConfig>,
) -> CreateFunctionRequestBuilder<SetVpcConfig<S>>where
S::VpcConfig: IsUnset,
pub fn maybe_vpc_config(
self,
value: Option<VpcConfig>,
) -> CreateFunctionRequestBuilder<SetVpcConfig<S>>where
S::VpcConfig: IsUnset,
Auto Trait Implementations§
impl<S> Freeze for CreateFunctionRequestBuilder<S>
impl<S> RefUnwindSafe for CreateFunctionRequestBuilder<S>
impl<S> Send for CreateFunctionRequestBuilder<S>
impl<S> Sync for CreateFunctionRequestBuilder<S>
impl<S> Unpin for CreateFunctionRequestBuilder<S>
impl<S> UnsafeUnpin for CreateFunctionRequestBuilder<S>
impl<S> UnwindSafe for CreateFunctionRequestBuilder<S>
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.