public static class OkeHelmChartDeployStageSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
public OkeHelmChartDeployStageSummary.Builder id(String id)
public OkeHelmChartDeployStageSummary.Builder description(String description)
public OkeHelmChartDeployStageSummary.Builder displayName(String displayName)
public OkeHelmChartDeployStageSummary.Builder projectId(String projectId)
public OkeHelmChartDeployStageSummary.Builder deployPipelineId(String deployPipelineId)
public OkeHelmChartDeployStageSummary.Builder compartmentId(String compartmentId)
public OkeHelmChartDeployStageSummary.Builder timeCreated(Date timeCreated)
public OkeHelmChartDeployStageSummary.Builder timeUpdated(Date timeUpdated)
public OkeHelmChartDeployStageSummary.Builder lifecycleState(DeployStage.LifecycleState lifecycleState)
public OkeHelmChartDeployStageSummary.Builder lifecycleDetails(String lifecycleDetails)
public OkeHelmChartDeployStageSummary.Builder deployStagePredecessorCollection(DeployStagePredecessorCollection deployStagePredecessorCollection)
public OkeHelmChartDeployStageSummary.Builder freeformTags(Map<String,String> freeformTags)
public OkeHelmChartDeployStageSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
public OkeHelmChartDeployStageSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags)
public OkeHelmChartDeployStageSummary.Builder okeClusterDeployEnvironmentId(String okeClusterDeployEnvironmentId)
Kubernetes cluster environment OCID for deployment.
okeClusterDeployEnvironmentId
- the value to setpublic OkeHelmChartDeployStageSummary.Builder helmChartDeployArtifactId(String helmChartDeployArtifactId)
Helm chart artifact OCID.
helmChartDeployArtifactId
- the value to setpublic OkeHelmChartDeployStageSummary.Builder valuesArtifactIds(List<String> valuesArtifactIds)
List of values.yaml file artifact OCIDs.
valuesArtifactIds
- the value to setpublic OkeHelmChartDeployStageSummary.Builder releaseName(String releaseName)
Release name of the Helm chart.
releaseName
- the value to setpublic OkeHelmChartDeployStageSummary.Builder isUninstallOnStageDelete(Boolean isUninstallOnStageDelete)
Uninstall the Helm chart release on deleting the stage.
isUninstallOnStageDelete
- the value to setpublic OkeHelmChartDeployStageSummary.Builder helmCommandArtifactIds(List<String> helmCommandArtifactIds)
List of Helm command artifact OCIDs.
helmCommandArtifactIds
- the value to setpublic OkeHelmChartDeployStageSummary.Builder purpose(OkeHelmChartDeployStageSummary.Purpose purpose)
The purpose of running this Helm stage
purpose
- the value to setpublic OkeHelmChartDeployStageSummary.Builder namespace(String namespace)
Default namespace to be used for Kubernetes deployment when not specified in the manifest.
namespace
- the value to setpublic OkeHelmChartDeployStageSummary.Builder timeoutInSeconds(Integer timeoutInSeconds)
Time to wait for execution of a helm stage. Defaults to 300 seconds.
timeoutInSeconds
- the value to setpublic OkeHelmChartDeployStageSummary.Builder rollbackPolicy(DeployStageRollbackPolicy rollbackPolicy)
public OkeHelmChartDeployStageSummary.Builder setValues(HelmSetValueCollection setValues)
public OkeHelmChartDeployStageSummary.Builder setString(HelmSetValueCollection setString)
public OkeHelmChartDeployStageSummary.Builder areHooksEnabled(Boolean areHooksEnabled)
Disable pre/post upgrade hooks.
areHooksEnabled
- the value to setpublic 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.
shouldReuseValues
- the value to setpublic 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.
shouldResetValues
- the value to setpublic OkeHelmChartDeployStageSummary.Builder isForceEnabled(Boolean isForceEnabled)
Force resource update through delete; or if required, recreate. Set to false by default.
isForceEnabled
- the value to setpublic OkeHelmChartDeployStageSummary.Builder shouldCleanupOnFail(Boolean shouldCleanupOnFail)
Allow deletion of new resources created during when an upgrade fails. Set to false by default.
shouldCleanupOnFail
- the value to setpublic OkeHelmChartDeployStageSummary.Builder maxHistory(Integer maxHistory)
Limit the maximum number of revisions saved per release. Use 0 for no limit. Set to 10 by default
maxHistory
- the value to setpublic 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.
shouldSkipCrds
- the value to setpublic OkeHelmChartDeployStageSummary.Builder shouldSkipRenderSubchartNotes(Boolean shouldSkipRenderSubchartNotes)
If set, renders subchart notes along with the parent. Set to false by default.
shouldSkipRenderSubchartNotes
- the value to setpublic 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.
shouldNotWait
- the value to setpublic OkeHelmChartDeployStageSummary.Builder isDebugEnabled(Boolean isDebugEnabled)
Enables helm –debug option to stream output. Set to false by default.
isDebugEnabled
- the value to setpublic OkeHelmChartDeployStageSummary build()
public OkeHelmChartDeployStageSummary.Builder copy(OkeHelmChartDeployStageSummary model)
Copyright © 2016–2025. All rights reserved.