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 SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description RunSummary.BuilderapplicationId(String applicationId)The application ID.RunSummarybuild()RunSummary.BuildercompartmentId(String compartmentId)The OCID of a compartment.RunSummary.Buildercopy(RunSummary model)RunSummary.BuilderdataReadInBytes(Long dataReadInBytes)The data read by the run in bytes.RunSummary.BuilderdataWrittenInBytes(Long dataWrittenInBytes)The data written by the run in bytes.RunSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.RunSummary.BuilderdisplayName(String displayName)A user-friendly name.RunSummary.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.RunSummary.Builderid(String id)The ID of a run.RunSummary.Builderlanguage(ApplicationLanguage language)The Spark language.RunSummary.BuilderlifecycleDetails(String lifecycleDetails)The detailed messages about the lifecycle state.RunSummary.BuilderlifecycleState(RunLifecycleState lifecycleState)The current state of this run.RunSummary.BuilderopcRequestId(String opcRequestId)Unique Oracle assigned identifier for the request.RunSummary.BuilderownerPrincipalId(String ownerPrincipalId)The OCID of the user who created the resource.RunSummary.BuilderownerUserName(String ownerUserName)The username of the user who created the resource.RunSummary.BuilderpoolId(String poolId)The OCID of a pool.RunSummary.BuilderrunDurationInMilliseconds(Long runDurationInMilliseconds)The duration of the run in milliseconds.RunSummary.BuildertimeCreated(Date timeCreated)The date and time the resource was created, expressed in RFC 3339 timestamp format.RunSummary.BuildertimeUpdated(Date timeUpdated)The date and time the resource was updated, expressed in RFC 3339 timestamp format.RunSummary.BuildertotalOCpu(Integer totalOCpu)The total number of oCPU requested by the run.RunSummary.Buildertype(ApplicationType type)The Spark application processing type.
 
- 
- 
- 
Method Detail- 
applicationIdpublic RunSummary.Builder applicationId(String applicationId) The application ID.- Parameters:
- applicationId- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic RunSummary.Builder compartmentId(String compartmentId) The OCID of a compartment.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
dataReadInBytespublic RunSummary.Builder dataReadInBytes(Long dataReadInBytes) The data read by the run in bytes.- Parameters:
- dataReadInBytes- the value to set
- Returns:
- this builder
 
 - 
dataWrittenInBytespublic RunSummary.Builder dataWrittenInBytes(Long dataWrittenInBytes) The data written by the run in bytes.- Parameters:
- dataWrittenInBytes- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic 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
 
 - 
displayNamepublic RunSummary.Builder displayName(String displayName) A user-friendly name.This name is not necessarily unique. - Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic 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
 
 - 
idpublic RunSummary.Builder id(String id) The ID of a run.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
languagepublic RunSummary.Builder language(ApplicationLanguage language) The Spark language.- Parameters:
- language- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic RunSummary.Builder lifecycleDetails(String lifecycleDetails) The detailed messages about the lifecycle state.- Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic RunSummary.Builder lifecycleState(RunLifecycleState lifecycleState) The current state of this run.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
opcRequestIdpublic 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
 
 - 
ownerPrincipalIdpublic RunSummary.Builder ownerPrincipalId(String ownerPrincipalId) The OCID of the user who created the resource.- Parameters:
- ownerPrincipalId- the value to set
- Returns:
- this builder
 
 - 
ownerUserNamepublic 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
 
 - 
poolIdpublic 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
 
 - 
runDurationInMillisecondspublic RunSummary.Builder runDurationInMilliseconds(Long runDurationInMilliseconds) The duration of the run in milliseconds.- Parameters:
- runDurationInMilliseconds- the value to set
- Returns:
- this builder
 
 - 
totalOCpupublic RunSummary.Builder totalOCpu(Integer totalOCpu) The total number of oCPU requested by the run.- Parameters:
- totalOCpu- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic 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
 
 - 
timeUpdatedpublic 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
 
 - 
typepublic RunSummary.Builder type(ApplicationType type) The Spark application processing type.- Parameters:
- type- the value to set
- Returns:
- this builder
 
 - 
buildpublic RunSummary build() 
 - 
copypublic RunSummary.Builder copy(RunSummary model) 
 
- 
 
-