public static class WorkRequest.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
WorkRequest |
build() |
WorkRequest.Builder |
compartmentId(String compartmentId)
The OCID of the
compartment containing the load balancer.
|
WorkRequest.Builder |
copy(WorkRequest model) |
WorkRequest.Builder |
errorDetails(List<WorkRequestError> errorDetails) |
WorkRequest.Builder |
id(String id)
The OCID of the
work request.
|
WorkRequest.Builder |
lifecycleState(WorkRequest.LifecycleState lifecycleState)
The current state of the work request.
|
WorkRequest.Builder |
loadBalancerId(String loadBalancerId)
The OCID of the
load balancer with which the work request is associated.
|
WorkRequest.Builder |
message(String message)
A collection of data, related to the load balancer provisioning process, that helps with
debugging in the event of failure.
|
WorkRequest.Builder |
timeAccepted(Date timeAccepted)
The date and time the work request was created, in the format defined by RFC3339.
|
WorkRequest.Builder |
timeFinished(Date timeFinished)
The date and time the work request was completed, in the format defined by RFC3339.
|
WorkRequest.Builder |
type(String type)
The type of action the work request represents.
|
public WorkRequest.Builder id(String id)
The OCID of the work request.
id
- the value to setpublic WorkRequest.Builder loadBalancerId(String loadBalancerId)
The OCID of the load balancer with which the work request is associated.
loadBalancerId
- the value to setpublic WorkRequest.Builder type(String type)
The type of action the work request represents.
Example: CreateListener
type
- the value to setpublic WorkRequest.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the load balancer.
compartmentId
- the value to setpublic WorkRequest.Builder lifecycleState(WorkRequest.LifecycleState lifecycleState)
The current state of the work request.
lifecycleState
- the value to setpublic WorkRequest.Builder message(String message)
A collection of data, related to the load balancer provisioning process, that helps with debugging in the event of failure. Possible data elements include:
- workflow name - event ID - work request ID - load balancer ID - workflow completion message
message
- the value to setpublic WorkRequest.Builder timeAccepted(Date timeAccepted)
The date and time the work request was created, in the format defined by RFC3339.
Example: 2016-08-25T21:10:29.600Z
timeAccepted
- the value to setpublic WorkRequest.Builder timeFinished(Date timeFinished)
The date and time the work request was completed, in the format defined by RFC3339.
Example: 2016-08-25T21:10:29.600Z
timeFinished
- the value to setpublic WorkRequest.Builder errorDetails(List<WorkRequestError> errorDetails)
public WorkRequest build()
public WorkRequest.Builder copy(WorkRequest model)
Copyright © 2016–2024. All rights reserved.