@Stability(value=Experimental) public static final class InitFileOptions.Builder extends Object implements software.amazon.jsii.Builder<InitFileOptions>
InitFileOptions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
InitFileOptions.Builder |
base64Encoded(Boolean base64Encoded)
Sets the value of
InitFileOptions.getBase64Encoded() |
InitFileOptions |
build()
Builds the configured instance.
|
InitFileOptions.Builder |
group(String group)
Sets the value of
InitFileOptions.getGroup() |
InitFileOptions.Builder |
mode(String mode)
Sets the value of
InitFileOptions.getMode() |
InitFileOptions.Builder |
owner(String owner)
Sets the value of
InitFileOptions.getOwner() |
InitFileOptions.Builder |
serviceRestartHandles(List<? extends InitServiceRestartHandle> serviceRestartHandles)
Sets the value of
InitFileOptions.getServiceRestartHandles() |
@Stability(value=Experimental) public InitFileOptions.Builder base64Encoded(Boolean base64Encoded)
InitFileOptions.getBase64Encoded()base64Encoded - True if the inlined content (from a string or file) should be treated as base64 encoded.
Only applicable for inlined string and file content.this@Stability(value=Experimental) public InitFileOptions.Builder group(String group)
InitFileOptions.getGroup()group - The name of the owning group for this file.
Not supported for Windows systems.this@Stability(value=Experimental) public InitFileOptions.Builder mode(String mode)
InitFileOptions.getMode()mode - A six-digit octal value representing the mode for this file.
Use the first three digits for symlinks and the last three digits for
setting permissions. To create a symlink, specify 120xxx, where xxx
defines the permissions of the target file. To specify permissions for a
file, use the last three digits, such as 000644.
Not supported for Windows systems.
this@Stability(value=Experimental) public InitFileOptions.Builder owner(String owner)
InitFileOptions.getOwner()owner - The name of the owning user for this file.
Not supported for Windows systems.this@Stability(value=Experimental) public InitFileOptions.Builder serviceRestartHandles(List<? extends InitServiceRestartHandle> serviceRestartHandles)
InitFileOptions.getServiceRestartHandles()serviceRestartHandles - Restart the given service after this file has been written.this@Stability(value=Experimental) public InitFileOptions build()
build in interface software.amazon.jsii.Builder<InitFileOptions>InitFileOptionsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.