io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.QueuingConfigurationFluentImpl Maven / Gradle / Ivy
package io.fabric8.kubernetes.api.model.flowcontrol.v1beta1;
import java.lang.Integer;
import io.fabric8.kubernetes.api.builder.BaseFluent;
import java.lang.Object;
import java.lang.Boolean;
public class QueuingConfigurationFluentImpl> extends io.fabric8.kubernetes.api.builder.BaseFluent implements io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.QueuingConfigurationFluent {
private java.lang.Integer handSize;
private java.lang.Integer queueLengthLimit;
private java.lang.Integer queues;
public QueuingConfigurationFluentImpl() {
}
public QueuingConfigurationFluentImpl(io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.QueuingConfiguration instance) {
this.withHandSize(instance.getHandSize());
this.withQueueLengthLimit(instance.getQueueLengthLimit());
this.withQueues(instance.getQueues());
}
public java.lang.Integer getHandSize() {
return this.handSize;
}
public A withHandSize(java.lang.Integer handSize) {
this.handSize=handSize; return (A) this;
}
public java.lang.Boolean hasHandSize() {
return this.handSize != null;
}
public java.lang.Integer getQueueLengthLimit() {
return this.queueLengthLimit;
}
public A withQueueLengthLimit(java.lang.Integer queueLengthLimit) {
this.queueLengthLimit=queueLengthLimit; return (A) this;
}
public java.lang.Boolean hasQueueLengthLimit() {
return this.queueLengthLimit != null;
}
public java.lang.Integer getQueues() {
return this.queues;
}
public A withQueues(java.lang.Integer queues) {
this.queues=queues; return (A) this;
}
public java.lang.Boolean hasQueues() {
return this.queues != null;
}
public boolean equals(java.lang.Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
QueuingConfigurationFluentImpl that = (QueuingConfigurationFluentImpl) o;
if (handSize != null ? !handSize.equals(that.handSize) :that.handSize != null) return false;
if (queueLengthLimit != null ? !queueLengthLimit.equals(that.queueLengthLimit) :that.queueLengthLimit != null) return false;
if (queues != null ? !queues.equals(that.queues) :that.queues != null) return false;
return true;
}
public int hashCode() {
return java.util.Objects.hash(handSize, queueLengthLimit, queues, super.hashCode());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy