@Generated(value="OracleSDKGenerator", comments="API Version: 20180917") public final class ApplyRollbackJobOperationDetails extends JobOperationDetails
Job details that are specific to an apply rollback job. For more information about apply rollback
jobs, see Creating an Apply Rollback
Job.
Note: Objects should always be created or deserialized using the ApplyRollbackJobOperationDetails.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 the ApplyRollbackJobOperationDetails.Builder
, which maintain a
set of all explicitly set fields called ApplyRollbackJobOperationDetails.Builder.__explicitlySet__
. The hashCode()
and equals(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
).
Modifier and Type | Class and Description |
---|---|
static class |
ApplyRollbackJobOperationDetails.Builder |
static class |
ApplyRollbackJobOperationDetails.ExecutionPlanRollbackStrategy
Specifies the source of the execution plan for rollback to apply.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
ApplyRollbackJobOperationDetails(TerraformAdvancedOptions terraformAdvancedOptions,
ApplyRollbackJobOperationDetails.ExecutionPlanRollbackStrategy executionPlanRollbackStrategy,
String executionPlanRollbackJobId,
String targetRollbackJobId)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static ApplyRollbackJobOperationDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getExecutionPlanRollbackJobId()
The OCID of a
plan rollback job, for use when specifying
"FROM_PLAN_ROLLBACK_JOB_ID" as the executionPlanRollbackStrategy . |
ApplyRollbackJobOperationDetails.ExecutionPlanRollbackStrategy |
getExecutionPlanRollbackStrategy()
Specifies the source of the execution plan for rollback to apply.
|
String |
getTargetRollbackJobId()
The OCID of a
successful apply job, for use when specifying
"AUTO_APPROVED" as the executionPlanRollbackStrategy . |
TerraformAdvancedOptions |
getTerraformAdvancedOptions() |
int |
hashCode() |
ApplyRollbackJobOperationDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public ApplyRollbackJobOperationDetails(TerraformAdvancedOptions terraformAdvancedOptions, ApplyRollbackJobOperationDetails.ExecutionPlanRollbackStrategy executionPlanRollbackStrategy, String executionPlanRollbackJobId, String targetRollbackJobId)
public static ApplyRollbackJobOperationDetails.Builder builder()
Create a new builder.
public ApplyRollbackJobOperationDetails.Builder toBuilder()
public TerraformAdvancedOptions getTerraformAdvancedOptions()
public ApplyRollbackJobOperationDetails.ExecutionPlanRollbackStrategy getExecutionPlanRollbackStrategy()
Specifies the source of the execution plan for rollback to apply. Use AUTO_APPROVED
to run the job without an execution plan for rollback.
public String getExecutionPlanRollbackJobId()
The OCID of a
plan rollback job, for use when specifying "FROM_PLAN_ROLLBACK_JOB_ID"
as the executionPlanRollbackStrategy
.
public String getTargetRollbackJobId()
The OCID of a
successful apply job, for use when specifying "AUTO_APPROVED"
as the executionPlanRollbackStrategy
.
public String toString()
toString
in class JobOperationDetails
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class JobOperationDetails
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class JobOperationDetails
public int hashCode()
hashCode
in class JobOperationDetails
Copyright © 2016–2024. All rights reserved.