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. 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. This parameter is off by default, because 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
      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 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 minimum: 1 maximum: 10
      Returns:
      pgStatMonitorPgsmMaxBuckets
    • setPgStatMonitorPgsmMaxBuckets

      public void setPgStatMonitorPgsmMaxBuckets(Integer pgStatMonitorPgsmMaxBuckets)
    • 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).
      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. 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 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 minimum: 8 maximum: 64
      Returns:
      maxReplicationSlots
    • setMaxReplicationSlots

      public void setMaxReplicationSlots(Integer maxReplicationSlots)
    • 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 minimum: 0 maximum: 96
      Returns:
      maxParallelWorkersPerGather
    • setMaxParallelWorkersPerGather

      public void setMaxParallelWorkersPerGather(Integer maxParallelWorkersPerGather)
    • pgPartmanBgwInterval

      public JsonSchemaPg pgPartmanBgwInterval(Integer pgPartmanBgwInterval)
    • getPgPartmanBgwInterval

      @Nullable public Integer getPgPartmanBgwInterval()
      Sets the time interval to run pg_partman's scheduled tasks 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. These can support popular log analyzers like pgbadger, pganalyze etc.
      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 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.
      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)
    • maxStackDepth

      public JsonSchemaPg maxStackDepth(Integer maxStackDepth)
    • getMaxStackDepth

      @Nullable public Integer getMaxStackDepth()
      Maximum depth of the stack in bytes 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 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) minimum: 4 maximum: 64
      Returns:
      maxLogicalReplicationWorkers
    • setMaxLogicalReplicationWorkers

      public void setMaxLogicalReplicationWorkers(Integer maxLogicalReplicationWorkers)
    • maxPreparedTransactions

      public JsonSchemaPg maxPreparedTransactions(Integer maxPreparedTransactions)
    • getMaxPreparedTransactions

      @Nullable public Integer getMaxPreparedTransactions()
      PostgreSQL maximum prepared transactions 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 minimum: 8 maximum: 96
      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 value 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 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 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