public static class DrPlanStep.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DrPlanStep |
build() |
DrPlanStep.Builder |
copy(DrPlanStep model) |
DrPlanStep.Builder |
displayName(String displayName)
The display name of the group.
|
DrPlanStep.Builder |
errorMode(DrPlanStepErrorMode errorMode)
The error mode for this step.
|
DrPlanStep.Builder |
groupId(String groupId)
The unique id of the group to which this step belongs.
|
DrPlanStep.Builder |
id(String id)
The unique id of the step.
|
DrPlanStep.Builder |
isEnabled(Boolean isEnabled)
A flag indicating whether this step should be enabled for execution.
|
DrPlanStep.Builder |
memberId(String memberId)
The OCID of the member associated with this step.
|
DrPlanStep.Builder |
refreshStatus(DrPlanStepRefreshStatus refreshStatus)
The DR plan step refresh status.
|
DrPlanStep.Builder |
timeout(Integer timeout)
The timeout in seconds for executing this step.
|
DrPlanStep.Builder |
type(DrPlanStepType type)
The plan step type.
|
DrPlanStep.Builder |
userDefinedStep(DrPlanUserDefinedStep userDefinedStep) |
public DrPlanStep.Builder id(String id)
The unique id of the step. Must not be modified by the user.
Example: sgid1.step..uniqueID
id
- the value to setpublic DrPlanStep.Builder groupId(String groupId)
The unique id of the group to which this step belongs. Must not be modified by user.
Example: sgid1.group..uniqueID
groupId
- the value to setpublic DrPlanStep.Builder memberId(String memberId)
The OCID of the member associated with this step.
Example: ocid1.database.oc1..uniqueID
memberId
- the value to setpublic DrPlanStep.Builder type(DrPlanStepType type)
The plan step type.
type
- the value to setpublic DrPlanStep.Builder refreshStatus(DrPlanStepRefreshStatus refreshStatus)
The DR plan step refresh status.
Example: STEP_ADDED
refreshStatus
- the value to setpublic DrPlanStep.Builder displayName(String displayName)
The display name of the group.
Example: DATABASE_SWITCHOVER
displayName
- the value to setpublic DrPlanStep.Builder errorMode(DrPlanStepErrorMode errorMode)
The error mode for this step.
errorMode
- the value to setpublic DrPlanStep.Builder timeout(Integer timeout)
The timeout in seconds for executing this step.
Example: 600
timeout
- the value to setpublic DrPlanStep.Builder isEnabled(Boolean isEnabled)
A flag indicating whether this step should be enabled for execution.
Example: true
isEnabled
- the value to setpublic DrPlanStep.Builder userDefinedStep(DrPlanUserDefinedStep userDefinedStep)
public DrPlanStep build()
public DrPlanStep.Builder copy(DrPlanStep model)
Copyright © 2016–2024. All rights reserved.