public static class RunSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
RunSummary.Builder |
applicationId(String applicationId)
The application ID.
|
RunSummary |
build() |
RunSummary.Builder |
compartmentId(String compartmentId)
The OCID of a compartment.
|
RunSummary.Builder |
copy(RunSummary model) |
RunSummary.Builder |
dataReadInBytes(Long dataReadInBytes)
The data read by the run in bytes.
|
RunSummary.Builder |
dataWrittenInBytes(Long dataWrittenInBytes)
The data written by the run in bytes.
|
RunSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
RunSummary.Builder |
displayName(String displayName)
A user-friendly name.
|
RunSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
RunSummary.Builder |
id(String id)
The ID of a run.
|
RunSummary.Builder |
language(ApplicationLanguage language)
The Spark language.
|
RunSummary.Builder |
lifecycleDetails(String lifecycleDetails)
The detailed messages about the lifecycle state.
|
RunSummary.Builder |
lifecycleState(RunLifecycleState lifecycleState)
The current state of this run.
|
RunSummary.Builder |
opcRequestId(String opcRequestId)
Unique Oracle assigned identifier for the request.
|
RunSummary.Builder |
ownerPrincipalId(String ownerPrincipalId)
The OCID of the user who created the resource.
|
RunSummary.Builder |
ownerUserName(String ownerUserName)
The username of the user who created the resource.
|
RunSummary.Builder |
poolId(String poolId)
The OCID of a pool.
|
RunSummary.Builder |
runDurationInMilliseconds(Long runDurationInMilliseconds)
The duration of the run in milliseconds.
|
RunSummary.Builder |
timeCreated(Date timeCreated)
The date and time the resource was created, expressed in RFC
3339 timestamp format.
|
RunSummary.Builder |
timeUpdated(Date timeUpdated)
The date and time the resource was updated, expressed in RFC
3339 timestamp format.
|
RunSummary.Builder |
totalOCpu(Integer totalOCpu)
The total number of oCPU requested by the run.
|
RunSummary.Builder |
type(ApplicationType type)
The Spark application processing type.
|
public RunSummary.Builder applicationId(String applicationId)
The application ID.
applicationId
- the value to setpublic RunSummary.Builder compartmentId(String compartmentId)
The OCID of a compartment.
compartmentId
- the value to setpublic RunSummary.Builder dataReadInBytes(Long dataReadInBytes)
The data read by the run in bytes.
dataReadInBytes
- the value to setpublic RunSummary.Builder dataWrittenInBytes(Long dataWrittenInBytes)
The data written by the run in bytes.
dataWrittenInBytes
- the value to setpublic RunSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace. For
more information, see Resource
Tags.
Example: {"Operations": {"CostCenter": "42"}}
definedTags
- the value to setpublic RunSummary.Builder displayName(String displayName)
A user-friendly name. This name is not necessarily unique.
displayName
- the value to setpublic RunSummary.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined
name, type, or namespace. For more information, see Resource
Tags.
Example: {"Department": "Finance"}
freeformTags
- the value to setpublic RunSummary.Builder id(String id)
The ID of a run.
id
- the value to setpublic RunSummary.Builder language(ApplicationLanguage language)
The Spark language.
language
- the value to setpublic RunSummary.Builder lifecycleDetails(String lifecycleDetails)
The detailed messages about the lifecycle state.
lifecycleDetails
- the value to setpublic RunSummary.Builder lifecycleState(RunLifecycleState lifecycleState)
The current state of this run.
lifecycleState
- the value to setpublic RunSummary.Builder opcRequestId(String opcRequestId)
Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
opcRequestId
- the value to setpublic RunSummary.Builder ownerPrincipalId(String ownerPrincipalId)
The OCID of the user who created the resource.
ownerPrincipalId
- the value to setpublic RunSummary.Builder ownerUserName(String ownerUserName)
The username of the user who created the resource. If the username of the owner does not
exist, null
will be returned and the caller should refer to the ownerPrincipalId
value instead.
ownerUserName
- the value to setpublic RunSummary.Builder poolId(String poolId)
The OCID of a pool. Unique Id to indentify a dataflow pool resource.
poolId
- the value to setpublic RunSummary.Builder runDurationInMilliseconds(Long runDurationInMilliseconds)
The duration of the run in milliseconds.
runDurationInMilliseconds
- the value to setpublic RunSummary.Builder totalOCpu(Integer totalOCpu)
The total number of oCPU requested by the run.
totalOCpu
- the value to setpublic RunSummary.Builder timeCreated(Date timeCreated)
The date and time the resource was created, expressed in RFC
3339 timestamp format. Example: 2018-04-03T21:10:29.600Z
timeCreated
- the value to setpublic RunSummary.Builder timeUpdated(Date timeUpdated)
The date and time the resource was updated, expressed in RFC
3339 timestamp format. Example: 2018-04-03T21:10:29.600Z
timeUpdated
- the value to setpublic RunSummary.Builder type(ApplicationType type)
The Spark application processing type.
type
- the value to setpublic RunSummary build()
public RunSummary.Builder copy(RunSummary model)
Copyright © 2016–2024. All rights reserved.