Package com.oracle.bmc.devops.model
Class Reviewer.Builder
- java.lang.Object
-
- com.oracle.bmc.devops.model.Reviewer.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Reviewer
build()
Reviewer.Builder
copy(Reviewer model)
Reviewer.Builder
principalId(String principalId)
Pull Request reviewer idReviewer.Builder
principalName(String principalName)
the name of the principalReviewer.Builder
principalState(Reviewer.PrincipalState principalState)
The state of the principal, it can be active or inactive or suppressed for emailsReviewer.Builder
principalType(Reviewer.PrincipalType principalType)
the type of principalReviewer.Builder
status(Reviewer.Status status)
The current state of the Review.
-
-
-
Method Detail
-
principalId
public Reviewer.Builder principalId(String principalId)
Pull Request reviewer id- Parameters:
principalId
- the value to set- Returns:
- this builder
-
principalName
public Reviewer.Builder principalName(String principalName)
the name of the principal- Parameters:
principalName
- the value to set- Returns:
- this builder
-
principalType
public Reviewer.Builder principalType(Reviewer.PrincipalType principalType)
the type of principal- Parameters:
principalType
- the value to set- Returns:
- this builder
-
principalState
public Reviewer.Builder principalState(Reviewer.PrincipalState principalState)
The state of the principal, it can be active or inactive or suppressed for emails- Parameters:
principalState
- the value to set- Returns:
- this builder
-
status
public Reviewer.Builder status(Reviewer.Status status)
The current state of the Review.- Parameters:
status
- the value to set- Returns:
- this builder
-
build
public Reviewer build()
-
copy
public Reviewer.Builder copy(Reviewer model)
-
-