Package com.oracle.bmc.dataflow.model
Class RunSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.dataflow.model.RunSummary.Builder
-
- Enclosing class:
- RunSummary
public static class RunSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
applicationId
public RunSummary.Builder applicationId(String applicationId)
The application ID.- Parameters:
applicationId
- the value to set- Returns:
- this builder
-
compartmentId
public RunSummary.Builder compartmentId(String compartmentId)
The OCID of a compartment.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
dataReadInBytes
public RunSummary.Builder dataReadInBytes(Long dataReadInBytes)
The data read by the run in bytes.- Parameters:
dataReadInBytes
- the value to set- Returns:
- this builder
-
dataWrittenInBytes
public RunSummary.Builder dataWrittenInBytes(Long dataWrittenInBytes)
The data written by the run in bytes.- Parameters:
dataWrittenInBytes
- the value to set- Returns:
- this builder
-
definedTags
public 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”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
displayName
public RunSummary.Builder displayName(String displayName)
A user-friendly name.This name is not necessarily unique.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
freeformTags
public 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”}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
id
public RunSummary.Builder id(String id)
The ID of a run.- Parameters:
id
- the value to set- Returns:
- this builder
-
language
public RunSummary.Builder language(ApplicationLanguage language)
The Spark language.- Parameters:
language
- the value to set- Returns:
- this builder
-
lifecycleDetails
public RunSummary.Builder lifecycleDetails(String lifecycleDetails)
The detailed messages about the lifecycle state.- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
lifecycleState
public RunSummary.Builder lifecycleState(RunLifecycleState lifecycleState)
The current state of this run.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
opcRequestId
public 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.
- Parameters:
opcRequestId
- the value to set- Returns:
- this builder
-
ownerPrincipalId
public RunSummary.Builder ownerPrincipalId(String ownerPrincipalId)
The OCID of the user who created the resource.- Parameters:
ownerPrincipalId
- the value to set- Returns:
- this builder
-
ownerUserName
public 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.
- Parameters:
ownerUserName
- the value to set- Returns:
- this builder
-
poolId
public RunSummary.Builder poolId(String poolId)
The OCID of a pool.Unique Id to indentify a dataflow pool resource.
- Parameters:
poolId
- the value to set- Returns:
- this builder
-
runDurationInMilliseconds
public RunSummary.Builder runDurationInMilliseconds(Long runDurationInMilliseconds)
The duration of the run in milliseconds.- Parameters:
runDurationInMilliseconds
- the value to set- Returns:
- this builder
-
totalOCpu
public RunSummary.Builder totalOCpu(Integer totalOCpu)
The total number of oCPU requested by the run.- Parameters:
totalOCpu
- the value to set- Returns:
- this builder
-
timeCreated
public 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
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public 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
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
type
public RunSummary.Builder type(ApplicationType type)
The Spark application processing type.- Parameters:
type
- the value to set- Returns:
- this builder
-
build
public RunSummary build()
-
copy
public RunSummary.Builder copy(RunSummary model)
-
-