Class TerraformAdvancedOptions
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.resourcemanager.model.TerraformAdvancedOptions
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20180917") public final class TerraformAdvancedOptions extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Specifies advanced options for Terraform commands.These options are not necessary for normal usage of Terraform.
Note: Objects should always be created or deserialized using theTerraformAdvancedOptions.Builder
. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theTerraformAdvancedOptions.Builder
, which maintain a set of all explicitly set fields calledTerraformAdvancedOptions.Builder.__explicitlySet__
. ThehashCode()
andequals(Object)
methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TerraformAdvancedOptions.Builder
static class
TerraformAdvancedOptions.DetailedLogLevel
Enables detailed logs at the specified verbosity for running the job (operation).
-
Constructor Summary
Constructors Constructor Description TerraformAdvancedOptions(Boolean isRefreshRequired, Integer parallelism, TerraformAdvancedOptions.DetailedLogLevel detailedLogLevel)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TerraformAdvancedOptions.Builder
builder()
Create a new builder.boolean
equals(Object o)
TerraformAdvancedOptions.DetailedLogLevel
getDetailedLogLevel()
Enables detailed logs at the specified verbosity for running the job (operation).Boolean
getIsRefreshRequired()
Specifies whether to refresh the state for each resource before running the job (operation).Integer
getParallelism()
Limits the number of concurrent Terraform operations when walking the graph.int
hashCode()
TerraformAdvancedOptions.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
TerraformAdvancedOptions
@Deprecated @ConstructorProperties({"isRefreshRequired","parallelism","detailedLogLevel"}) public TerraformAdvancedOptions(Boolean isRefreshRequired, Integer parallelism, TerraformAdvancedOptions.DetailedLogLevel detailedLogLevel)
Deprecated.
-
-
Method Detail
-
builder
public static TerraformAdvancedOptions.Builder builder()
Create a new builder.
-
toBuilder
public TerraformAdvancedOptions.Builder toBuilder()
-
getIsRefreshRequired
public Boolean getIsRefreshRequired()
Specifies whether to refresh the state for each resource before running the job (operation).Refreshing the state can affect performance. Consider setting to false if the configuration includes several resources. Used with the following operations: PLAN, APPLY, DESTROY.
- Returns:
- the value
-
getParallelism
public Integer getParallelism()
Limits the number of concurrent Terraform operations when walking the graph.Use this parameter to help debug Terraform issues or to accomplish certain special use cases. A higher value might cause resources to be throttled. Used with the following operations: PLAN, APPLY, DESTROY.
- Returns:
- the value
-
getDetailedLogLevel
public TerraformAdvancedOptions.DetailedLogLevel getDetailedLogLevel()
Enables detailed logs at the specified verbosity for running the job (operation).- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-