public static class BuildPipeline.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
BuildPipeline |
build() |
BuildPipeline.Builder |
buildPipelineParameters(BuildPipelineParameterCollection buildPipelineParameters) |
BuildPipeline.Builder |
compartmentId(String compartmentId)
The OCID of the compartment where the build pipeline is created.
|
BuildPipeline.Builder |
copy(BuildPipeline model) |
BuildPipeline.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
BuildPipeline.Builder |
description(String description)
Optional description about the build pipeline.
|
BuildPipeline.Builder |
displayName(String displayName)
Build pipeline display name, which can be renamed and is not necessarily unique.
|
BuildPipeline.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
BuildPipeline.Builder |
id(String id)
Unique identifier that is immutable on creation.
|
BuildPipeline.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.
|
BuildPipeline.Builder |
lifecycleState(BuildPipeline.LifecycleState lifecycleState)
The current state of the build pipeline.
|
BuildPipeline.Builder |
projectId(String projectId)
The OCID of the DevOps project.
|
BuildPipeline.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
|
BuildPipeline.Builder |
timeCreated(Date timeCreated)
The time the build pipeline was created.
|
BuildPipeline.Builder |
timeUpdated(Date timeUpdated)
The time the build pipeline was updated.
|
public BuildPipeline.Builder id(String id)
Unique identifier that is immutable on creation.
id
- the value to setpublic BuildPipeline.Builder description(String description)
Optional description about the build pipeline.
description
- the value to setpublic BuildPipeline.Builder displayName(String displayName)
Build pipeline display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
displayName
- the value to setpublic BuildPipeline.Builder compartmentId(String compartmentId)
The OCID of the compartment where the build pipeline is created.
compartmentId
- the value to setpublic BuildPipeline.Builder projectId(String projectId)
The OCID of the DevOps project.
projectId
- the value to setpublic BuildPipeline.Builder timeCreated(Date timeCreated)
The time the build pipeline was created. Format defined by RFC3339.
timeCreated
- the value to setpublic BuildPipeline.Builder timeUpdated(Date timeUpdated)
The time the build pipeline was updated. Format defined by RFC3339.
timeUpdated
- the value to setpublic BuildPipeline.Builder lifecycleState(BuildPipeline.LifecycleState lifecycleState)
The current state of the build pipeline.
lifecycleState
- the value to setpublic BuildPipeline.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.
lifecycleDetails
- the value to setpublic BuildPipeline.Builder buildPipelineParameters(BuildPipelineParameterCollection buildPipelineParameters)
public BuildPipeline.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"}
freeformTags
- the value to setpublic BuildPipeline.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"}}
definedTags
- the value to setpublic BuildPipeline.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"}}
systemTags
- the value to setpublic BuildPipeline build()
public BuildPipeline.Builder copy(BuildPipeline model)
Copyright © 2016–2024. All rights reserved.