@Stability(value=Experimental) public static final class ObjectFileOptions.Builder extends Object implements software.amazon.jsii.Builder<ObjectFileOptions>
ObjectFileOptions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ObjectFileOptions |
build()
Builds the configured instance.
|
ObjectFileOptions.Builder |
committed(Boolean committed)
Sets the value of
FileBaseOptions.getCommitted() |
ObjectFileOptions.Builder |
editGitignore(Boolean editGitignore)
Sets the value of
FileBaseOptions.getEditGitignore() |
ObjectFileOptions.Builder |
executable(Boolean executable)
Sets the value of
FileBaseOptions.getExecutable() |
ObjectFileOptions.Builder |
marker(Boolean marker)
Sets the value of
ObjectFileOptions.getMarker() |
ObjectFileOptions.Builder |
obj(Object obj)
Sets the value of
ObjectFileOptions.getObj() |
ObjectFileOptions.Builder |
omitEmpty(Boolean omitEmpty)
Sets the value of
ObjectFileOptions.getOmitEmpty() |
ObjectFileOptions.Builder |
readonly(Boolean readonly)
Sets the value of
FileBaseOptions.getReadonly() |
@Stability(value=Experimental) public ObjectFileOptions.Builder marker(Boolean marker)
ObjectFileOptions.getMarker()marker - Adds the projen marker to the file.this@Stability(value=Experimental) public ObjectFileOptions.Builder obj(Object obj)
ObjectFileOptions.getObj()obj - The object that will be serialized.
You can modify the object's contents
before synthesis.this@Stability(value=Experimental) public ObjectFileOptions.Builder omitEmpty(Boolean omitEmpty)
ObjectFileOptions.getOmitEmpty()omitEmpty - Omits empty objects and arrays.this@Stability(value=Experimental) public ObjectFileOptions.Builder committed(Boolean committed)
FileBaseOptions.getCommitted()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.this@Stability(value=Experimental) public ObjectFileOptions.Builder editGitignore(Boolean editGitignore)
FileBaseOptions.getEditGitignore()editGitignore - Update the project's .gitignore file.this@Stability(value=Experimental) public ObjectFileOptions.Builder executable(Boolean executable)
FileBaseOptions.getExecutable()executable - Whether the generated file should be marked as executable.this@Stability(value=Experimental) public ObjectFileOptions.Builder readonly(Boolean readonly)
FileBaseOptions.getReadonly()readonly - Whether the generated file should be readonly.this@Stability(value=Experimental) public ObjectFileOptions build()
build in interface software.amazon.jsii.Builder<ObjectFileOptions>ObjectFileOptionsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.