Class JsonSchemaPglookout


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               comments="Generator version: 7.4.0")
    public class JsonSchemaPglookout
    extends Object
    System-wide settings for pglookout.
    • Field Detail

      • JSON_PROPERTY_MAX_FAILOVER_REPLICATION_TIME_LAG

        public static final String JSON_PROPERTY_MAX_FAILOVER_REPLICATION_TIME_LAG
        See Also:
        Constant Field Values
    • Constructor Detail

      • JsonSchemaPglookout

        public JsonSchemaPglookout()
    • Method Detail

      • maxFailoverReplicationTimeLag

        public JsonSchemaPglookout maxFailoverReplicationTimeLag​(Integer maxFailoverReplicationTimeLag)
      • getMaxFailoverReplicationTimeLag

        @Nullable
        public Integer getMaxFailoverReplicationTimeLag()
        Number of seconds of master unavailability before triggering database failover to standby minimum: 10 maximum: 9223372036854775807
        Returns:
        maxFailoverReplicationTimeLag
      • setMaxFailoverReplicationTimeLag

        public void setMaxFailoverReplicationTimeLag​(Integer maxFailoverReplicationTimeLag)
      • equals

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

        public int hashCode()
        Overrides:
        hashCode 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