Class CfnAccessPoint.ObjectLambdaConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.s3objectlambda.CfnAccessPoint.ObjectLambdaConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAccessPoint.ObjectLambdaConfigurationProperty>
- Enclosing interface:
CfnAccessPoint.ObjectLambdaConfigurationProperty
@Stability(Stable)
public static final class CfnAccessPoint.ObjectLambdaConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAccessPoint.ObjectLambdaConfigurationProperty>
A builder for
CfnAccessPoint.ObjectLambdaConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionallowedFeatures
(List<String> allowedFeatures) Sets the value ofCfnAccessPoint.ObjectLambdaConfigurationProperty.getAllowedFeatures()
build()
Builds the configured instance.cloudWatchMetricsEnabled
(Boolean cloudWatchMetricsEnabled) cloudWatchMetricsEnabled
(IResolvable cloudWatchMetricsEnabled) supportingAccessPoint
(String supportingAccessPoint) transformationConfigurations
(List<? extends Object> transformationConfigurations) transformationConfigurations
(IResolvable transformationConfigurations)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
supportingAccessPoint
@Stability(Stable) public CfnAccessPoint.ObjectLambdaConfigurationProperty.Builder supportingAccessPoint(String supportingAccessPoint) - Parameters:
supportingAccessPoint
- Standard access point associated with the Object Lambda Access Point. This parameter is required.- Returns:
this
-
transformationConfigurations
@Stability(Stable) public CfnAccessPoint.ObjectLambdaConfigurationProperty.Builder transformationConfigurations(IResolvable transformationConfigurations) Sets the value ofCfnAccessPoint.ObjectLambdaConfigurationProperty.getTransformationConfigurations()
- Parameters:
transformationConfigurations
- A container for transformation configurations for an Object Lambda Access Point. This parameter is required.- Returns:
this
-
transformationConfigurations
@Stability(Stable) public CfnAccessPoint.ObjectLambdaConfigurationProperty.Builder transformationConfigurations(List<? extends Object> transformationConfigurations) Sets the value ofCfnAccessPoint.ObjectLambdaConfigurationProperty.getTransformationConfigurations()
- Parameters:
transformationConfigurations
- A container for transformation configurations for an Object Lambda Access Point. This parameter is required.- Returns:
this
-
allowedFeatures
@Stability(Stable) public CfnAccessPoint.ObjectLambdaConfigurationProperty.Builder allowedFeatures(List<String> allowedFeatures) Sets the value ofCfnAccessPoint.ObjectLambdaConfigurationProperty.getAllowedFeatures()
- Parameters:
allowedFeatures
- A container for allowed features. Valid inputs areGetObject-Range
,GetObject-PartNumber
,HeadObject-Range
, andHeadObject-PartNumber
.- Returns:
this
-
cloudWatchMetricsEnabled
@Stability(Stable) public CfnAccessPoint.ObjectLambdaConfigurationProperty.Builder cloudWatchMetricsEnabled(Boolean cloudWatchMetricsEnabled) - Parameters:
cloudWatchMetricsEnabled
- A container for whether the CloudWatch metrics configuration is enabled.- Returns:
this
-
cloudWatchMetricsEnabled
@Stability(Stable) public CfnAccessPoint.ObjectLambdaConfigurationProperty.Builder cloudWatchMetricsEnabled(IResolvable cloudWatchMetricsEnabled) - Parameters:
cloudWatchMetricsEnabled
- A container for whether the CloudWatch metrics configuration is enabled.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAccessPoint.ObjectLambdaConfigurationProperty>
- Returns:
- a new instance of
CfnAccessPoint.ObjectLambdaConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-