Package io.github.cdklabs.projen.web
Class ReactTypeDefOptions.Builder
- java.lang.Object
-
- io.github.cdklabs.projen.web.ReactTypeDefOptions.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ReactTypeDefOptions>
- Enclosing interface:
- ReactTypeDefOptions
@Stability(Deprecated) @Deprecated public static final class ReactTypeDefOptions.Builder extends Object implements software.amazon.jsii.Builder<ReactTypeDefOptions>
Deprecated.A builder forReactTypeDefOptions
-
-
Constructor Summary
Constructors Constructor Description Builder()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ReactTypeDefOptionsbuild()Deprecated.ReactTypeDefOptions.Buildercommitted(Boolean committed)Deprecated.Sets the value ofFileBaseOptions.getCommitted()ReactTypeDefOptions.BuildereditGitignore(Boolean editGitignore)Deprecated.Sets the value ofFileBaseOptions.getEditGitignore()ReactTypeDefOptions.Builderexecutable(Boolean executable)Deprecated.Sets the value ofFileBaseOptions.getExecutable()ReactTypeDefOptions.Buildermarker(Boolean marker)Deprecated.Sets the value ofFileBaseOptions.getMarker()ReactTypeDefOptions.Builderreadonly(Boolean readonly)Deprecated.Sets the value ofFileBaseOptions.getReadonly()
-
-
-
Method Detail
-
committed
@Stability(Experimental) public ReactTypeDefOptions.Builder committed(Boolean committed)
Deprecated.Sets the value ofFileBaseOptions.getCommitted()- Parameters:
committed- Indicates whether this file should be committed to git or ignored. By default, all generated files are committed and anti-tamper is used to protect against manual modifications.- Returns:
this
-
editGitignore
@Stability(Experimental) public ReactTypeDefOptions.Builder editGitignore(Boolean editGitignore)
Deprecated.Sets the value ofFileBaseOptions.getEditGitignore()- Parameters:
editGitignore- Update the project's .gitignore file.- Returns:
this
-
executable
@Stability(Experimental) public ReactTypeDefOptions.Builder executable(Boolean executable)
Deprecated.Sets the value ofFileBaseOptions.getExecutable()- Parameters:
executable- Whether the generated file should be marked as executable.- Returns:
this
-
marker
@Stability(Experimental) public ReactTypeDefOptions.Builder marker(Boolean marker)
Deprecated.Sets the value ofFileBaseOptions.getMarker()- Parameters:
marker- Adds the projen marker to the file.- Returns:
this
-
readonly
@Stability(Experimental) public ReactTypeDefOptions.Builder readonly(Boolean readonly)
Deprecated.Sets the value ofFileBaseOptions.getReadonly()- Parameters:
readonly- Whether the generated file should be readonly.- Returns:
this
-
build
@Stability(Deprecated) @Deprecated public ReactTypeDefOptions build()
Deprecated.Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ReactTypeDefOptions>- Returns:
- a new instance of
ReactTypeDefOptions - Throws:
NullPointerException- if any required attribute was not provided
-
-