
org.jclouds.googlecomputeengine.domain.AutoValue_UrlMap_HostRule Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jclouds-shaded Show documentation
Show all versions of jclouds-shaded Show documentation
Provides a shaded jclouds with relocated guava and guice
The newest version!
package org.jclouds.googlecomputeengine.domain;
import java.util.List;
import javax.annotation.Generated;
import org.jclouds.javax.annotation.Nullable;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_UrlMap_HostRule extends UrlMap.HostRule {
private final String description;
private final List hosts;
private final String pathMatcher;
AutoValue_UrlMap_HostRule(
@Nullable String description,
List hosts,
String pathMatcher) {
this.description = description;
if (hosts == null) {
throw new NullPointerException("Null hosts");
}
this.hosts = hosts;
if (pathMatcher == null) {
throw new NullPointerException("Null pathMatcher");
}
this.pathMatcher = pathMatcher;
}
@Nullable
@Override
public String description() {
return description;
}
@Override
public List hosts() {
return hosts;
}
@Override
public String pathMatcher() {
return pathMatcher;
}
@Override
public String toString() {
return "HostRule{"
+ "description=" + description + ", "
+ "hosts=" + hosts + ", "
+ "pathMatcher=" + pathMatcher
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof UrlMap.HostRule) {
UrlMap.HostRule that = (UrlMap.HostRule) o;
return ((this.description == null) ? (that.description() == null) : this.description.equals(that.description()))
&& (this.hosts.equals(that.hosts()))
&& (this.pathMatcher.equals(that.pathMatcher()));
}
return false;
}
@Override
public int hashCode() {
int h = 1;
h *= 1000003;
h ^= (description == null) ? 0 : this.description.hashCode();
h *= 1000003;
h ^= this.hosts.hashCode();
h *= 1000003;
h ^= this.pathMatcher.hashCode();
return h;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy