
org.jclouds.docker.domain.AutoValue_Resource 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.docker.domain;
import javax.annotation.Generated;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_Resource extends Resource {
private final String resource;
AutoValue_Resource(
String resource) {
if (resource == null) {
throw new NullPointerException("Null resource");
}
this.resource = resource;
}
@Override
public String resource() {
return resource;
}
@Override
public String toString() {
return "Resource{"
+ "resource=" + resource
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof Resource) {
Resource that = (Resource) o;
return (this.resource.equals(that.resource()));
}
return false;
}
@Override
public int hashCode() {
int h = 1;
h *= 1000003;
h ^= this.resource.hashCode();
return h;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy