Class ClientIPConfig
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.core.v1.ClientIPConfig
-
- All Implemented Interfaces:
com.marcnuri.yakc.model.Model
public class ClientIPConfig extends java.lang.Object implements com.marcnuri.yakc.model.Model
ClientIPConfig represents the configurations of Client IP based session affinity.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ClientIPConfig.Builder
-
Constructor Summary
Constructors Constructor Description ClientIPConfig()
ClientIPConfig(java.lang.Number timeoutSeconds)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ClientIPConfig.Builder
builder()
protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
java.lang.Number
getTimeoutSeconds()
timeoutSeconds specifies the seconds of ClientIP type session sticky time.int
hashCode()
void
setTimeoutSeconds(java.lang.Number timeoutSeconds)
timeoutSeconds specifies the seconds of ClientIP type session sticky time.ClientIPConfig.Builder
toBuilder()
java.lang.String
toString()
-
-
-
Method Detail
-
builder
public static ClientIPConfig.Builder builder()
-
toBuilder
public ClientIPConfig.Builder toBuilder()
-
getTimeoutSeconds
public java.lang.Number getTimeoutSeconds()
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).
-
setTimeoutSeconds
public void setTimeoutSeconds(java.lang.Number 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).
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-