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