Class ApplyRollbackJobOperationDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.resourcemanager.model.JobOperationDetails
-
- com.oracle.bmc.resourcemanager.model.ApplyRollbackJobOperationDetails
-
@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 theApplyRollbackJobOperationDetails.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 theApplyRollbackJobOperationDetails.Builder
, which maintain a set of all explicitly set fields calledApplyRollbackJobOperationDetails.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
ApplyRollbackJobOperationDetails.Builder
static class
ApplyRollbackJobOperationDetails.ExecutionPlanRollbackStrategy
Specifies the source of the execution plan for rollback to apply.
-
Constructor Summary
Constructors Constructor Description ApplyRollbackJobOperationDetails(TerraformAdvancedOptions terraformAdvancedOptions, ApplyRollbackJobOperationDetails.ExecutionPlanRollbackStrategy executionPlanRollbackStrategy, String executionPlanRollbackJobId, String targetRollbackJobId)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Constructor Detail
-
ApplyRollbackJobOperationDetails
@Deprecated public ApplyRollbackJobOperationDetails(TerraformAdvancedOptions terraformAdvancedOptions, ApplyRollbackJobOperationDetails.ExecutionPlanRollbackStrategy executionPlanRollbackStrategy, String executionPlanRollbackJobId, String targetRollbackJobId)
Deprecated.
-
-
Method Detail
-
builder
public static ApplyRollbackJobOperationDetails.Builder builder()
Create a new builder.
-
toBuilder
public ApplyRollbackJobOperationDetails.Builder toBuilder()
-
getTerraformAdvancedOptions
public TerraformAdvancedOptions getTerraformAdvancedOptions()
-
getExecutionPlanRollbackStrategy
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.
- Returns:
- the value
-
getExecutionPlanRollbackJobId
public String getExecutionPlanRollbackJobId()
The OCID of a plan rollback job, for use when specifying “FROM_PLAN_ROLLBACK_JOB_ID” as the executionPlanRollbackStrategy.- Returns:
- the value
-
getTargetRollbackJobId
public String getTargetRollbackJobId()
The OCID of a successful apply job, for use when specifying “AUTO_APPROVED” as the executionPlanRollbackStrategy.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classJobOperationDetails
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toString
in classJobOperationDetails
- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classJobOperationDetails
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classJobOperationDetails
-
-