public static class WorkRequestSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
WorkRequestSummary |
build() |
WorkRequestSummary.Builder |
childrenId(List<String> childrenId)
The list of
OCIDs for
child work requests.
|
WorkRequestSummary.Builder |
compartmentId(String compartmentId)
The OCID
of the compartment that contains the work request.
|
WorkRequestSummary.Builder |
copy(WorkRequestSummary model) |
WorkRequestSummary.Builder |
description(String description)
A short description about the work request.
|
WorkRequestSummary.Builder |
displayName(String displayName)
A short display name for the work request.
|
WorkRequestSummary.Builder |
id(String id)
The OCID
of the work request.
|
WorkRequestSummary.Builder |
isManagedByAutonomousLinux(Boolean isManagedByAutonomousLinux)
Indicates whether this work request is managed by Autonomous Linux
|
WorkRequestSummary.Builder |
message(String message)
A progress or error message, if there is any.
|
WorkRequestSummary.Builder |
operationType(WorkRequestOperationType operationType)
Type of the work request.
|
WorkRequestSummary.Builder |
parentId(String parentId)
The OCID
of the parent work request, if there is any.
|
WorkRequestSummary.Builder |
percentComplete(Float percentComplete)
The percentage complete of the operation tracked by this work request.
|
WorkRequestSummary.Builder |
status(OperationStatus status)
Status of the work request.
|
WorkRequestSummary.Builder |
timeCreated(Date timeCreated)
The date and time the request was created - as described in RFC
3339, section 14.29.
|
WorkRequestSummary.Builder |
timeScheduled(Date timeScheduled)
The scheduled date and time to retry the work request (in RFC
3339 format).
|
public WorkRequestSummary.Builder operationType(WorkRequestOperationType operationType)
Type of the work request.
operationType
- the value to setpublic WorkRequestSummary.Builder status(OperationStatus status)
Status of the work request.
status
- the value to setpublic WorkRequestSummary.Builder id(String id)
The OCID of the work request.
id
- the value to setpublic WorkRequestSummary.Builder description(String description)
A short description about the work request.
description
- the value to setpublic WorkRequestSummary.Builder displayName(String displayName)
A short display name for the work request.
displayName
- the value to setpublic WorkRequestSummary.Builder message(String message)
A progress or error message, if there is any.
message
- the value to setpublic WorkRequestSummary.Builder parentId(String parentId)
The OCID of the parent work request, if there is any.
parentId
- the value to setpublic WorkRequestSummary.Builder childrenId(List<String> childrenId)
The list of OCIDs for child work requests.
childrenId
- the value to setpublic WorkRequestSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the work request. Work requests should be scoped to the same compartment as the resource it affects. If the work request affects multiple resources the different compartments, the services selects the compartment of the primary resource.
compartmentId
- the value to setpublic WorkRequestSummary.Builder percentComplete(Float percentComplete)
The percentage complete of the operation tracked by this work request.
percentComplete
- the value to setpublic WorkRequestSummary.Builder timeCreated(Date timeCreated)
The date and time the request was created - as described in RFC 3339, section 14.29.
timeCreated
- the value to setpublic WorkRequestSummary.Builder timeScheduled(Date timeScheduled)
The scheduled date and time to retry the work request (in RFC 3339 format).
timeScheduled
- the value to setpublic WorkRequestSummary.Builder isManagedByAutonomousLinux(Boolean isManagedByAutonomousLinux)
Indicates whether this work request is managed by Autonomous Linux
isManagedByAutonomousLinux
- the value to setpublic WorkRequestSummary build()
public WorkRequestSummary.Builder copy(WorkRequestSummary model)
Copyright © 2016–2024. All rights reserved.