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