Package com.oracle.bmc.devops.model
Class OkeHelmChartDeployStageSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.devops.model.OkeHelmChartDeployStageSummary.Builder
-
- Enclosing class:
- OkeHelmChartDeployStageSummary
public static class OkeHelmChartDeployStageSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
id
public OkeHelmChartDeployStageSummary.Builder id(String id)
-
description
public OkeHelmChartDeployStageSummary.Builder description(String description)
-
displayName
public OkeHelmChartDeployStageSummary.Builder displayName(String displayName)
-
projectId
public OkeHelmChartDeployStageSummary.Builder projectId(String projectId)
-
deployPipelineId
public OkeHelmChartDeployStageSummary.Builder deployPipelineId(String deployPipelineId)
-
compartmentId
public OkeHelmChartDeployStageSummary.Builder compartmentId(String compartmentId)
-
timeCreated
public OkeHelmChartDeployStageSummary.Builder timeCreated(Date timeCreated)
-
timeUpdated
public OkeHelmChartDeployStageSummary.Builder timeUpdated(Date timeUpdated)
-
lifecycleState
public OkeHelmChartDeployStageSummary.Builder lifecycleState(DeployStage.LifecycleState lifecycleState)
-
lifecycleDetails
public OkeHelmChartDeployStageSummary.Builder lifecycleDetails(String lifecycleDetails)
-
deployStagePredecessorCollection
public OkeHelmChartDeployStageSummary.Builder deployStagePredecessorCollection(DeployStagePredecessorCollection deployStagePredecessorCollection)
-
freeformTags
public OkeHelmChartDeployStageSummary.Builder freeformTags(Map<String,String> freeformTags)
-
definedTags
public OkeHelmChartDeployStageSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
-
systemTags
public OkeHelmChartDeployStageSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags)
-
okeClusterDeployEnvironmentId
public OkeHelmChartDeployStageSummary.Builder okeClusterDeployEnvironmentId(String okeClusterDeployEnvironmentId)
Kubernetes cluster environment OCID for deployment.- Parameters:
okeClusterDeployEnvironmentId- the value to set- Returns:
- this builder
-
helmChartDeployArtifactId
public OkeHelmChartDeployStageSummary.Builder helmChartDeployArtifactId(String helmChartDeployArtifactId)
Helm chart artifact OCID.- Parameters:
helmChartDeployArtifactId- the value to set- Returns:
- this builder
-
valuesArtifactIds
public OkeHelmChartDeployStageSummary.Builder valuesArtifactIds(List<String> valuesArtifactIds)
List of values.yaml file artifact OCIDs.- Parameters:
valuesArtifactIds- the value to set- Returns:
- this builder
-
releaseName
public OkeHelmChartDeployStageSummary.Builder releaseName(String releaseName)
Release name of the Helm chart.- Parameters:
releaseName- the value to set- Returns:
- this builder
-
isUninstallOnStageDelete
public OkeHelmChartDeployStageSummary.Builder isUninstallOnStageDelete(Boolean isUninstallOnStageDelete)
Uninstall the Helm chart release on deleting the stage.- Parameters:
isUninstallOnStageDelete- the value to set- Returns:
- this builder
-
helmCommandArtifactIds
public OkeHelmChartDeployStageSummary.Builder helmCommandArtifactIds(List<String> helmCommandArtifactIds)
List of Helm command artifact OCIDs.- Parameters:
helmCommandArtifactIds- the value to set- Returns:
- this builder
-
purpose
public OkeHelmChartDeployStageSummary.Builder purpose(OkeHelmChartDeployStageSummary.Purpose purpose)
The purpose of running this Helm stage- Parameters:
purpose- the value to set- Returns:
- this builder
-
namespace
public OkeHelmChartDeployStageSummary.Builder namespace(String namespace)
Default namespace to be used for Kubernetes deployment when not specified in the manifest.- Parameters:
namespace- the value to set- Returns:
- this builder
-
timeoutInSeconds
public OkeHelmChartDeployStageSummary.Builder timeoutInSeconds(Integer timeoutInSeconds)
Time to wait for execution of a helm stage.Defaults to 300 seconds.
- Parameters:
timeoutInSeconds- the value to set- Returns:
- this builder
-
rollbackPolicy
public OkeHelmChartDeployStageSummary.Builder rollbackPolicy(DeployStageRollbackPolicy rollbackPolicy)
-
setValues
public OkeHelmChartDeployStageSummary.Builder setValues(HelmSetValueCollection setValues)
-
setString
public OkeHelmChartDeployStageSummary.Builder setString(HelmSetValueCollection setString)
-
areHooksEnabled
public OkeHelmChartDeployStageSummary.Builder areHooksEnabled(Boolean areHooksEnabled)
Disable pre/post upgrade hooks.- Parameters:
areHooksEnabled- the value to set- Returns:
- this builder
-
shouldReuseValues
public OkeHelmChartDeployStageSummary.Builder shouldReuseValues(Boolean shouldReuseValues)
During upgrade, reuse the values of the last release and merge overrides from the command line.Set to false by default.
- Parameters:
shouldReuseValues- the value to set- Returns:
- this builder
-
shouldResetValues
public OkeHelmChartDeployStageSummary.Builder shouldResetValues(Boolean shouldResetValues)
During upgrade, reset the values to the ones built into the chart.It overrides shouldReuseValues. Set to false by default.
- Parameters:
shouldResetValues- the value to set- Returns:
- this builder
-
isForceEnabled
public OkeHelmChartDeployStageSummary.Builder isForceEnabled(Boolean isForceEnabled)
Force resource update through delete; or if required, recreate.Set to false by default.
- Parameters:
isForceEnabled- the value to set- Returns:
- this builder
-
shouldCleanupOnFail
public OkeHelmChartDeployStageSummary.Builder shouldCleanupOnFail(Boolean shouldCleanupOnFail)
Allow deletion of new resources created during when an upgrade fails.Set to false by default.
- Parameters:
shouldCleanupOnFail- the value to set- Returns:
- this builder
-
maxHistory
public OkeHelmChartDeployStageSummary.Builder maxHistory(Integer maxHistory)
Limit the maximum number of revisions saved per release.Use 0 for no limit. Set to 10 by default
- Parameters:
maxHistory- the value to set- Returns:
- this builder
-
shouldSkipCrds
public OkeHelmChartDeployStageSummary.Builder shouldSkipCrds(Boolean shouldSkipCrds)
If set, no CRDs are installed.By default, CRDs are installed only if they are not present already. Set to false by default.
- Parameters:
shouldSkipCrds- the value to set- Returns:
- this builder
-
shouldSkipRenderSubchartNotes
public OkeHelmChartDeployStageSummary.Builder shouldSkipRenderSubchartNotes(Boolean shouldSkipRenderSubchartNotes)
If set, renders subchart notes along with the parent.Set to false by default.
- Parameters:
shouldSkipRenderSubchartNotes- the value to set- Returns:
- this builder
-
shouldNotWait
public OkeHelmChartDeployStageSummary.Builder shouldNotWait(Boolean shouldNotWait)
Waits until all the resources are in a ready state to mark the release as successful.Set to false by default.
- Parameters:
shouldNotWait- the value to set- Returns:
- this builder
-
isDebugEnabled
public OkeHelmChartDeployStageSummary.Builder isDebugEnabled(Boolean isDebugEnabled)
Enables helm –debug option to stream output.Set to false by default.
- Parameters:
isDebugEnabled- the value to set- Returns:
- this builder
-
build
public OkeHelmChartDeployStageSummary build()
-
copy
public OkeHelmChartDeployStageSummary.Builder copy(OkeHelmChartDeployStageSummary model)
-
-