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