@Generated(value="OracleSDKGenerator", comments="API Version: 20180917") public final class CreateApplyRollbackJobOperationDetails extends CreateJobOperationDetails
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 CreateApplyRollbackJobOperationDetails.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 CreateApplyRollbackJobOperationDetails.Builder
, which maintain a
set of all explicitly set fields called ExplicitlySetBmcModel.__explicitlySet__
. The hashCode()
and
equals(Object)
methods are implemented to take ExplicitlySetBmcModel.__explicitlySet__
into account.
The constructor, on the other hand, does not set ExplicitlySetBmcModel.__explicitlySet__
(since the
constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
CreateApplyRollbackJobOperationDetails.Builder |
Constructor and Description |
---|
CreateApplyRollbackJobOperationDetails(Boolean isProviderUpgradeRequired,
TerraformAdvancedOptions terraformAdvancedOptions,
ApplyRollbackJobOperationDetails.ExecutionPlanRollbackStrategy executionPlanRollbackStrategy,
String executionPlanRollbackJobId,
String targetRollbackJobId)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static CreateApplyRollbackJobOperationDetails.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() |
CreateApplyRollbackJobOperationDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
getIsProviderUpgradeRequired
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public CreateApplyRollbackJobOperationDetails(Boolean isProviderUpgradeRequired, TerraformAdvancedOptions terraformAdvancedOptions, ApplyRollbackJobOperationDetails.ExecutionPlanRollbackStrategy executionPlanRollbackStrategy, String executionPlanRollbackJobId, String targetRollbackJobId)
public static CreateApplyRollbackJobOperationDetails.Builder builder()
Create a new builder.
public CreateApplyRollbackJobOperationDetails.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 job.
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 CreateJobOperationDetails
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class CreateJobOperationDetails
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class CreateJobOperationDetails
public int hashCode()
hashCode
in class CreateJobOperationDetails
Copyright © 2016–2023. All rights reserved.