
org.jclouds.azurecompute.arm.domain.AutoValue_VirtualMachineScaleSetSKU 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_VirtualMachineScaleSetSKU extends VirtualMachineScaleSetSKU {
private final String name;
private final String tier;
private final int capacity;
AutoValue_VirtualMachineScaleSetSKU(
String name,
String tier,
int capacity) {
if (name == null) {
throw new NullPointerException("Null name");
}
this.name = name;
if (tier == null) {
throw new NullPointerException("Null tier");
}
this.tier = tier;
this.capacity = capacity;
}
@Override
public String name() {
return name;
}
@Override
public String tier() {
return tier;
}
@Override
public int capacity() {
return capacity;
}
@Override
public String toString() {
return "VirtualMachineScaleSetSKU{"
+ "name=" + name + ", "
+ "tier=" + tier + ", "
+ "capacity=" + capacity
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof VirtualMachineScaleSetSKU) {
VirtualMachineScaleSetSKU that = (VirtualMachineScaleSetSKU) o;
return (this.name.equals(that.name()))
&& (this.tier.equals(that.tier()))
&& (this.capacity == that.capacity());
}
return false;
}
@Override
public int hashCode() {
int h = 1;
h *= 1000003;
h ^= this.name.hashCode();
h *= 1000003;
h ^= this.tier.hashCode();
h *= 1000003;
h ^= this.capacity;
return h;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy