Class JsonSchemaPg

java.lang.Object
com.exoscale.sdk.model.JsonSchemaPg

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class JsonSchemaPg extends Object
JsonSchemaPg
  • Field Details

  • Constructor Details

    • JsonSchemaPg

      public JsonSchemaPg()
  • Method Details

    • trackActivityQuerySize

      public JsonSchemaPg trackActivityQuerySize(Integer trackActivityQuerySize)
    • getTrackActivityQuerySize

      @Nullable public Integer getTrackActivityQuerySize()
      Specifies the number of bytes reserved to track the currently executing command for each active session. Changing this parameter causes a service restart. minimum: 1024 maximum: 10240
      Returns:
      trackActivityQuerySize
    • setTrackActivityQuerySize

      public void setTrackActivityQuerySize(Integer trackActivityQuerySize)
    • timezone

      public JsonSchemaPg timezone(String timezone)
    • getTimezone

      @Nullable public String getTimezone()
      PostgreSQL service timezone
      Returns:
      timezone
    • setTimezone

      public void setTimezone(String timezone)
    • trackIoTiming

      public JsonSchemaPg trackIoTiming(JsonSchemaPg.TrackIoTimingEnum trackIoTiming)
    • getTrackIoTiming

      @Nullable public JsonSchemaPg.TrackIoTimingEnum getTrackIoTiming()
      Enables timing of database I/O calls. The default is `off`. When on, it will repeatedly query the operating system for the current time, which may cause significant overhead on some platforms.
      Returns:
      trackIoTiming
    • setTrackIoTiming

      public void setTrackIoTiming(JsonSchemaPg.TrackIoTimingEnum trackIoTiming)
    • pgStatMonitorPgsmEnableQueryPlan

      public JsonSchemaPg pgStatMonitorPgsmEnableQueryPlan(Boolean pgStatMonitorPgsmEnableQueryPlan)
    • getPgStatMonitorPgsmEnableQueryPlan

      @Nullable public Boolean getPgStatMonitorPgsmEnableQueryPlan()
      Enables or disables query plan monitoring. Changing this parameter causes a service restart. Only available for PostgreSQL 13+.
      Returns:
      pgStatMonitorPgsmEnableQueryPlan
    • setPgStatMonitorPgsmEnableQueryPlan

      public void setPgStatMonitorPgsmEnableQueryPlan(Boolean pgStatMonitorPgsmEnableQueryPlan)
    • maxFilesPerProcess

      public JsonSchemaPg maxFilesPerProcess(Integer maxFilesPerProcess)
    • getMaxFilesPerProcess

      @Nullable public Integer getMaxFilesPerProcess()
      PostgreSQL maximum number of files that can be open per process. The default is `1000` (upstream default). Changing this parameter causes a service restart. minimum: 1000 maximum: 4096
      Returns:
      maxFilesPerProcess
    • setMaxFilesPerProcess

      public void setMaxFilesPerProcess(Integer maxFilesPerProcess)
    • pgStatMonitorPgsmMaxBuckets

      public JsonSchemaPg pgStatMonitorPgsmMaxBuckets(Integer pgStatMonitorPgsmMaxBuckets)
    • getPgStatMonitorPgsmMaxBuckets

      @Nullable public Integer getPgStatMonitorPgsmMaxBuckets()
      Sets the maximum number of buckets. Changing this parameter causes a service restart. Only available for PostgreSQL 13+. minimum: 1 maximum: 10
      Returns:
      pgStatMonitorPgsmMaxBuckets
    • setPgStatMonitorPgsmMaxBuckets

      public void setPgStatMonitorPgsmMaxBuckets(Integer pgStatMonitorPgsmMaxBuckets)
    • ioMaxConcurrency

      public JsonSchemaPg ioMaxConcurrency(Integer ioMaxConcurrency)
    • getIoMaxConcurrency

      @Nullable public Integer getIoMaxConcurrency()
      EXPERIMENTAL: Controls the maximum number of I/O operations that one process can execute simultaneously. Version 18 and up only. Changing this parameter causes a service restart. minimum: -1 maximum: 1024
      Returns:
      ioMaxConcurrency
    • setIoMaxConcurrency

      public void setIoMaxConcurrency(Integer ioMaxConcurrency)
    • wal

    • getWal

      @Nullable public WriteAheadLogWALSettings getWal()
      Get wal
      Returns:
      wal
    • setWal

      public void setWal(WriteAheadLogWALSettings wal)
    • defaultToastCompression

      public JsonSchemaPg defaultToastCompression(JsonSchemaPg.DefaultToastCompressionEnum defaultToastCompression)
    • getDefaultToastCompression

      @Nullable public JsonSchemaPg.DefaultToastCompressionEnum getDefaultToastCompression()
      Specifies the default TOAST compression method for values of compressible columns. The default is `lz4`. Only available for PostgreSQL 14+.
      Returns:
      defaultToastCompression
    • setDefaultToastCompression

      public void setDefaultToastCompression(JsonSchemaPg.DefaultToastCompressionEnum defaultToastCompression)
    • deadlockTimeout

      public JsonSchemaPg deadlockTimeout(Integer deadlockTimeout)
    • getDeadlockTimeout

      @Nullable public Integer getDeadlockTimeout()
      This is the amount of time, in milliseconds, to wait on a lock before checking to see if there is a deadlock condition. The default is `1000` (upstream default). minimum: 500 maximum: 1800000
      Returns:
      deadlockTimeout
    • setDeadlockTimeout

      public void setDeadlockTimeout(Integer deadlockTimeout)
    • idleInTransactionSessionTimeout

      public JsonSchemaPg idleInTransactionSessionTimeout(Integer idleInTransactionSessionTimeout)
    • getIdleInTransactionSessionTimeout

      @Nullable public Integer getIdleInTransactionSessionTimeout()
      Time out sessions with open transactions after this number of milliseconds minimum: 0 maximum: 604800000
      Returns:
      idleInTransactionSessionTimeout
    • setIdleInTransactionSessionTimeout

      public void setIdleInTransactionSessionTimeout(Integer idleInTransactionSessionTimeout)
    • maxPredLocksPerTransaction

      public JsonSchemaPg maxPredLocksPerTransaction(Integer maxPredLocksPerTransaction)
    • getMaxPredLocksPerTransaction

      @Nullable public Integer getMaxPredLocksPerTransaction()
      PostgreSQL maximum predicate locks per transaction. The default is `64` (upstream default). Changing this parameter causes a service restart. minimum: 64 maximum: 5120
      Returns:
      maxPredLocksPerTransaction
    • setMaxPredLocksPerTransaction

      public void setMaxPredLocksPerTransaction(Integer maxPredLocksPerTransaction)
    • maxReplicationSlots

      public JsonSchemaPg maxReplicationSlots(Integer maxReplicationSlots)
    • getMaxReplicationSlots

      @Nullable public Integer getMaxReplicationSlots()
      PostgreSQL maximum replication slots. The default is `20`. Changing this parameter causes a service restart. minimum: 8 maximum: 256
      Returns:
      maxReplicationSlots
    • setMaxReplicationSlots

      public void setMaxReplicationSlots(Integer maxReplicationSlots)
    • maxSyncWorkersPerSubscription

      public JsonSchemaPg maxSyncWorkersPerSubscription(Integer maxSyncWorkersPerSubscription)
    • getMaxSyncWorkersPerSubscription

      @Nullable public Integer getMaxSyncWorkersPerSubscription()
      Maximum number of synchronization workers per subscription. The default is `2`. minimum: 2 maximum: 8
      Returns:
      maxSyncWorkersPerSubscription
    • setMaxSyncWorkersPerSubscription

      public void setMaxSyncWorkersPerSubscription(Integer maxSyncWorkersPerSubscription)
    • autovacuum

      public JsonSchemaPg autovacuum(AutovacuumSettings autovacuum)
    • getAutovacuum

      @Nullable public AutovacuumSettings getAutovacuum()
      Get autovacuum
      Returns:
      autovacuum
    • setAutovacuum

      public void setAutovacuum(AutovacuumSettings autovacuum)
    • maxParallelWorkersPerGather

      public JsonSchemaPg maxParallelWorkersPerGather(Integer maxParallelWorkersPerGather)
    • getMaxParallelWorkersPerGather

      @Nullable public Integer getMaxParallelWorkersPerGather()
      Sets the maximum number of workers that can be started by a single Gather or Gather Merge node. The default is `2` (upstream default). minimum: 0 maximum: 96
      Returns:
      maxParallelWorkersPerGather
    • setMaxParallelWorkersPerGather

      public void setMaxParallelWorkersPerGather(Integer maxParallelWorkersPerGather)
    • ioCombineLimit

      public JsonSchemaPg ioCombineLimit(Integer ioCombineLimit)
    • getIoCombineLimit

      @Nullable public Integer getIoCombineLimit()
      EXPERIMENTAL: Controls the largest I/O size in operations that combine I/O in 8kB units. Version 17 and up only. minimum: 1 maximum: 32
      Returns:
      ioCombineLimit
    • setIoCombineLimit

      public void setIoCombineLimit(Integer ioCombineLimit)
    • passwordEncryption

      public JsonSchemaPg passwordEncryption(JsonSchemaPg.PasswordEncryptionEnum passwordEncryption)
    • getPasswordEncryption

      @Nullable public JsonSchemaPg.PasswordEncryptionEnum getPasswordEncryption()
      Chooses the algorithm for encrypting passwords.
      Returns:
      passwordEncryption
    • getPasswordEncryption_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<JsonSchemaPg.PasswordEncryptionEnum> getPasswordEncryption_JsonNullable()
    • setPasswordEncryption_JsonNullable

      public void setPasswordEncryption_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<JsonSchemaPg.PasswordEncryptionEnum> passwordEncryption)
    • setPasswordEncryption

      public void setPasswordEncryption(JsonSchemaPg.PasswordEncryptionEnum passwordEncryption)
    • ioWorkers

      public JsonSchemaPg ioWorkers(Integer ioWorkers)
    • getIoWorkers

      @Nullable public Integer getIoWorkers()
      EXPERIMENTAL: Number of IO worker processes, for io_method=worker. Version 18 and up only. Changing this parameter causes a service restart. minimum: 1 maximum: 32
      Returns:
      ioWorkers
    • setIoWorkers

      public void setIoWorkers(Integer ioWorkers)
    • pgPartmanBgwInterval

      public JsonSchemaPg pgPartmanBgwInterval(Integer pgPartmanBgwInterval)
    • getPgPartmanBgwInterval

      @Nullable public Integer getPgPartmanBgwInterval()
      Sets the time interval in seconds to run pg_partman's scheduled tasks. The default is `3600`. minimum: 3600 maximum: 604800
      Returns:
      pgPartmanBgwInterval
    • setPgPartmanBgwInterval

      public void setPgPartmanBgwInterval(Integer pgPartmanBgwInterval)
    • logLinePrefix

      public JsonSchemaPg logLinePrefix(JsonSchemaPg.LogLinePrefixEnum logLinePrefix)
    • getLogLinePrefix

      @Nullable public JsonSchemaPg.LogLinePrefixEnum getLogLinePrefix()
      Choose from one of the available log formats.
      Returns:
      logLinePrefix
    • setLogLinePrefix

      public void setLogLinePrefix(JsonSchemaPg.LogLinePrefixEnum logLinePrefix)
    • logTempFiles

      public JsonSchemaPg logTempFiles(Integer logTempFiles)
    • getLogTempFiles

      @Nullable public Integer getLogTempFiles()
      Log statements for each temporary file created larger than this number of kilobytes, -1 disables minimum: -1 maximum: 2147483647
      Returns:
      logTempFiles
    • setLogTempFiles

      public void setLogTempFiles(Integer logTempFiles)
    • maxLocksPerTransaction

      public JsonSchemaPg maxLocksPerTransaction(Integer maxLocksPerTransaction)
    • getMaxLocksPerTransaction

      @Nullable public Integer getMaxLocksPerTransaction()
      PostgreSQL maximum locks per transaction. Changing this parameter causes a service restart. minimum: 64 maximum: 6400
      Returns:
      maxLocksPerTransaction
    • setMaxLocksPerTransaction

      public void setMaxLocksPerTransaction(Integer maxLocksPerTransaction)
    • trackCommitTimestamp

      public JsonSchemaPg trackCommitTimestamp(JsonSchemaPg.TrackCommitTimestampEnum trackCommitTimestamp)
    • getTrackCommitTimestamp

      @Nullable public JsonSchemaPg.TrackCommitTimestampEnum getTrackCommitTimestamp()
      Record commit time of transactions. Changing this parameter causes a service restart.
      Returns:
      trackCommitTimestamp
    • setTrackCommitTimestamp

      public void setTrackCommitTimestamp(JsonSchemaPg.TrackCommitTimestampEnum trackCommitTimestamp)
    • trackFunctions

      public JsonSchemaPg trackFunctions(JsonSchemaPg.TrackFunctionsEnum trackFunctions)
    • getTrackFunctions

      @Nullable public JsonSchemaPg.TrackFunctionsEnum getTrackFunctions()
      Enables tracking of function call counts and time used.
      Returns:
      trackFunctions
    • setTrackFunctions

      public void setTrackFunctions(JsonSchemaPg.TrackFunctionsEnum trackFunctions)
    • ioMaxCombineLimit

      public JsonSchemaPg ioMaxCombineLimit(Integer ioMaxCombineLimit)
    • getIoMaxCombineLimit

      @Nullable public Integer getIoMaxCombineLimit()
      EXPERIMENTAL: Controls the largest I/O size in operations that combine I/O in 8kB units, and silently limits the user-settable parameter io_combine_limit. Version 18 and up only. Changing this parameter causes a service restart. minimum: 1 maximum: 128
      Returns:
      ioMaxCombineLimit
    • setIoMaxCombineLimit

      public void setIoMaxCombineLimit(Integer ioMaxCombineLimit)
    • ioMethod

      public JsonSchemaPg ioMethod(JsonSchemaPg.IoMethodEnum ioMethod)
    • getIoMethod

      @Nullable public JsonSchemaPg.IoMethodEnum getIoMethod()
      EXPERIMENTAL: Controls the maximum number of I/O operations that one process can execute simultaneously. Version 18 and up only. Changing this parameter causes a service restart.
      Returns:
      ioMethod
    • setIoMethod

      public void setIoMethod(JsonSchemaPg.IoMethodEnum ioMethod)
    • maxStackDepth

      public JsonSchemaPg maxStackDepth(Integer maxStackDepth)
    • getMaxStackDepth

      @Nullable public Integer getMaxStackDepth()
      Maximum depth of the stack in bytes. The default is `2097152` (upstream default). minimum: 2097152 maximum: 6291456
      Returns:
      maxStackDepth
    • setMaxStackDepth

      public void setMaxStackDepth(Integer maxStackDepth)
    • maxParallelWorkers

      public JsonSchemaPg maxParallelWorkers(Integer maxParallelWorkers)
    • getMaxParallelWorkers

      @Nullable public Integer getMaxParallelWorkers()
      Sets the maximum number of workers that the system can support for parallel queries. The default is `8` (upstream default). minimum: 0 maximum: 96
      Returns:
      maxParallelWorkers
    • setMaxParallelWorkers

      public void setMaxParallelWorkers(Integer maxParallelWorkers)
    • pgPartmanBgwRole

      public JsonSchemaPg pgPartmanBgwRole(String pgPartmanBgwRole)
    • getPgPartmanBgwRole

      @Nullable public String getPgPartmanBgwRole()
      Controls which role to use for pg_partman's scheduled background tasks.
      Returns:
      pgPartmanBgwRole
    • setPgPartmanBgwRole

      public void setPgPartmanBgwRole(String pgPartmanBgwRole)
    • maxLogicalReplicationWorkers

      public JsonSchemaPg maxLogicalReplicationWorkers(Integer maxLogicalReplicationWorkers)
    • getMaxLogicalReplicationWorkers

      @Nullable public Integer getMaxLogicalReplicationWorkers()
      PostgreSQL maximum logical replication workers (taken from the pool of max_parallel_workers). The default is `4` (upstream default). Changing this parameter causes a service restart. minimum: 4 maximum: 256
      Returns:
      maxLogicalReplicationWorkers
    • setMaxLogicalReplicationWorkers

      public void setMaxLogicalReplicationWorkers(Integer maxLogicalReplicationWorkers)
    • maxPreparedTransactions

      public JsonSchemaPg maxPreparedTransactions(Integer maxPreparedTransactions)
    • getMaxPreparedTransactions

      @Nullable public Integer getMaxPreparedTransactions()
      PostgreSQL maximum prepared transactions. The default is `0`. Changing this parameter causes a service restart. minimum: 0 maximum: 10000
      Returns:
      maxPreparedTransactions
    • setMaxPreparedTransactions

      public void setMaxPreparedTransactions(Integer maxPreparedTransactions)
    • maxWorkerProcesses

      public JsonSchemaPg maxWorkerProcesses(Integer maxWorkerProcesses)
    • getMaxWorkerProcesses

      @Nullable public Integer getMaxWorkerProcesses()
      Sets the maximum number of background processes that the system can support. The default is `8`. Changing this parameter causes a service restart. minimum: 8 maximum: 288
      Returns:
      maxWorkerProcesses
    • setMaxWorkerProcesses

      public void setMaxWorkerProcesses(Integer maxWorkerProcesses)
    • pgStatStatementsTrack

      public JsonSchemaPg pgStatStatementsTrack(JsonSchemaPg.PgStatStatementsTrackEnum pgStatStatementsTrack)
    • getPgStatStatementsTrack

      @Nullable public JsonSchemaPg.PgStatStatementsTrackEnum getPgStatStatementsTrack()
      Controls which statements are counted. Specify top to track top-level statements (those issued directly by clients), all to also track nested statements (such as statements invoked within functions), or none to disable statement statistics collection. The default is `top`.
      Returns:
      pgStatStatementsTrack
    • setPgStatStatementsTrack

      public void setPgStatStatementsTrack(JsonSchemaPg.PgStatStatementsTrackEnum pgStatStatementsTrack)
    • tempFileLimit

      public JsonSchemaPg tempFileLimit(Integer tempFileLimit)
    • getTempFileLimit

      @Nullable public Integer getTempFileLimit()
      PostgreSQL temporary file limit in KiB, -1 for unlimited minimum: -1 maximum: 2147483647
      Returns:
      tempFileLimit
    • setTempFileLimit

      public void setTempFileLimit(Integer tempFileLimit)
    • logErrorVerbosity

      public JsonSchemaPg logErrorVerbosity(JsonSchemaPg.LogErrorVerbosityEnum logErrorVerbosity)
    • getLogErrorVerbosity

      @Nullable public JsonSchemaPg.LogErrorVerbosityEnum getLogErrorVerbosity()
      Controls the amount of detail written in the server log for each message that is logged.
      Returns:
      logErrorVerbosity
    • setLogErrorVerbosity

      public void setLogErrorVerbosity(JsonSchemaPg.LogErrorVerbosityEnum logErrorVerbosity)
    • logMinDurationStatement

      public JsonSchemaPg logMinDurationStatement(Integer logMinDurationStatement)
    • getLogMinDurationStatement

      @Nullable public Integer getLogMinDurationStatement()
      Log statements that take more than this number of milliseconds to run, -1 disables minimum: -1 maximum: 86400000
      Returns:
      logMinDurationStatement
    • setLogMinDurationStatement

      public void setLogMinDurationStatement(Integer logMinDurationStatement)
    • maxStandbyStreamingDelay

      public JsonSchemaPg maxStandbyStreamingDelay(Integer maxStandbyStreamingDelay)
    • getMaxStandbyStreamingDelay

      @Nullable public Integer getMaxStandbyStreamingDelay()
      Max standby streaming delay in milliseconds. The default is `30000` (upstream default). minimum: 1 maximum: 43200000
      Returns:
      maxStandbyStreamingDelay
    • setMaxStandbyStreamingDelay

      public void setMaxStandbyStreamingDelay(Integer maxStandbyStreamingDelay)
    • jit

      public JsonSchemaPg jit(Boolean jit)
    • getJit

      @Nullable public Boolean getJit()
      Controls system-wide use of Just-in-Time Compilation (JIT).
      Returns:
      jit
    • setJit

      public void setJit(Boolean jit)
    • maxStandbyArchiveDelay

      public JsonSchemaPg maxStandbyArchiveDelay(Integer maxStandbyArchiveDelay)
    • getMaxStandbyArchiveDelay

      @Nullable public Integer getMaxStandbyArchiveDelay()
      Max standby archive delay in milliseconds. The default is `30000` (upstream default). minimum: 1 maximum: 43200000
      Returns:
      maxStandbyArchiveDelay
    • setMaxStandbyArchiveDelay

      public void setMaxStandbyArchiveDelay(Integer maxStandbyArchiveDelay)
    • bgWriter

      public JsonSchemaPg bgWriter(BackgroundBGWriterSettings bgWriter)
    • getBgWriter

      @Nullable public BackgroundBGWriterSettings getBgWriter()
      Get bgWriter
      Returns:
      bgWriter
    • setBgWriter

      public void setBgWriter(BackgroundBGWriterSettings bgWriter)
    • equals

      public boolean equals(Object o)
      Return true if this json-schema-pg object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toUrlQueryString

      public String toUrlQueryString()
      Convert the instance into URL query string.
      Returns:
      URL query string
    • toUrlQueryString

      public String toUrlQueryString(String prefix)
      Convert the instance into URL query string.
      Parameters:
      prefix - prefix of the query string
      Returns:
      URL query string