public class BaseApplyOptions extends StatefulOptions
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
backup |
protected boolean |
compactWarnings |
protected int |
parallelism |
protected java.lang.String |
state |
protected java.util.List<java.lang.String> |
targets |
input, lock, lockTimeout| Constructor and Description |
|---|
BaseApplyOptions(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
backup(java.lang.String backup)
Sets the path to backup the existing state file.
|
void |
compactWarnings(boolean compactWarnings)
if
true is specified, shows warnings in a more compact form that includes only the summary messages if the warnings Terraform produces are not accompanied by errors. |
void |
parallelism(int parallelism)
Limits the number of concurrent operation as Terraform walks the graph.
|
void |
state(java.lang.String state)
Set the path to the state file.
|
void |
targets(java.util.List<java.lang.String> targets)
Resource Addresses to target.
|
input, lock, lockTimeoutprotected java.lang.String backup
protected boolean compactWarnings
protected int parallelism
protected java.lang.String state
protected java.util.List<java.lang.String> targets
public void backup(@Nonnull
java.lang.String backup)
backup - The path to backup the existing state file.public void compactWarnings(boolean compactWarnings)
true is specified, shows warnings in a more compact form that includes only the summary messages if the warnings Terraform produces are not accompanied by errors.
Default is false.
compactWarnings - true to shows warnings in a more compact form that includes only the summary messages if the warnings Terraform produces are not accompanied by errors.public void parallelism(int parallelism)
Defaults is 10.
parallelism - The number of concurrent operation as Terraform walks the graph.public void state(@Nonnull
java.lang.String state)
Ignored when remote state is used.
Default is terraform.tfstate.
state - The path to the state file.public void targets(@Nonnull
java.util.List<java.lang.String> targets)
targets - Resource Addresses to target.