
org.jclouds.azurecompute.arm.domain.AutoValue_KeyVaultReference_Reference 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_KeyVaultReference_Reference extends KeyVaultReference.Reference {
private final IdReference keyVault;
private final String secretName;
AutoValue_KeyVaultReference_Reference(
IdReference keyVault,
String secretName) {
if (keyVault == null) {
throw new NullPointerException("Null keyVault");
}
this.keyVault = keyVault;
if (secretName == null) {
throw new NullPointerException("Null secretName");
}
this.secretName = secretName;
}
@Override
public IdReference keyVault() {
return keyVault;
}
@Override
public String secretName() {
return secretName;
}
@Override
public String toString() {
return "Reference{"
+ "keyVault=" + keyVault + ", "
+ "secretName=" + secretName
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof KeyVaultReference.Reference) {
KeyVaultReference.Reference that = (KeyVaultReference.Reference) o;
return (this.keyVault.equals(that.keyVault()))
&& (this.secretName.equals(that.secretName()));
}
return false;
}
@Override
public int hashCode() {
int h = 1;
h *= 1000003;
h ^= this.keyVault.hashCode();
h *= 1000003;
h ^= this.secretName.hashCode();
return h;
}
}