Package io.github.cdklabs.projen
Class SampleReadmeProps.Builder
- java.lang.Object
-
- io.github.cdklabs.projen.SampleReadmeProps.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<SampleReadmeProps>
- Enclosing interface:
- SampleReadmeProps
@Stability(Experimental) public static final class SampleReadmeProps.Builder extends Object implements software.amazon.jsii.Builder<SampleReadmeProps>
A builder forSampleReadmeProps
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SampleReadmePropsbuild()Builds the configured instance.SampleReadmeProps.Buildercontents(String contents)Sets the value ofSampleReadmeProps.getContents()SampleReadmeProps.Builderfilename(String filename)Sets the value ofSampleReadmeProps.getFilename()
-
-
-
Method Detail
-
contents
@Stability(Experimental) public SampleReadmeProps.Builder contents(String contents)
Sets the value ofSampleReadmeProps.getContents()- Parameters:
contents- The contents.- Returns:
this
-
filename
@Stability(Experimental) public SampleReadmeProps.Builder filename(String filename)
Sets the value ofSampleReadmeProps.getFilename()- Parameters:
filename- The name of the README.md file.- Returns:
this
-
build
@Stability(Experimental) public SampleReadmeProps build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SampleReadmeProps>- Returns:
- a new instance of
SampleReadmeProps - Throws:
NullPointerException- if any required attribute was not provided
-
-