me.snowdrop.istio.api.networking.v1alpha3.HTTPCookieFluentImpl Maven / Gradle / Ivy
package me.snowdrop.istio.api.networking.v1alpha3;
import java.lang.Integer;
import com.fasterxml.jackson.annotation.JsonPropertyDescription;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.fabric8.kubernetes.api.builder.BaseFluent;
import java.lang.Object;
import java.lang.String;
import java.lang.Boolean;
public class HTTPCookieFluentImpl> extends io.fabric8.kubernetes.api.builder.BaseFluent implements HTTPCookieFluent{
private String name;
private String path;
private Integer ttl;
public HTTPCookieFluentImpl(){
}
public HTTPCookieFluentImpl(HTTPCookie instance){
this.withName(instance.getName());
this.withPath(instance.getPath());
this.withTtl(instance.getTtl());
}
public String getName(){
return this.name;
}
public A withName(String name){
this.name=name; return (A) this;
}
public Boolean hasName(){
return this.name != null;
}
public String getPath(){
return this.path;
}
public A withPath(String path){
this.path=path; return (A) this;
}
public Boolean hasPath(){
return this.path != null;
}
public Integer getTtl(){
return this.ttl;
}
public A withTtl(Integer ttl){
this.ttl=ttl; return (A) this;
}
public Boolean hasTtl(){
return this.ttl != null;
}
public A withNewTtl(String arg1){
return (A)withTtl(new Integer(arg1));
}
public A withNewTtl(int arg1){
return (A)withTtl(new Integer(arg1));
}
public boolean equals(Object o){
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
if (!super.equals(o)) return false;
HTTPCookieFluentImpl that = (HTTPCookieFluentImpl) o;
if (name != null ? !name.equals(that.name) :that.name != null) return false;
if (path != null ? !path.equals(that.path) :that.path != null) return false;
if (ttl != null ? !ttl.equals(that.ttl) :that.ttl != null) return false;
return true;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy