Class Machine.Builder
- java.lang.Object
-
- io.github.cdklabs.projen.circleci.Machine.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Machinebuild()Builds the configured instance.Machine.BuilderdockerLayerCaching(String dockerLayerCaching)Sets the value ofMachine.getDockerLayerCaching()Machine.Builderimage(String image)Sets the value ofMachine.getImage()
-
-
-
Method Detail
-
image
@Stability(Experimental) public Machine.Builder image(String image)
Sets the value ofMachine.getImage()- Parameters:
image- The VM image to use. This parameter is required.- Returns:
this
-
dockerLayerCaching
@Stability(Experimental) public Machine.Builder dockerLayerCaching(String dockerLayerCaching)
Sets the value ofMachine.getDockerLayerCaching()- Parameters:
dockerLayerCaching- enable docker layer caching.- Returns:
this
-
build
@Stability(Experimental) public Machine build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<Machine>- Returns:
- a new instance of
Machine - Throws:
NullPointerException- if any required attribute was not provided
-
-