Class CreateApplyRollbackJobOperationDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.resourcemanager.model.CreateJobOperationDetails
-
- com.oracle.bmc.resourcemanager.model.CreateApplyRollbackJobOperationDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20180917") public final class CreateApplyRollbackJobOperationDetails extends CreateJobOperationDetailsJob 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 theCreateApplyRollbackJobOperationDetails.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 theCreateApplyRollbackJobOperationDetails.Builder, which maintain a set of all explicitly set fields calledCreateApplyRollbackJobOperationDetails.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 classCreateApplyRollbackJobOperationDetails.Builder
-
Constructor Summary
Constructors Constructor Description CreateApplyRollbackJobOperationDetails(Boolean isProviderUpgradeRequired, 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 CreateApplyRollbackJobOperationDetails.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetExecutionPlanRollbackJobId()The OCID of a plan rollback job, for use when specifying “FROM_PLAN_ROLLBACK_JOB_ID” as the executionPlanRollbackStrategy.ApplyRollbackJobOperationDetails.ExecutionPlanRollbackStrategygetExecutionPlanRollbackStrategy()Specifies the source of the execution plan for rollback to apply.StringgetTargetRollbackJobId()The OCID of a successful apply job, for use when specifying “AUTO_APPROVED” as the executionPlanRollbackStrategy.TerraformAdvancedOptionsgetTerraformAdvancedOptions()inthashCode()CreateApplyRollbackJobOperationDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.-
Methods inherited from class com.oracle.bmc.resourcemanager.model.CreateJobOperationDetails
getIsProviderUpgradeRequired
-
-
-
-
Constructor Detail
-
CreateApplyRollbackJobOperationDetails
@Deprecated public CreateApplyRollbackJobOperationDetails(Boolean isProviderUpgradeRequired, TerraformAdvancedOptions terraformAdvancedOptions, ApplyRollbackJobOperationDetails.ExecutionPlanRollbackStrategy executionPlanRollbackStrategy, String executionPlanRollbackJobId, String targetRollbackJobId)
Deprecated.
-
-
Method Detail
-
builder
public static CreateApplyRollbackJobOperationDetails.Builder builder()
Create a new builder.
-
toBuilder
public CreateApplyRollbackJobOperationDetails.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 job.
- 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:
toStringin classCreateJobOperationDetails
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toStringin classCreateJobOperationDetails- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classCreateJobOperationDetails
-
hashCode
public int hashCode()
- Overrides:
hashCodein classCreateJobOperationDetails
-
-