Class CfnParametersCodeProps.Builder
java.lang.Object
software.amazon.awscdk.services.lambda.CfnParametersCodeProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnParametersCodeProps>
- Enclosing interface:
- CfnParametersCodeProps
@Stability(Stable)
public static final class CfnParametersCodeProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnParametersCodeProps>
A builder for
CfnParametersCodeProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbucketNameParam
(CfnParameter bucketNameParam) Sets the value ofCfnParametersCodeProps.getBucketNameParam()
build()
Builds the configured instance.objectKeyParam
(CfnParameter objectKeyParam) Sets the value ofCfnParametersCodeProps.getObjectKeyParam()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucketNameParam
@Stability(Stable) public CfnParametersCodeProps.Builder bucketNameParam(CfnParameter bucketNameParam) Sets the value ofCfnParametersCodeProps.getBucketNameParam()
- Parameters:
bucketNameParam
- The CloudFormation parameter that represents the name of the S3 Bucket where the Lambda code will be located in. Must be of type 'String'.- Returns:
this
-
objectKeyParam
@Stability(Stable) public CfnParametersCodeProps.Builder objectKeyParam(CfnParameter objectKeyParam) Sets the value ofCfnParametersCodeProps.getObjectKeyParam()
- Parameters:
objectKeyParam
- The CloudFormation parameter that represents the path inside the S3 Bucket where the Lambda code will be located at. Must be of type 'String'.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnParametersCodeProps>
- Returns:
- a new instance of
CfnParametersCodeProps
- Throws:
NullPointerException
- if any required attribute was not provided
-