Class CfnWebFunctionRevisionPropsMixin.CodeConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.lambda.CfnWebFunctionRevisionPropsMixin.CodeConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWebFunctionRevisionPropsMixin.CodeConfigProperty>
- Enclosing interface:
CfnWebFunctionRevisionPropsMixin.CodeConfigProperty
@Stability(Stable)
public static final class CfnWebFunctionRevisionPropsMixin.CodeConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWebFunctionRevisionPropsMixin.CodeConfigProperty>
A builder for
CfnWebFunctionRevisionPropsMixin.CodeConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnWebFunctionRevisionPropsMixin.CodeConfigProperty.getS3Object()s3Object(IResolvable s3Object) Sets the value ofCfnWebFunctionRevisionPropsMixin.CodeConfigProperty.getS3Object()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
s3Object
@Stability(Stable) public CfnWebFunctionRevisionPropsMixin.CodeConfigProperty.Builder s3Object(IResolvable s3Object) Sets the value ofCfnWebFunctionRevisionPropsMixin.CodeConfigProperty.getS3Object()- Parameters:
s3Object- The S3 location of the function code.- Returns:
this
-
s3Object
@Stability(Stable) public CfnWebFunctionRevisionPropsMixin.CodeConfigProperty.Builder s3Object(CfnWebFunctionRevisionPropsMixin.S3ObjectProperty s3Object) Sets the value ofCfnWebFunctionRevisionPropsMixin.CodeConfigProperty.getS3Object()- Parameters:
s3Object- The S3 location of the function code.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWebFunctionRevisionPropsMixin.CodeConfigProperty>- Returns:
- a new instance of
CfnWebFunctionRevisionPropsMixin.CodeConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-