Package com.oracle.bmc.datascience.model
Class Pipeline.Builder
- java.lang.Object
-
- com.oracle.bmc.datascience.model.Pipeline.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Pipeline
build()
Pipeline.Builder
compartmentId(String compartmentId)
The OCID of the compartment where you want to create the pipeline.Pipeline.Builder
configurationDetails(PipelineConfigurationDetails configurationDetails)
Pipeline.Builder
copy(Pipeline model)
Pipeline.Builder
createdBy(String createdBy)
The OCID of the user who created the pipeline.Pipeline.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Pipeline.Builder
description(String description)
A short description of the pipeline.Pipeline.Builder
displayName(String displayName)
A user-friendly display name for the resource.Pipeline.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.Pipeline.Builder
id(String id)
The OCID of the pipeline.Pipeline.Builder
infrastructureConfigurationDetails(PipelineInfrastructureConfigurationDetails infrastructureConfigurationDetails)
Pipeline.Builder
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.Pipeline.Builder
lifecycleState(PipelineLifecycleState lifecycleState)
The current state of the pipeline.Pipeline.Builder
logConfigurationDetails(PipelineLogConfigurationDetails logConfigurationDetails)
Pipeline.Builder
projectId(String projectId)
The OCID of the project to associate the pipeline with.Pipeline.Builder
stepDetails(List<PipelineStepDetails> stepDetails)
Array of step details for each step.Pipeline.Builder
storageMountConfigurationDetailsList(List<StorageMountConfigurationDetails> storageMountConfigurationDetailsList)
The storage mount details to mount to the instance running the pipeline step.Pipeline.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.Pipeline.Builder
timeCreated(Date timeCreated)
The date and time the resource was created in the timestamp format defined by RFC3339.Pipeline.Builder
timeUpdated(Date timeUpdated)
The date and time the resource was updated in the timestamp format defined by RFC3339.
-
-
-
Method Detail
-
id
public Pipeline.Builder id(String id)
The OCID of the pipeline.- Parameters:
id
- the value to set- Returns:
- this builder
-
timeCreated
public Pipeline.Builder timeCreated(Date timeCreated)
The date and time the resource was created in the timestamp format defined by RFC3339.Example: 2020-08-06T21:10:29.41Z
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public Pipeline.Builder timeUpdated(Date timeUpdated)
The date and time the resource was updated in the timestamp format defined by RFC3339.Example: 2020-08-06T21:10:29.41Z
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
createdBy
public Pipeline.Builder createdBy(String createdBy)
The OCID of the user who created the pipeline.- Parameters:
createdBy
- the value to set- Returns:
- this builder
-
projectId
public Pipeline.Builder projectId(String projectId)
The OCID of the project to associate the pipeline with.- Parameters:
projectId
- the value to set- Returns:
- this builder
-
compartmentId
public Pipeline.Builder compartmentId(String compartmentId)
The OCID of the compartment where you want to create the pipeline.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
displayName
public Pipeline.Builder displayName(String displayName)
A user-friendly display name for the resource.- Parameters:
displayName
- the value to set- Returns:
- this builder
-
description
public Pipeline.Builder description(String description)
A short description of the pipeline.- Parameters:
description
- the value to set- Returns:
- this builder
-
configurationDetails
public Pipeline.Builder configurationDetails(PipelineConfigurationDetails configurationDetails)
-
logConfigurationDetails
public Pipeline.Builder logConfigurationDetails(PipelineLogConfigurationDetails logConfigurationDetails)
-
infrastructureConfigurationDetails
public Pipeline.Builder infrastructureConfigurationDetails(PipelineInfrastructureConfigurationDetails infrastructureConfigurationDetails)
-
storageMountConfigurationDetailsList
public Pipeline.Builder storageMountConfigurationDetailsList(List<StorageMountConfigurationDetails> storageMountConfigurationDetailsList)
The storage mount details to mount to the instance running the pipeline step.- Parameters:
storageMountConfigurationDetailsList
- the value to set- Returns:
- this builder
-
stepDetails
public Pipeline.Builder stepDetails(List<PipelineStepDetails> stepDetails)
Array of step details for each step.- Parameters:
stepDetails
- the value to set- Returns:
- this builder
-
lifecycleState
public Pipeline.Builder lifecycleState(PipelineLifecycleState lifecycleState)
The current state of the pipeline.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public Pipeline.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.For example, can be used to provide actionable information for a resource in ‘Failed’ state.
- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
freeformTags
public Pipeline.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. See Resource Tags. Example: {“Department”: “Finance”}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public Pipeline.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. See Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
systemTags
public Pipeline.Builder systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
- Parameters:
systemTags
- the value to set- Returns:
- this builder
-
build
public Pipeline build()
-
copy
public Pipeline.Builder copy(Pipeline model)
-
-