Package com.oracle.bmc.dataflow.model
Class ApplicationSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.dataflow.model.ApplicationSummary.Builder
-
- Enclosing class:
- ApplicationSummary
public static class ApplicationSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApplicationSummary
build()
ApplicationSummary.Builder
compartmentId(String compartmentId)
The OCID of a compartment.ApplicationSummary.Builder
copy(ApplicationSummary model)
ApplicationSummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.ApplicationSummary.Builder
displayName(String displayName)
A user-friendly name.ApplicationSummary.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.ApplicationSummary.Builder
id(String id)
The application ID.ApplicationSummary.Builder
language(ApplicationLanguage language)
The Spark language.ApplicationSummary.Builder
lifecycleState(ApplicationLifecycleState lifecycleState)
The current state of this application.ApplicationSummary.Builder
ownerPrincipalId(String ownerPrincipalId)
The OCID of the user who created the resource.ApplicationSummary.Builder
ownerUserName(String ownerUserName)
The username of the user who created the resource.ApplicationSummary.Builder
poolId(String poolId)
The OCID of a pool.ApplicationSummary.Builder
sparkVersion(String sparkVersion)
The Spark version utilized to run the application.ApplicationSummary.Builder
timeCreated(Date timeCreated)
The date and time the resource was created, expressed in RFC 3339 timestamp format.ApplicationSummary.Builder
timeUpdated(Date timeUpdated)
The date and time the resource was updated, expressed in RFC 3339 timestamp format.ApplicationSummary.Builder
type(ApplicationType type)
The Spark application processing type.
-
-
-
Method Detail
-
compartmentId
public ApplicationSummary.Builder compartmentId(String compartmentId)
The OCID of a compartment.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
definedTags
public ApplicationSummary.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 ApplicationSummary.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 ApplicationSummary.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 ApplicationSummary.Builder id(String id)
The application ID.- Parameters:
id
- the value to set- Returns:
- this builder
-
language
public ApplicationSummary.Builder language(ApplicationLanguage language)
The Spark language.- Parameters:
language
- the value to set- Returns:
- this builder
-
lifecycleState
public ApplicationSummary.Builder lifecycleState(ApplicationLifecycleState lifecycleState)
The current state of this application.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
ownerPrincipalId
public ApplicationSummary.Builder ownerPrincipalId(String ownerPrincipalId)
The OCID of the user who created the resource.- Parameters:
ownerPrincipalId
- the value to set- Returns:
- this builder
-
ownerUserName
public ApplicationSummary.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 ApplicationSummary.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
-
sparkVersion
public ApplicationSummary.Builder sparkVersion(String sparkVersion)
The Spark version utilized to run the application.- Parameters:
sparkVersion
- the value to set- Returns:
- this builder
-
timeCreated
public ApplicationSummary.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 ApplicationSummary.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 ApplicationSummary.Builder type(ApplicationType type)
The Spark application processing type.- Parameters:
type
- the value to set- Returns:
- this builder
-
build
public ApplicationSummary build()
-
copy
public ApplicationSummary.Builder copy(ApplicationSummary model)
-
-