annotations.me.snowdrop.istio.api.model.v1.broker.DeploymentFluentImpl Maven / Gradle / Ivy
package me.snowdrop.istio.api.model.v1.broker;
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 DeploymentFluentImpl> extends me.snowdrop.istio.api.builder.BaseFluent implements DeploymentFluent{
private String instance;
public DeploymentFluentImpl(){
}
public DeploymentFluentImpl(Deployment instance){
this.withInstance(instance.getInstance());
}
public String getInstance(){
return this.instance;
}
public A withInstance(String instance){
this.instance=instance; return (A) this;
}
public Boolean hasInstance(){
return this.instance != 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;
DeploymentFluentImpl that = (DeploymentFluentImpl) o;
if (instance != null ? !instance.equals(that.instance) :that.instance != null) return false;
return true;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy