Package com.oracle.bmc.devops.model
Class UpdateOkeHelmChartDeployStageDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.devops.model.UpdateOkeHelmChartDeployStageDetails.Builder
-
- Enclosing class:
- UpdateOkeHelmChartDeployStageDetails
public static class UpdateOkeHelmChartDeployStageDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
description
public UpdateOkeHelmChartDeployStageDetails.Builder description(String description)
-
displayName
public UpdateOkeHelmChartDeployStageDetails.Builder displayName(String displayName)
-
deployStagePredecessorCollection
public UpdateOkeHelmChartDeployStageDetails.Builder deployStagePredecessorCollection(DeployStagePredecessorCollection deployStagePredecessorCollection)
-
freeformTags
public UpdateOkeHelmChartDeployStageDetails.Builder freeformTags(Map<String,String> freeformTags)
-
definedTags
public UpdateOkeHelmChartDeployStageDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
-
okeClusterDeployEnvironmentId
public UpdateOkeHelmChartDeployStageDetails.Builder okeClusterDeployEnvironmentId(String okeClusterDeployEnvironmentId)
Kubernetes cluster environment OCID for deployment.- Parameters:
okeClusterDeployEnvironmentId
- the value to set- Returns:
- this builder
-
helmChartDeployArtifactId
public UpdateOkeHelmChartDeployStageDetails.Builder helmChartDeployArtifactId(String helmChartDeployArtifactId)
Helm chart artifact OCID.- Parameters:
helmChartDeployArtifactId
- the value to set- Returns:
- this builder
-
valuesArtifactIds
public UpdateOkeHelmChartDeployStageDetails.Builder valuesArtifactIds(List<String> valuesArtifactIds)
List of values.yaml file artifact OCIDs.- Parameters:
valuesArtifactIds
- the value to set- Returns:
- this builder
-
releaseName
public UpdateOkeHelmChartDeployStageDetails.Builder releaseName(String releaseName)
Name of the Helm chart release.- Parameters:
releaseName
- the value to set- Returns:
- this builder
-
isUninstallOnStageDelete
public UpdateOkeHelmChartDeployStageDetails.Builder isUninstallOnStageDelete(Boolean isUninstallOnStageDelete)
Uninstall the Helm chart release on deleting the stage.- Parameters:
isUninstallOnStageDelete
- the value to set- Returns:
- this builder
-
helmCommandArtifactIds
public UpdateOkeHelmChartDeployStageDetails.Builder helmCommandArtifactIds(List<String> helmCommandArtifactIds)
List of Helm command artifact OCIDs.- Parameters:
helmCommandArtifactIds
- the value to set- Returns:
- this builder
-
purpose
public UpdateOkeHelmChartDeployStageDetails.Builder purpose(UpdateOkeHelmChartDeployStageDetails.Purpose purpose)
The purpose of running this Helm stage- Parameters:
purpose
- the value to set- Returns:
- this builder
-
namespace
public UpdateOkeHelmChartDeployStageDetails.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 UpdateOkeHelmChartDeployStageDetails.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 UpdateOkeHelmChartDeployStageDetails.Builder rollbackPolicy(DeployStageRollbackPolicy rollbackPolicy)
-
setValues
public UpdateOkeHelmChartDeployStageDetails.Builder setValues(HelmSetValueCollection setValues)
-
setString
public UpdateOkeHelmChartDeployStageDetails.Builder setString(HelmSetValueCollection setString)
-
areHooksEnabled
public UpdateOkeHelmChartDeployStageDetails.Builder areHooksEnabled(Boolean areHooksEnabled)
Disable pre/post upgrade hooks.- Parameters:
areHooksEnabled
- the value to set- Returns:
- this builder
-
shouldReuseValues
public UpdateOkeHelmChartDeployStageDetails.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 UpdateOkeHelmChartDeployStageDetails.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 UpdateOkeHelmChartDeployStageDetails.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 UpdateOkeHelmChartDeployStageDetails.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 UpdateOkeHelmChartDeployStageDetails.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 UpdateOkeHelmChartDeployStageDetails.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 UpdateOkeHelmChartDeployStageDetails.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 UpdateOkeHelmChartDeployStageDetails.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 UpdateOkeHelmChartDeployStageDetails.Builder isDebugEnabled(Boolean isDebugEnabled)
Enables helm –debug option to stream output to tf stdout.Set to false by default.
- Parameters:
isDebugEnabled
- the value to set- Returns:
- this builder
-
build
public UpdateOkeHelmChartDeployStageDetails build()
-
copy
public UpdateOkeHelmChartDeployStageDetails.Builder copy(UpdateOkeHelmChartDeployStageDetails model)
-
-