Class CfnAccessPointProps.Builder
java.lang.Object
software.amazon.awscdk.services.s3objectlambda.CfnAccessPointProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAccessPointProps>
- Enclosing interface:
CfnAccessPointProps
@Stability(Stable)
public static final class CfnAccessPointProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAccessPointProps>
A builder for
CfnAccessPointProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnAccessPointProps.getName()
objectLambdaConfiguration
(IResolvable objectLambdaConfiguration) Sets the value ofCfnAccessPointProps.getObjectLambdaConfiguration()
objectLambdaConfiguration
(CfnAccessPoint.ObjectLambdaConfigurationProperty objectLambdaConfiguration) Sets the value ofCfnAccessPointProps.getObjectLambdaConfiguration()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
objectLambdaConfiguration
@Stability(Stable) public CfnAccessPointProps.Builder objectLambdaConfiguration(IResolvable objectLambdaConfiguration) Sets the value ofCfnAccessPointProps.getObjectLambdaConfiguration()
- Parameters:
objectLambdaConfiguration
- A configuration used when creating an Object Lambda Access Point. This parameter is required.- Returns:
this
-
objectLambdaConfiguration
@Stability(Stable) public CfnAccessPointProps.Builder objectLambdaConfiguration(CfnAccessPoint.ObjectLambdaConfigurationProperty objectLambdaConfiguration) Sets the value ofCfnAccessPointProps.getObjectLambdaConfiguration()
- Parameters:
objectLambdaConfiguration
- A configuration used when creating an Object Lambda Access Point. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnAccessPointProps.getName()
- Parameters:
name
- The name of this access point.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAccessPointProps>
- Returns:
- a new instance of
CfnAccessPointProps
- Throws:
NullPointerException
- if any required attribute was not provided
-