
org.jclouds.googlecomputeengine.options.AutoValue_HttpHealthCheckCreationOptions Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of google-compute-engine Show documentation
Show all versions of google-compute-engine Show documentation
jclouds components to access GoogleCompute
The newest version!
package org.jclouds.googlecomputeengine.options;
import javax.annotation.processing.Generated;
import org.jclouds.javax.annotation.Nullable;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_HttpHealthCheckCreationOptions extends HttpHealthCheckCreationOptions {
private final String host;
private final String requestPath;
private final Integer port;
private final Integer checkIntervalSec;
private final Integer timeoutSec;
private final Integer unhealthyThreshold;
private final Integer healthyThreshold;
private final String description;
AutoValue_HttpHealthCheckCreationOptions(
@Nullable String host,
@Nullable String requestPath,
@Nullable Integer port,
@Nullable Integer checkIntervalSec,
@Nullable Integer timeoutSec,
@Nullable Integer unhealthyThreshold,
@Nullable Integer healthyThreshold,
@Nullable String description) {
this.host = host;
this.requestPath = requestPath;
this.port = port;
this.checkIntervalSec = checkIntervalSec;
this.timeoutSec = timeoutSec;
this.unhealthyThreshold = unhealthyThreshold;
this.healthyThreshold = healthyThreshold;
this.description = description;
}
@Nullable
@Override
public String host() {
return host;
}
@Nullable
@Override
public String requestPath() {
return requestPath;
}
@Nullable
@Override
public Integer port() {
return port;
}
@Nullable
@Override
public Integer checkIntervalSec() {
return checkIntervalSec;
}
@Nullable
@Override
public Integer timeoutSec() {
return timeoutSec;
}
@Nullable
@Override
public Integer unhealthyThreshold() {
return unhealthyThreshold;
}
@Nullable
@Override
public Integer healthyThreshold() {
return healthyThreshold;
}
@Nullable
@Override
public String description() {
return description;
}
@Override
public String toString() {
return "HttpHealthCheckCreationOptions{"
+ "host=" + host + ", "
+ "requestPath=" + requestPath + ", "
+ "port=" + port + ", "
+ "checkIntervalSec=" + checkIntervalSec + ", "
+ "timeoutSec=" + timeoutSec + ", "
+ "unhealthyThreshold=" + unhealthyThreshold + ", "
+ "healthyThreshold=" + healthyThreshold + ", "
+ "description=" + description
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof HttpHealthCheckCreationOptions) {
HttpHealthCheckCreationOptions that = (HttpHealthCheckCreationOptions) o;
return ((this.host == null) ? (that.host() == null) : this.host.equals(that.host()))
&& ((this.requestPath == null) ? (that.requestPath() == null) : this.requestPath.equals(that.requestPath()))
&& ((this.port == null) ? (that.port() == null) : this.port.equals(that.port()))
&& ((this.checkIntervalSec == null) ? (that.checkIntervalSec() == null) : this.checkIntervalSec.equals(that.checkIntervalSec()))
&& ((this.timeoutSec == null) ? (that.timeoutSec() == null) : this.timeoutSec.equals(that.timeoutSec()))
&& ((this.unhealthyThreshold == null) ? (that.unhealthyThreshold() == null) : this.unhealthyThreshold.equals(that.unhealthyThreshold()))
&& ((this.healthyThreshold == null) ? (that.healthyThreshold() == null) : this.healthyThreshold.equals(that.healthyThreshold()))
&& ((this.description == null) ? (that.description() == null) : this.description.equals(that.description()));
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= (host == null) ? 0 : host.hashCode();
h$ *= 1000003;
h$ ^= (requestPath == null) ? 0 : requestPath.hashCode();
h$ *= 1000003;
h$ ^= (port == null) ? 0 : port.hashCode();
h$ *= 1000003;
h$ ^= (checkIntervalSec == null) ? 0 : checkIntervalSec.hashCode();
h$ *= 1000003;
h$ ^= (timeoutSec == null) ? 0 : timeoutSec.hashCode();
h$ *= 1000003;
h$ ^= (unhealthyThreshold == null) ? 0 : unhealthyThreshold.hashCode();
h$ *= 1000003;
h$ ^= (healthyThreshold == null) ? 0 : healthyThreshold.hashCode();
h$ *= 1000003;
h$ ^= (description == null) ? 0 : description.hashCode();
return h$;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy