com.pulumi.azure.network.outputs.ApplicationGatewayFrontendIpConfiguration 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.network.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ApplicationGatewayFrontendIpConfiguration {
/**
* @return The ID of the Rewrite Rule Set
*
*/
private @Nullable String id;
/**
* @return The name of the Frontend IP Configuration.
*
*/
private String name;
/**
* @return The Private IP Address to use for the Application Gateway.
*
*/
private @Nullable String privateIpAddress;
/**
* @return The Allocation Method for the Private IP Address. Possible values are `Dynamic` and `Static`. Defaults to `Dynamic`.
*
*/
private @Nullable String privateIpAddressAllocation;
/**
* @return The ID of the associated private link configuration.
*
*/
private @Nullable String privateLinkConfigurationId;
/**
* @return The name of the private link configuration to use for this frontend IP configuration.
*
*/
private @Nullable String privateLinkConfigurationName;
/**
* @return The ID of a Public IP Address which the Application Gateway should use. The allocation method for the Public IP Address depends on the `sku` of this Application Gateway. Please refer to the [Azure documentation for public IP addresses](https://docs.microsoft.com/azure/virtual-network/public-ip-addresses#application-gateways) for details.
*
*/
private @Nullable String publicIpAddressId;
/**
* @return The ID of the Subnet.
*
*/
private @Nullable String subnetId;
private ApplicationGatewayFrontendIpConfiguration() {}
/**
* @return The ID of the Rewrite Rule Set
*
*/
public Optional id() {
return Optional.ofNullable(this.id);
}
/**
* @return The name of the Frontend IP Configuration.
*
*/
public String name() {
return this.name;
}
/**
* @return The Private IP Address to use for the Application Gateway.
*
*/
public Optional privateIpAddress() {
return Optional.ofNullable(this.privateIpAddress);
}
/**
* @return The Allocation Method for the Private IP Address. Possible values are `Dynamic` and `Static`. Defaults to `Dynamic`.
*
*/
public Optional privateIpAddressAllocation() {
return Optional.ofNullable(this.privateIpAddressAllocation);
}
/**
* @return The ID of the associated private link configuration.
*
*/
public Optional privateLinkConfigurationId() {
return Optional.ofNullable(this.privateLinkConfigurationId);
}
/**
* @return The name of the private link configuration to use for this frontend IP configuration.
*
*/
public Optional privateLinkConfigurationName() {
return Optional.ofNullable(this.privateLinkConfigurationName);
}
/**
* @return The ID of a Public IP Address which the Application Gateway should use. The allocation method for the Public IP Address depends on the `sku` of this Application Gateway. Please refer to the [Azure documentation for public IP addresses](https://docs.microsoft.com/azure/virtual-network/public-ip-addresses#application-gateways) for details.
*
*/
public Optional publicIpAddressId() {
return Optional.ofNullable(this.publicIpAddressId);
}
/**
* @return The ID of the Subnet.
*
*/
public Optional subnetId() {
return Optional.ofNullable(this.subnetId);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ApplicationGatewayFrontendIpConfiguration defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String id;
private String name;
private @Nullable String privateIpAddress;
private @Nullable String privateIpAddressAllocation;
private @Nullable String privateLinkConfigurationId;
private @Nullable String privateLinkConfigurationName;
private @Nullable String publicIpAddressId;
private @Nullable String subnetId;
public Builder() {}
public Builder(ApplicationGatewayFrontendIpConfiguration defaults) {
Objects.requireNonNull(defaults);
this.id = defaults.id;
this.name = defaults.name;
this.privateIpAddress = defaults.privateIpAddress;
this.privateIpAddressAllocation = defaults.privateIpAddressAllocation;
this.privateLinkConfigurationId = defaults.privateLinkConfigurationId;
this.privateLinkConfigurationName = defaults.privateLinkConfigurationName;
this.publicIpAddressId = defaults.publicIpAddressId;
this.subnetId = defaults.subnetId;
}
@CustomType.Setter
public Builder id(@Nullable String id) {
this.id = id;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("ApplicationGatewayFrontendIpConfiguration", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder privateIpAddress(@Nullable String privateIpAddress) {
this.privateIpAddress = privateIpAddress;
return this;
}
@CustomType.Setter
public Builder privateIpAddressAllocation(@Nullable String privateIpAddressAllocation) {
this.privateIpAddressAllocation = privateIpAddressAllocation;
return this;
}
@CustomType.Setter
public Builder privateLinkConfigurationId(@Nullable String privateLinkConfigurationId) {
this.privateLinkConfigurationId = privateLinkConfigurationId;
return this;
}
@CustomType.Setter
public Builder privateLinkConfigurationName(@Nullable String privateLinkConfigurationName) {
this.privateLinkConfigurationName = privateLinkConfigurationName;
return this;
}
@CustomType.Setter
public Builder publicIpAddressId(@Nullable String publicIpAddressId) {
this.publicIpAddressId = publicIpAddressId;
return this;
}
@CustomType.Setter
public Builder subnetId(@Nullable String subnetId) {
this.subnetId = subnetId;
return this;
}
public ApplicationGatewayFrontendIpConfiguration build() {
final var _resultValue = new ApplicationGatewayFrontendIpConfiguration();
_resultValue.id = id;
_resultValue.name = name;
_resultValue.privateIpAddress = privateIpAddress;
_resultValue.privateIpAddressAllocation = privateIpAddressAllocation;
_resultValue.privateLinkConfigurationId = privateLinkConfigurationId;
_resultValue.privateLinkConfigurationName = privateLinkConfigurationName;
_resultValue.publicIpAddressId = publicIpAddressId;
_resultValue.subnetId = subnetId;
return _resultValue;
}
}
}