#[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 ==
.