Package cz.xtf.builder.db
Class OfficialPostgreSQL.Builder
- java.lang.Object
-
- cz.xtf.builder.db.OfficialPostgreSQL.Builder
-
- Enclosing class:
- OfficialPostgreSQL
public static class OfficialPostgreSQL.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
withArgs
public OfficialPostgreSQL.Builder withArgs(List<String> args)
-
withConfigureEnvironment
public OfficialPostgreSQL.Builder withConfigureEnvironment(boolean configureEnvironment)
-
withDataDir
public OfficialPostgreSQL.Builder withDataDir(String dataDir)
-
withDbName
public OfficialPostgreSQL.Builder withDbName(String dbName)
-
withDeploymentConfigName
public OfficialPostgreSQL.Builder withDeploymentConfigName(String deploymentConfigName)
-
withEnvVarPrefix
public OfficialPostgreSQL.Builder withEnvVarPrefix(String envVarPrefix)
-
withPassword
public OfficialPostgreSQL.Builder withPassword(String password)
-
withPvc
public OfficialPostgreSQL.Builder withPvc(PersistentVolumeClaim pvc)
-
withSymbolicName
public OfficialPostgreSQL.Builder withSymbolicName(String symbolicName)
-
withUsername
public OfficialPostgreSQL.Builder withUsername(String username)
-
withVars
public OfficialPostgreSQL.Builder withVars(Map<String,String> vars)
-
withWithLivenessProbe
public OfficialPostgreSQL.Builder withWithLivenessProbe(boolean withLivenessProbe)
-
withWithReadinessProbe
public OfficialPostgreSQL.Builder withWithReadinessProbe(boolean withReadinessProbe)
-
withWithStartupProbe
public OfficialPostgreSQL.Builder withWithStartupProbe(boolean withStartupProbe)
-
withServiceAccount
public OfficialPostgreSQL.Builder withServiceAccount(String serviceAccount)
-
withPgData
public OfficialPostgreSQL.Builder withPgData(String pgData)
-
build
public OfficialPostgreSQL build()
-
-