
com.pulumi.azurenative.azurefleet.outputs.VirtualMachineScaleSetNetworkConfigurationDnsSettingsResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.azurenative.azurefleet.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import javax.annotation.Nullable;
@CustomType
public final class VirtualMachineScaleSetNetworkConfigurationDnsSettingsResponse {
/**
* @return List of DNS servers IP addresses
*
*/
private @Nullable List dnsServers;
private VirtualMachineScaleSetNetworkConfigurationDnsSettingsResponse() {}
/**
* @return List of DNS servers IP addresses
*
*/
public List dnsServers() {
return this.dnsServers == null ? List.of() : this.dnsServers;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(VirtualMachineScaleSetNetworkConfigurationDnsSettingsResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable List dnsServers;
public Builder() {}
public Builder(VirtualMachineScaleSetNetworkConfigurationDnsSettingsResponse defaults) {
Objects.requireNonNull(defaults);
this.dnsServers = defaults.dnsServers;
}
@CustomType.Setter
public Builder dnsServers(@Nullable List dnsServers) {
this.dnsServers = dnsServers;
return this;
}
public Builder dnsServers(String... dnsServers) {
return dnsServers(List.of(dnsServers));
}
public VirtualMachineScaleSetNetworkConfigurationDnsSettingsResponse build() {
final var _resultValue = new VirtualMachineScaleSetNetworkConfigurationDnsSettingsResponse();
_resultValue.dnsServers = dnsServers;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy