
org.jclouds.azurecompute.arm.domain.AutoValue_VHD 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.azurecompute.arm.domain;
import javax.annotation.Generated;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_VHD extends VHD {
private final String uri;
private AutoValue_VHD(
String uri) {
this.uri = uri;
}
@Override
public String uri() {
return uri;
}
@Override
public String toString() {
return "VHD{"
+ "uri=" + uri
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof VHD) {
VHD that = (VHD) o;
return (this.uri.equals(that.uri()));
}
return false;
}
@Override
public int hashCode() {
int h = 1;
h *= 1000003;
h ^= this.uri.hashCode();
return h;
}
@Override
public VHD.Builder toBuilder() {
return new Builder(this);
}
static final class Builder extends VHD.Builder {
private String uri;
Builder() {
}
private Builder(VHD source) {
this.uri = source.uri();
}
@Override
public VHD.Builder uri(String uri) {
if (uri == null) {
throw new NullPointerException("Null uri");
}
this.uri = uri;
return this;
}
@Override
public VHD build() {
String missing = "";
if (this.uri == null) {
missing += " uri";
}
if (!missing.isEmpty()) {
throw new IllegalStateException("Missing required properties:" + missing);
}
return new AutoValue_VHD(
this.uri);
}
}
}