#[non_exhaustive]pub struct ObjectLambdaConfigurationBuilder { /* private fields */ }
Expand description
A builder for ObjectLambdaConfiguration
.
Implementations§
source§impl ObjectLambdaConfigurationBuilder
impl ObjectLambdaConfigurationBuilder
sourcepub fn supporting_access_point(self, input: impl Into<String>) -> Self
pub fn supporting_access_point(self, input: impl Into<String>) -> Self
Standard access point associated with the Object Lambda Access Point.
This field is required.sourcepub fn set_supporting_access_point(self, input: Option<String>) -> Self
pub fn set_supporting_access_point(self, input: Option<String>) -> Self
Standard access point associated with the Object Lambda Access Point.
sourcepub fn get_supporting_access_point(&self) -> &Option<String>
pub fn get_supporting_access_point(&self) -> &Option<String>
Standard access point associated with the Object Lambda Access Point.
sourcepub fn cloud_watch_metrics_enabled(self, input: bool) -> Self
pub fn cloud_watch_metrics_enabled(self, input: bool) -> Self
A container for whether the CloudWatch metrics configuration is enabled.
sourcepub fn set_cloud_watch_metrics_enabled(self, input: Option<bool>) -> Self
pub fn set_cloud_watch_metrics_enabled(self, input: Option<bool>) -> Self
A container for whether the CloudWatch metrics configuration is enabled.
sourcepub fn get_cloud_watch_metrics_enabled(&self) -> &Option<bool>
pub fn get_cloud_watch_metrics_enabled(&self) -> &Option<bool>
A container for whether the CloudWatch metrics configuration is enabled.
sourcepub fn allowed_features(self, input: ObjectLambdaAllowedFeature) -> Self
pub fn allowed_features(self, input: ObjectLambdaAllowedFeature) -> Self
Appends an item to allowed_features
.
To override the contents of this collection use set_allowed_features
.
A container for allowed features. Valid inputs are GetObject-Range
, GetObject-PartNumber
, HeadObject-Range
, and HeadObject-PartNumber
.
sourcepub fn set_allowed_features(
self,
input: Option<Vec<ObjectLambdaAllowedFeature>>
) -> Self
pub fn set_allowed_features( self, input: Option<Vec<ObjectLambdaAllowedFeature>> ) -> Self
A container for allowed features. Valid inputs are GetObject-Range
, GetObject-PartNumber
, HeadObject-Range
, and HeadObject-PartNumber
.
sourcepub fn get_allowed_features(&self) -> &Option<Vec<ObjectLambdaAllowedFeature>>
pub fn get_allowed_features(&self) -> &Option<Vec<ObjectLambdaAllowedFeature>>
A container for allowed features. Valid inputs are GetObject-Range
, GetObject-PartNumber
, HeadObject-Range
, and HeadObject-PartNumber
.
sourcepub fn transformation_configurations(
self,
input: ObjectLambdaTransformationConfiguration
) -> Self
pub fn transformation_configurations( self, input: ObjectLambdaTransformationConfiguration ) -> Self
Appends an item to transformation_configurations
.
To override the contents of this collection use set_transformation_configurations
.
A container for transformation configurations for an Object Lambda Access Point.
sourcepub fn set_transformation_configurations(
self,
input: Option<Vec<ObjectLambdaTransformationConfiguration>>
) -> Self
pub fn set_transformation_configurations( self, input: Option<Vec<ObjectLambdaTransformationConfiguration>> ) -> Self
A container for transformation configurations for an Object Lambda Access Point.
sourcepub fn get_transformation_configurations(
&self
) -> &Option<Vec<ObjectLambdaTransformationConfiguration>>
pub fn get_transformation_configurations( &self ) -> &Option<Vec<ObjectLambdaTransformationConfiguration>>
A container for transformation configurations for an Object Lambda Access Point.
sourcepub fn build(self) -> Result<ObjectLambdaConfiguration, BuildError>
pub fn build(self) -> Result<ObjectLambdaConfiguration, BuildError>
Consumes the builder and constructs a ObjectLambdaConfiguration
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ObjectLambdaConfigurationBuilder
impl Clone for ObjectLambdaConfigurationBuilder
source§fn clone(&self) -> ObjectLambdaConfigurationBuilder
fn clone(&self) -> ObjectLambdaConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ObjectLambdaConfigurationBuilder
impl Default for ObjectLambdaConfigurationBuilder
source§fn default() -> ObjectLambdaConfigurationBuilder
fn default() -> ObjectLambdaConfigurationBuilder
source§impl PartialEq for ObjectLambdaConfigurationBuilder
impl PartialEq for ObjectLambdaConfigurationBuilder
source§fn eq(&self, other: &ObjectLambdaConfigurationBuilder) -> bool
fn eq(&self, other: &ObjectLambdaConfigurationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ObjectLambdaConfigurationBuilder
Auto Trait Implementations§
impl Freeze for ObjectLambdaConfigurationBuilder
impl RefUnwindSafe for ObjectLambdaConfigurationBuilder
impl Send for ObjectLambdaConfigurationBuilder
impl Sync for ObjectLambdaConfigurationBuilder
impl Unpin for ObjectLambdaConfigurationBuilder
impl UnwindSafe for ObjectLambdaConfigurationBuilder
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