Class CfnFunction.ImageConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.lambda.CfnFunction.ImageConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFunction.ImageConfigProperty>
- Enclosing interface:
CfnFunction.ImageConfigProperty
@Stability(Stable)
public static final class CfnFunction.ImageConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFunction.ImageConfigProperty>
A builder for
CfnFunction.ImageConfigProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnFunction.ImageConfigProperty.getCommand()
entryPoint
(List<String> entryPoint) Sets the value ofCfnFunction.ImageConfigProperty.getEntryPoint()
workingDirectory
(String workingDirectory) Sets the value ofCfnFunction.ImageConfigProperty.getWorkingDirectory()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
command
Sets the value ofCfnFunction.ImageConfigProperty.getCommand()
- Parameters:
command
- Specifies parameters that you want to pass in with ENTRYPOINT. You can specify a maximum of 1,500 parameters in the list.- Returns:
this
-
entryPoint
@Stability(Stable) public CfnFunction.ImageConfigProperty.Builder entryPoint(List<String> entryPoint) Sets the value ofCfnFunction.ImageConfigProperty.getEntryPoint()
- Parameters:
entryPoint
- Specifies the entry point to their application, which is typically the location of the runtime executable. You can specify a maximum of 1,500 string entries in the list.- Returns:
this
-
workingDirectory
@Stability(Stable) public CfnFunction.ImageConfigProperty.Builder workingDirectory(String workingDirectory) Sets the value ofCfnFunction.ImageConfigProperty.getWorkingDirectory()
- Parameters:
workingDirectory
- Specifies the working directory. The length of the directory string cannot exceed 1,000 characters.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnFunction.ImageConfigProperty>
- Returns:
- a new instance of
CfnFunction.ImageConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-