Package com.oracle.bmc.devops.model
Class ApprovalAction.Builder
- java.lang.Object
-
- com.oracle.bmc.devops.model.ApprovalAction.Builder
-
- Enclosing class:
- ApprovalAction
public static class ApprovalAction.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApprovalAction.Builderaction(ApprovalAction.Action action)The action of the user on the DevOps deployment stage.ApprovalActionbuild()ApprovalAction.Buildercopy(ApprovalAction model)ApprovalAction.Builderreason(String reason)The reason for approving or rejecting the deployment.ApprovalAction.BuildersubjectId(String subjectId)The subject ID of the user who approves or disapproves a DevOps deployment stage.
-
-
-
Method Detail
-
subjectId
public ApprovalAction.Builder subjectId(String subjectId)
The subject ID of the user who approves or disapproves a DevOps deployment stage.- Parameters:
subjectId- the value to set- Returns:
- this builder
-
action
public ApprovalAction.Builder action(ApprovalAction.Action action)
The action of the user on the DevOps deployment stage.- Parameters:
action- the value to set- Returns:
- this builder
-
reason
public ApprovalAction.Builder reason(String reason)
The reason for approving or rejecting the deployment.- Parameters:
reason- the value to set- Returns:
- this builder
-
build
public ApprovalAction build()
-
copy
public ApprovalAction.Builder copy(ApprovalAction model)
-
-