Package com.oracle.bmc.devops.model
Class CreateOkeHelmChartDeployStageDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.devops.model.CreateOkeHelmChartDeployStageDetails.Builder
-
- Enclosing class:
- CreateOkeHelmChartDeployStageDetails
public static class CreateOkeHelmChartDeployStageDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
description
public CreateOkeHelmChartDeployStageDetails.Builder description(String description)
-
displayName
public CreateOkeHelmChartDeployStageDetails.Builder displayName(String displayName)
-
deployPipelineId
public CreateOkeHelmChartDeployStageDetails.Builder deployPipelineId(String deployPipelineId)
-
deployStagePredecessorCollection
public CreateOkeHelmChartDeployStageDetails.Builder deployStagePredecessorCollection(DeployStagePredecessorCollection deployStagePredecessorCollection)
-
freeformTags
public CreateOkeHelmChartDeployStageDetails.Builder freeformTags(Map<String,String> freeformTags)
-
definedTags
public CreateOkeHelmChartDeployStageDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
-
okeClusterDeployEnvironmentId
public CreateOkeHelmChartDeployStageDetails.Builder okeClusterDeployEnvironmentId(String okeClusterDeployEnvironmentId)
Kubernetes cluster environment OCID for deployment.- Parameters:
okeClusterDeployEnvironmentId- the value to set- Returns:
- this builder
-
helmChartDeployArtifactId
public CreateOkeHelmChartDeployStageDetails.Builder helmChartDeployArtifactId(String helmChartDeployArtifactId)
Helm chart artifact OCID.- Parameters:
helmChartDeployArtifactId- the value to set- Returns:
- this builder
-
valuesArtifactIds
public CreateOkeHelmChartDeployStageDetails.Builder valuesArtifactIds(List<String> valuesArtifactIds)
List of values.yaml file artifact OCIDs.- Parameters:
valuesArtifactIds- the value to set- Returns:
- this builder
-
releaseName
public CreateOkeHelmChartDeployStageDetails.Builder releaseName(String releaseName)
Default name of the chart instance.Must be unique within a Kubernetes namespace.
- Parameters:
releaseName- the value to set- Returns:
- this builder
-
isUninstallOnStageDelete
public CreateOkeHelmChartDeployStageDetails.Builder isUninstallOnStageDelete(Boolean isUninstallOnStageDelete)
Uninstall the Helm chart release on deleting the stage.- Parameters:
isUninstallOnStageDelete- the value to set- Returns:
- this builder
-
helmCommandArtifactIds
public CreateOkeHelmChartDeployStageDetails.Builder helmCommandArtifactIds(List<String> helmCommandArtifactIds)
List of Helm command artifact OCIDs.- Parameters:
helmCommandArtifactIds- the value to set- Returns:
- this builder
-
purpose
public CreateOkeHelmChartDeployStageDetails.Builder purpose(CreateOkeHelmChartDeployStageDetails.Purpose purpose)
The purpose of running this Helm stage- Parameters:
purpose- the value to set- Returns:
- this builder
-
namespace
public CreateOkeHelmChartDeployStageDetails.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 CreateOkeHelmChartDeployStageDetails.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 CreateOkeHelmChartDeployStageDetails.Builder rollbackPolicy(DeployStageRollbackPolicy rollbackPolicy)
-
setValues
public CreateOkeHelmChartDeployStageDetails.Builder setValues(HelmSetValueCollection setValues)
-
setString
public CreateOkeHelmChartDeployStageDetails.Builder setString(HelmSetValueCollection setString)
-
areHooksEnabled
public CreateOkeHelmChartDeployStageDetails.Builder areHooksEnabled(Boolean areHooksEnabled)
Disable pre/post upgrade hooks.Set to false by default.
- Parameters:
areHooksEnabled- the value to set- Returns:
- this builder
-
shouldReuseValues
public CreateOkeHelmChartDeployStageDetails.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 CreateOkeHelmChartDeployStageDetails.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 CreateOkeHelmChartDeployStageDetails.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 CreateOkeHelmChartDeployStageDetails.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 CreateOkeHelmChartDeployStageDetails.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 CreateOkeHelmChartDeployStageDetails.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 CreateOkeHelmChartDeployStageDetails.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 CreateOkeHelmChartDeployStageDetails.Builder shouldNotWait(Boolean shouldNotWait)
Does not wait until all the resources are in a ready state to mark the release as successful if set to true.Set to false by default.
- Parameters:
shouldNotWait- the value to set- Returns:
- this builder
-
isDebugEnabled
public CreateOkeHelmChartDeployStageDetails.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 CreateOkeHelmChartDeployStageDetails build()
-
copy
public CreateOkeHelmChartDeployStageDetails.Builder copy(CreateOkeHelmChartDeployStageDetails model)
-
-