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