
org.jclouds.softlayer.domain.AutoValue_Subnet_CreateDatacenterName 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.softlayer.domain;
import javax.annotation.Generated;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_Subnet_CreateDatacenterName extends Subnet.CreateDatacenterName {
private final String name;
private AutoValue_Subnet_CreateDatacenterName(
String name) {
this.name = name;
}
@Override
public String name() {
return name;
}
@Override
public String toString() {
return "CreateDatacenterName{"
+ "name=" + name
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof Subnet.CreateDatacenterName) {
Subnet.CreateDatacenterName that = (Subnet.CreateDatacenterName) o;
return (this.name.equals(that.name()));
}
return false;
}
@Override
public int hashCode() {
int h = 1;
h *= 1000003;
h ^= this.name.hashCode();
return h;
}
static final class Builder extends Subnet.CreateDatacenterName.Builder {
private String name;
Builder() {
}
@Override
public Subnet.CreateDatacenterName.Builder name(String name) {
if (name == null) {
throw new NullPointerException("Null name");
}
this.name = name;
return this;
}
@Override
Subnet.CreateDatacenterName autoBuild() {
String missing = "";
if (this.name == null) {
missing += " name";
}
if (!missing.isEmpty()) {
throw new IllegalStateException("Missing required properties:" + missing);
}
return new AutoValue_Subnet_CreateDatacenterName(
this.name);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy