com.pulumi.azure.compute.outputs.GetVirtualMachineScaleSetNetworkInterfaceIpConfigurationPublicIpAddress Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure Show documentation
Show all versions of azure Show documentation
A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.
// *** 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.azure.compute.outputs;
import com.pulumi.azure.compute.outputs.GetVirtualMachineScaleSetNetworkInterfaceIpConfigurationPublicIpAddressIpTag;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.List;
import java.util.Objects;
@CustomType
public final class GetVirtualMachineScaleSetNetworkInterfaceIpConfigurationPublicIpAddress {
/**
* @return The domain name label for the DNS settings.
*
*/
private String domainNameLabel;
/**
* @return The idle timeout in minutes.
*
*/
private Integer idleTimeoutInMinutes;
/**
* @return A list of `ip_tag` blocks as defined below.
*
*/
private List ipTags;
/**
* @return The name of this Virtual Machine Scale Set.
*
*/
private String name;
/**
* @return The ID of the public IP prefix.
*
*/
private String publicIpPrefixId;
/**
* @return The Internet Protocol Version of the public IP address.
*
*/
private String version;
private GetVirtualMachineScaleSetNetworkInterfaceIpConfigurationPublicIpAddress() {}
/**
* @return The domain name label for the DNS settings.
*
*/
public String domainNameLabel() {
return this.domainNameLabel;
}
/**
* @return The idle timeout in minutes.
*
*/
public Integer idleTimeoutInMinutes() {
return this.idleTimeoutInMinutes;
}
/**
* @return A list of `ip_tag` blocks as defined below.
*
*/
public List ipTags() {
return this.ipTags;
}
/**
* @return The name of this Virtual Machine Scale Set.
*
*/
public String name() {
return this.name;
}
/**
* @return The ID of the public IP prefix.
*
*/
public String publicIpPrefixId() {
return this.publicIpPrefixId;
}
/**
* @return The Internet Protocol Version of the public IP address.
*
*/
public String version() {
return this.version;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetVirtualMachineScaleSetNetworkInterfaceIpConfigurationPublicIpAddress defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String domainNameLabel;
private Integer idleTimeoutInMinutes;
private List ipTags;
private String name;
private String publicIpPrefixId;
private String version;
public Builder() {}
public Builder(GetVirtualMachineScaleSetNetworkInterfaceIpConfigurationPublicIpAddress defaults) {
Objects.requireNonNull(defaults);
this.domainNameLabel = defaults.domainNameLabel;
this.idleTimeoutInMinutes = defaults.idleTimeoutInMinutes;
this.ipTags = defaults.ipTags;
this.name = defaults.name;
this.publicIpPrefixId = defaults.publicIpPrefixId;
this.version = defaults.version;
}
@CustomType.Setter
public Builder domainNameLabel(String domainNameLabel) {
if (domainNameLabel == null) {
throw new MissingRequiredPropertyException("GetVirtualMachineScaleSetNetworkInterfaceIpConfigurationPublicIpAddress", "domainNameLabel");
}
this.domainNameLabel = domainNameLabel;
return this;
}
@CustomType.Setter
public Builder idleTimeoutInMinutes(Integer idleTimeoutInMinutes) {
if (idleTimeoutInMinutes == null) {
throw new MissingRequiredPropertyException("GetVirtualMachineScaleSetNetworkInterfaceIpConfigurationPublicIpAddress", "idleTimeoutInMinutes");
}
this.idleTimeoutInMinutes = idleTimeoutInMinutes;
return this;
}
@CustomType.Setter
public Builder ipTags(List ipTags) {
if (ipTags == null) {
throw new MissingRequiredPropertyException("GetVirtualMachineScaleSetNetworkInterfaceIpConfigurationPublicIpAddress", "ipTags");
}
this.ipTags = ipTags;
return this;
}
public Builder ipTags(GetVirtualMachineScaleSetNetworkInterfaceIpConfigurationPublicIpAddressIpTag... ipTags) {
return ipTags(List.of(ipTags));
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetVirtualMachineScaleSetNetworkInterfaceIpConfigurationPublicIpAddress", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder publicIpPrefixId(String publicIpPrefixId) {
if (publicIpPrefixId == null) {
throw new MissingRequiredPropertyException("GetVirtualMachineScaleSetNetworkInterfaceIpConfigurationPublicIpAddress", "publicIpPrefixId");
}
this.publicIpPrefixId = publicIpPrefixId;
return this;
}
@CustomType.Setter
public Builder version(String version) {
if (version == null) {
throw new MissingRequiredPropertyException("GetVirtualMachineScaleSetNetworkInterfaceIpConfigurationPublicIpAddress", "version");
}
this.version = version;
return this;
}
public GetVirtualMachineScaleSetNetworkInterfaceIpConfigurationPublicIpAddress build() {
final var _resultValue = new GetVirtualMachineScaleSetNetworkInterfaceIpConfigurationPublicIpAddress();
_resultValue.domainNameLabel = domainNameLabel;
_resultValue.idleTimeoutInMinutes = idleTimeoutInMinutes;
_resultValue.ipTags = ipTags;
_resultValue.name = name;
_resultValue.publicIpPrefixId = publicIpPrefixId;
_resultValue.version = version;
return _resultValue;
}
}
}