Package com.oracle.bmc.identity.model
Class IamWorkRequest.Builder
- java.lang.Object
- 
- com.oracle.bmc.identity.model.IamWorkRequest.Builder
 
- 
- Enclosing class:
- IamWorkRequest
 
 public static class IamWorkRequest.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description IamWorkRequestbuild()IamWorkRequest.BuildercompartmentId(String compartmentId)The OCID of the compartment containing this IAM work request.IamWorkRequest.Buildercopy(IamWorkRequest model)IamWorkRequest.Builderid(String id)The OCID of the work request.IamWorkRequest.BuilderoperationType(IamWorkRequest.OperationType operationType)The asynchronous operation tracked by this IAM work request.IamWorkRequest.BuilderpercentComplete(Float percentComplete)How much progress the operation has made.IamWorkRequest.Builderresources(List<IamWorkRequestResource> resources)The resources this work request affects.IamWorkRequest.Builderstatus(IamWorkRequest.Status status)The status of the work request.IamWorkRequest.BuildertimeAccepted(Date timeAccepted)Date and time the work was accepted, in the format defined by RFC3339.IamWorkRequest.BuildertimeFinished(Date timeFinished)Date and time the work completed, in the format defined by RFC3339.IamWorkRequest.BuildertimeStarted(Date timeStarted)Date and time the work started, in the format defined by RFC3339.
 
- 
- 
- 
Method Detail- 
idpublic IamWorkRequest.Builder id(String id) The OCID of the work request.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
operationTypepublic IamWorkRequest.Builder operationType(IamWorkRequest.OperationType operationType) The asynchronous operation tracked by this IAM work request.- Parameters:
- operationType- the value to set
- Returns:
- this builder
 
 - 
statuspublic IamWorkRequest.Builder status(IamWorkRequest.Status status) The status of the work request.- Parameters:
- status- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic IamWorkRequest.Builder compartmentId(String compartmentId) The OCID of the compartment containing this IAM work request.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
resourcespublic IamWorkRequest.Builder resources(List<IamWorkRequestResource> resources) The resources this work request affects.- Parameters:
- resources- the value to set
- Returns:
- this builder
 
 - 
percentCompletepublic IamWorkRequest.Builder percentComplete(Float percentComplete) How much progress the operation has made.- Parameters:
- percentComplete- the value to set
- Returns:
- this builder
 
 - 
timeAcceptedpublic IamWorkRequest.Builder timeAccepted(Date timeAccepted) Date and time the work was accepted, in the format defined by RFC3339.Example: 2016-08-25T21:10:29.600Z - Parameters:
- timeAccepted- the value to set
- Returns:
- this builder
 
 - 
timeStartedpublic IamWorkRequest.Builder timeStarted(Date timeStarted) Date and time the work started, in the format defined by RFC3339.Example: 2016-08-25T21:10:29.600Z - Parameters:
- timeStarted- the value to set
- Returns:
- this builder
 
 - 
timeFinishedpublic IamWorkRequest.Builder timeFinished(Date timeFinished) Date and time the work completed, in the format defined by RFC3339.Example: 2016-08-25T21:10:29.600Z - Parameters:
- timeFinished- the value to set
- Returns:
- this builder
 
 - 
buildpublic IamWorkRequest build() 
 - 
copypublic IamWorkRequest.Builder copy(IamWorkRequest model) 
 
- 
 
-