
org.jclouds.googlecomputeengine.options.AutoValue_AddressCreationOptions 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.options;
import javax.annotation.Generated;
import org.jclouds.javax.annotation.Nullable;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_AddressCreationOptions extends AddressCreationOptions {
private final String name;
private final String address;
private final String description;
AutoValue_AddressCreationOptions(
String name,
@Nullable String address,
@Nullable String description) {
if (name == null) {
throw new NullPointerException("Null name");
}
this.name = name;
this.address = address;
this.description = description;
}
@Override
public String name() {
return name;
}
@Nullable
@Override
public String address() {
return address;
}
@Nullable
@Override
public String description() {
return description;
}
@Override
public String toString() {
return "AddressCreationOptions{"
+ "name=" + name + ", "
+ "address=" + address + ", "
+ "description=" + description
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof AddressCreationOptions) {
AddressCreationOptions that = (AddressCreationOptions) o;
return (this.name.equals(that.name()))
&& ((this.address == null) ? (that.address() == null) : this.address.equals(that.address()))
&& ((this.description == null) ? (that.description() == null) : this.description.equals(that.description()));
}
return false;
}
@Override
public int hashCode() {
int h = 1;
h *= 1000003;
h ^= this.name.hashCode();
h *= 1000003;
h ^= (address == null) ? 0 : this.address.hashCode();
h *= 1000003;
h ^= (description == null) ? 0 : this.description.hashCode();
return h;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy