me.snowdrop.istio.api.model.v1.mixer.config.InstanceFluentImpl Maven / Gradle / Ivy
package me.snowdrop.istio.api.model.v1.mixer.config;
import com.fasterxml.jackson.annotation.JsonPropertyDescription;
import com.fasterxml.jackson.annotation.JsonProperty;
import me.snowdrop.istio.api.builder.BaseFluent;
import java.lang.Object;
import java.lang.String;
import java.lang.Boolean;
public class InstanceFluentImpl> extends me.snowdrop.istio.api.builder.BaseFluent implements InstanceFluent{
private String name;
private Object params;
private String template;
public InstanceFluentImpl(){
}
public InstanceFluentImpl(Instance instance){
this.withName(instance.getName());
this.withParams(instance.getParams());
this.withTemplate(instance.getTemplate());
}
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 Object getParams(){
return this.params;
}
public A withParams(Object params){
this.params=params; return (A) this;
}
public Boolean hasParams(){
return this.params != null;
}
public String getTemplate(){
return this.template;
}
public A withTemplate(String template){
this.template=template; return (A) this;
}
public Boolean hasTemplate(){
return this.template != null;
}
public boolean equals(Object o){
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
if (!super.equals(o)) return false;
InstanceFluentImpl that = (InstanceFluentImpl) o;
if (name != null ? !name.equals(that.name) :that.name != null) return false;
if (params != null &¶ms != this ? !params.equals(that.params) :that.params != null &¶ms != this ) return false;
if (template != null ? !template.equals(that.template) :that.template != null) return false;
return true;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy