Package com.oracle.bmc.devops.model
Class DeployPipeline.Builder
- java.lang.Object
-
- com.oracle.bmc.devops.model.DeployPipeline.Builder
-
- Enclosing class:
- DeployPipeline
public static class DeployPipeline.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeployPipeline
build()
DeployPipeline.Builder
compartmentId(String compartmentId)
The OCID of the compartment where the pipeline is created.DeployPipeline.Builder
copy(DeployPipeline model)
DeployPipeline.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.DeployPipeline.Builder
deployPipelineArtifacts(DeployPipelineArtifactCollection deployPipelineArtifacts)
DeployPipeline.Builder
deployPipelineEnvironments(DeployPipelineEnvironmentCollection deployPipelineEnvironments)
DeployPipeline.Builder
deployPipelineParameters(DeployPipelineParameterCollection deployPipelineParameters)
DeployPipeline.Builder
description(String description)
Optional description about the deployment pipeline.DeployPipeline.Builder
displayName(String displayName)
Deployment pipeline display name, which can be renamed and is not necessarily unique.DeployPipeline.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.DeployPipeline.Builder
id(String id)
Unique identifier that is immutable on creation.DeployPipeline.Builder
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.DeployPipeline.Builder
lifecycleState(DeployPipeline.LifecycleState lifecycleState)
The current state of the deployment pipeline.DeployPipeline.Builder
projectId(String projectId)
The OCID of a project.DeployPipeline.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.DeployPipeline.Builder
timeCreated(Date timeCreated)
Time the deployment pipeline was created.DeployPipeline.Builder
timeUpdated(Date timeUpdated)
Time the deployment pipeline was updated.
-
-
-
Method Detail
-
id
public DeployPipeline.Builder id(String id)
Unique identifier that is immutable on creation.- Parameters:
id
- the value to set- Returns:
- this builder
-
description
public DeployPipeline.Builder description(String description)
Optional description about the deployment pipeline.- Parameters:
description
- the value to set- Returns:
- this builder
-
displayName
public DeployPipeline.Builder displayName(String displayName)
Deployment pipeline display name, which can be renamed and is not necessarily unique.Avoid entering confidential information.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
projectId
public DeployPipeline.Builder projectId(String projectId)
The OCID of a project.- Parameters:
projectId
- the value to set- Returns:
- this builder
-
compartmentId
public DeployPipeline.Builder compartmentId(String compartmentId)
The OCID of the compartment where the pipeline is created.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
deployPipelineArtifacts
public DeployPipeline.Builder deployPipelineArtifacts(DeployPipelineArtifactCollection deployPipelineArtifacts)
-
deployPipelineEnvironments
public DeployPipeline.Builder deployPipelineEnvironments(DeployPipelineEnvironmentCollection deployPipelineEnvironments)
-
timeCreated
public DeployPipeline.Builder timeCreated(Date timeCreated)
Time the deployment pipeline was created.Format defined by RFC3339.
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public DeployPipeline.Builder timeUpdated(Date timeUpdated)
Time the deployment pipeline was updated.Format defined by RFC3339.
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
lifecycleState
public DeployPipeline.Builder lifecycleState(DeployPipeline.LifecycleState lifecycleState)
The current state of the deployment pipeline.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public DeployPipeline.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
-
deployPipelineParameters
public DeployPipeline.Builder deployPipelineParameters(DeployPipelineParameterCollection deployPipelineParameters)
-
freeformTags
public DeployPipeline.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.Exists for cross-compatibility only. See Resource Tags. Example: {“bar-key”: “value”}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public DeployPipeline.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: {“foo-namespace”: {“bar-key”: “value”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
systemTags
public DeployPipeline.Builder systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.These predefined keys are scoped to namespaces. See Resource Tags. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
- Parameters:
systemTags
- the value to set- Returns:
- this builder
-
build
public DeployPipeline build()
-
copy
public DeployPipeline.Builder copy(DeployPipeline model)
-
-