Class CfnFunction.ImageConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sam.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
Constructors -
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- the value to be set.- Returns:
this
-
entryPoint
@Stability(Stable) public CfnFunction.ImageConfigProperty.Builder entryPoint(List<String> entryPoint) Sets the value ofCfnFunction.ImageConfigProperty.getEntryPoint()- Parameters:
entryPoint- the value to be set.- Returns:
this
-
workingDirectory
@Stability(Stable) public CfnFunction.ImageConfigProperty.Builder workingDirectory(String workingDirectory) Sets the value ofCfnFunction.ImageConfigProperty.getWorkingDirectory()- Parameters:
workingDirectory- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFunction.ImageConfigProperty>- Returns:
- a new instance of
CfnFunction.ImageConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-