
com.pulumi.azurenative.hybridcontainerservice.outputs.VirtualNetworksPropertiesResponse Maven / Gradle / Ivy
// *** 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.hybridcontainerservice.outputs;
import com.pulumi.azurenative.hybridcontainerservice.outputs.VirtualNetworksPropertiesResponseInfraVnetProfile;
import com.pulumi.azurenative.hybridcontainerservice.outputs.VirtualNetworksPropertiesResponseStatus;
import com.pulumi.azurenative.hybridcontainerservice.outputs.VirtualNetworksPropertiesResponseVipPool;
import com.pulumi.azurenative.hybridcontainerservice.outputs.VirtualNetworksPropertiesResponseVmipPool;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class VirtualNetworksPropertiesResponse {
/**
* @return Address of the DHCP servers associated with the network
*
*/
private List dhcpServers;
/**
* @return Address of the DNS servers associated with the network
*
*/
private @Nullable List dnsServers;
/**
* @return Address of the Gateway associated with the network
*
*/
private @Nullable String gateway;
private @Nullable VirtualNetworksPropertiesResponseInfraVnetProfile infraVnetProfile;
/**
* @return IP Address Prefix of the network
*
*/
private @Nullable String ipAddressPrefix;
private String provisioningState;
/**
* @return HybridAKSNetworkStatus defines the observed state of HybridAKSNetwork
*
*/
private VirtualNetworksPropertiesResponseStatus status;
/**
* @return Virtual IP Pool for Kubernetes
*
*/
private @Nullable List vipPool;
/**
* @return VLAN Id used by the network
*
*/
private String vlanID;
/**
* @return IP Pool for Virtual Machines
*
*/
private @Nullable List vmipPool;
private VirtualNetworksPropertiesResponse() {}
/**
* @return Address of the DHCP servers associated with the network
*
*/
public List dhcpServers() {
return this.dhcpServers;
}
/**
* @return Address of the DNS servers associated with the network
*
*/
public List dnsServers() {
return this.dnsServers == null ? List.of() : this.dnsServers;
}
/**
* @return Address of the Gateway associated with the network
*
*/
public Optional gateway() {
return Optional.ofNullable(this.gateway);
}
public Optional infraVnetProfile() {
return Optional.ofNullable(this.infraVnetProfile);
}
/**
* @return IP Address Prefix of the network
*
*/
public Optional ipAddressPrefix() {
return Optional.ofNullable(this.ipAddressPrefix);
}
public String provisioningState() {
return this.provisioningState;
}
/**
* @return HybridAKSNetworkStatus defines the observed state of HybridAKSNetwork
*
*/
public VirtualNetworksPropertiesResponseStatus status() {
return this.status;
}
/**
* @return Virtual IP Pool for Kubernetes
*
*/
public List vipPool() {
return this.vipPool == null ? List.of() : this.vipPool;
}
/**
* @return VLAN Id used by the network
*
*/
public String vlanID() {
return this.vlanID;
}
/**
* @return IP Pool for Virtual Machines
*
*/
public List vmipPool() {
return this.vmipPool == null ? List.of() : this.vmipPool;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(VirtualNetworksPropertiesResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private List dhcpServers;
private @Nullable List dnsServers;
private @Nullable String gateway;
private @Nullable VirtualNetworksPropertiesResponseInfraVnetProfile infraVnetProfile;
private @Nullable String ipAddressPrefix;
private String provisioningState;
private VirtualNetworksPropertiesResponseStatus status;
private @Nullable List vipPool;
private String vlanID;
private @Nullable List vmipPool;
public Builder() {}
public Builder(VirtualNetworksPropertiesResponse defaults) {
Objects.requireNonNull(defaults);
this.dhcpServers = defaults.dhcpServers;
this.dnsServers = defaults.dnsServers;
this.gateway = defaults.gateway;
this.infraVnetProfile = defaults.infraVnetProfile;
this.ipAddressPrefix = defaults.ipAddressPrefix;
this.provisioningState = defaults.provisioningState;
this.status = defaults.status;
this.vipPool = defaults.vipPool;
this.vlanID = defaults.vlanID;
this.vmipPool = defaults.vmipPool;
}
@CustomType.Setter
public Builder dhcpServers(List dhcpServers) {
if (dhcpServers == null) {
throw new MissingRequiredPropertyException("VirtualNetworksPropertiesResponse", "dhcpServers");
}
this.dhcpServers = dhcpServers;
return this;
}
public Builder dhcpServers(String... dhcpServers) {
return dhcpServers(List.of(dhcpServers));
}
@CustomType.Setter
public Builder dnsServers(@Nullable List dnsServers) {
this.dnsServers = dnsServers;
return this;
}
public Builder dnsServers(String... dnsServers) {
return dnsServers(List.of(dnsServers));
}
@CustomType.Setter
public Builder gateway(@Nullable String gateway) {
this.gateway = gateway;
return this;
}
@CustomType.Setter
public Builder infraVnetProfile(@Nullable VirtualNetworksPropertiesResponseInfraVnetProfile infraVnetProfile) {
this.infraVnetProfile = infraVnetProfile;
return this;
}
@CustomType.Setter
public Builder ipAddressPrefix(@Nullable String ipAddressPrefix) {
this.ipAddressPrefix = ipAddressPrefix;
return this;
}
@CustomType.Setter
public Builder provisioningState(String provisioningState) {
if (provisioningState == null) {
throw new MissingRequiredPropertyException("VirtualNetworksPropertiesResponse", "provisioningState");
}
this.provisioningState = provisioningState;
return this;
}
@CustomType.Setter
public Builder status(VirtualNetworksPropertiesResponseStatus status) {
if (status == null) {
throw new MissingRequiredPropertyException("VirtualNetworksPropertiesResponse", "status");
}
this.status = status;
return this;
}
@CustomType.Setter
public Builder vipPool(@Nullable List vipPool) {
this.vipPool = vipPool;
return this;
}
public Builder vipPool(VirtualNetworksPropertiesResponseVipPool... vipPool) {
return vipPool(List.of(vipPool));
}
@CustomType.Setter
public Builder vlanID(String vlanID) {
if (vlanID == null) {
throw new MissingRequiredPropertyException("VirtualNetworksPropertiesResponse", "vlanID");
}
this.vlanID = vlanID;
return this;
}
@CustomType.Setter
public Builder vmipPool(@Nullable List vmipPool) {
this.vmipPool = vmipPool;
return this;
}
public Builder vmipPool(VirtualNetworksPropertiesResponseVmipPool... vmipPool) {
return vmipPool(List.of(vmipPool));
}
public VirtualNetworksPropertiesResponse build() {
final var _resultValue = new VirtualNetworksPropertiesResponse();
_resultValue.dhcpServers = dhcpServers;
_resultValue.dnsServers = dnsServers;
_resultValue.gateway = gateway;
_resultValue.infraVnetProfile = infraVnetProfile;
_resultValue.ipAddressPrefix = ipAddressPrefix;
_resultValue.provisioningState = provisioningState;
_resultValue.status = status;
_resultValue.vipPool = vipPool;
_resultValue.vlanID = vlanID;
_resultValue.vmipPool = vmipPool;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy