Package io.github.cdklabs.projen.web
Class ReactTypeDef.Builder
- java.lang.Object
-
- io.github.cdklabs.projen.web.ReactTypeDef.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ReactTypeDef>
- Enclosing class:
- ReactTypeDef
@Stability(Deprecated) @Deprecated public static final class ReactTypeDef.Builder extends Object implements software.amazon.jsii.Builder<ReactTypeDef>
Deprecated.(deprecated) A fluent builder forReactTypeDef.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ReactTypeDefbuild()Deprecated.ReactTypeDef.Buildercommitted(Boolean committed)Deprecated.(experimental) Indicates whether this file should be committed to git or ignored.static ReactTypeDef.Buildercreate(ReactTypeScriptProject project, String filePath)Deprecated.ReactTypeDef.BuildereditGitignore(Boolean editGitignore)Deprecated.(experimental) Update the project's .gitignore file.ReactTypeDef.Builderexecutable(Boolean executable)Deprecated.(experimental) Whether the generated file should be marked as executable.ReactTypeDef.Buildermarker(Boolean marker)Deprecated.(experimental) Adds the projen marker to the file.ReactTypeDef.Builderreadonly(Boolean readonly)Deprecated.(experimental) Whether the generated file should be readonly.
-
-
-
Method Detail
-
create
@Stability(Deprecated) @Deprecated public static ReactTypeDef.Builder create(ReactTypeScriptProject project, String filePath)
Deprecated.- Parameters:
project- This parameter is required.filePath- This parameter is required.- Returns:
- a new instance of
ReactTypeDef.Builder.
-
committed
@Stability(Experimental) public ReactTypeDef.Builder committed(Boolean committed)
Deprecated.(experimental) 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.
Default: true
- Parameters:
committed- Indicates whether this file should be committed to git or ignored. This parameter is required.- Returns:
this
-
editGitignore
@Stability(Experimental) public ReactTypeDef.Builder editGitignore(Boolean editGitignore)
Deprecated.(experimental) Update the project's .gitignore file.Default: true
- Parameters:
editGitignore- Update the project's .gitignore file. This parameter is required.- Returns:
this
-
executable
@Stability(Experimental) public ReactTypeDef.Builder executable(Boolean executable)
Deprecated.(experimental) Whether the generated file should be marked as executable.Default: false
- Parameters:
executable- Whether the generated file should be marked as executable. This parameter is required.- Returns:
this
-
marker
@Stability(Experimental) public ReactTypeDef.Builder marker(Boolean marker)
Deprecated.(experimental) Adds the projen marker to the file.Default: - marker will be included as long as the project is not ejected
- Parameters:
marker- Adds the projen marker to the file. This parameter is required.- Returns:
this
-
readonly
@Stability(Experimental) public ReactTypeDef.Builder readonly(Boolean readonly)
Deprecated.(experimental) Whether the generated file should be readonly.Default: true
- Parameters:
readonly- Whether the generated file should be readonly. This parameter is required.- Returns:
this
-
build
@Stability(Deprecated) @Deprecated public ReactTypeDef build()
Deprecated.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ReactTypeDef>- Returns:
- a newly built instance of
ReactTypeDef.
-
-