All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.k8s.api.core.v1.ClientIPConfig Maven / Gradle / Ivy

package io.k8s.api.core.v1;

import java.lang.Long;

/**
 * ClientIPConfig represents the configurations of Client IP based session affinity.
 */
public class ClientIPConfig {
  public Long timeoutSeconds;

  /**
   * timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == "ClientIP". Default value is 10800(for 3 hours).
   */
  public ClientIPConfig timeoutSeconds(Long timeoutSeconds) {
    this.timeoutSeconds = timeoutSeconds;
    return this;
  }

  public static ClientIPConfig clientIPConfig() {
    return new ClientIPConfig();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy