
com.pulumi.azurenative.network.outputs.ApplicationGatewayFrontendIPConfigurationResponse 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.network.outputs;
import com.pulumi.azurenative.network.outputs.SubResourceResponse;
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 ApplicationGatewayFrontendIPConfigurationResponse {
/**
* @return A unique read-only string that changes whenever the resource is updated.
*
*/
private String etag;
/**
* @return Resource ID.
*
*/
private @Nullable String id;
/**
* @return Name of the frontend IP configuration that is unique within an Application Gateway.
*
*/
private @Nullable String name;
/**
* @return PrivateIPAddress of the network interface IP Configuration.
*
*/
private @Nullable String privateIPAddress;
/**
* @return The private IP address allocation method.
*
*/
private @Nullable String privateIPAllocationMethod;
/**
* @return Reference to the application gateway private link configuration.
*
*/
private @Nullable SubResourceResponse privateLinkConfiguration;
/**
* @return The provisioning state of the frontend IP configuration resource.
*
*/
private String provisioningState;
/**
* @return Reference to the PublicIP resource.
*
*/
private @Nullable SubResourceResponse publicIPAddress;
/**
* @return Reference to the subnet resource.
*
*/
private @Nullable SubResourceResponse subnet;
/**
* @return Type of the resource.
*
*/
private String type;
private ApplicationGatewayFrontendIPConfigurationResponse() {}
/**
* @return A unique read-only string that changes whenever the resource is updated.
*
*/
public String etag() {
return this.etag;
}
/**
* @return Resource ID.
*
*/
public Optional id() {
return Optional.ofNullable(this.id);
}
/**
* @return Name of the frontend IP configuration that is unique within an Application Gateway.
*
*/
public Optional name() {
return Optional.ofNullable(this.name);
}
/**
* @return PrivateIPAddress of the network interface IP Configuration.
*
*/
public Optional privateIPAddress() {
return Optional.ofNullable(this.privateIPAddress);
}
/**
* @return The private IP address allocation method.
*
*/
public Optional privateIPAllocationMethod() {
return Optional.ofNullable(this.privateIPAllocationMethod);
}
/**
* @return Reference to the application gateway private link configuration.
*
*/
public Optional privateLinkConfiguration() {
return Optional.ofNullable(this.privateLinkConfiguration);
}
/**
* @return The provisioning state of the frontend IP configuration resource.
*
*/
public String provisioningState() {
return this.provisioningState;
}
/**
* @return Reference to the PublicIP resource.
*
*/
public Optional publicIPAddress() {
return Optional.ofNullable(this.publicIPAddress);
}
/**
* @return Reference to the subnet resource.
*
*/
public Optional subnet() {
return Optional.ofNullable(this.subnet);
}
/**
* @return Type of the resource.
*
*/
public String type() {
return this.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ApplicationGatewayFrontendIPConfigurationResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String etag;
private @Nullable String id;
private @Nullable String name;
private @Nullable String privateIPAddress;
private @Nullable String privateIPAllocationMethod;
private @Nullable SubResourceResponse privateLinkConfiguration;
private String provisioningState;
private @Nullable SubResourceResponse publicIPAddress;
private @Nullable SubResourceResponse subnet;
private String type;
public Builder() {}
public Builder(ApplicationGatewayFrontendIPConfigurationResponse defaults) {
Objects.requireNonNull(defaults);
this.etag = defaults.etag;
this.id = defaults.id;
this.name = defaults.name;
this.privateIPAddress = defaults.privateIPAddress;
this.privateIPAllocationMethod = defaults.privateIPAllocationMethod;
this.privateLinkConfiguration = defaults.privateLinkConfiguration;
this.provisioningState = defaults.provisioningState;
this.publicIPAddress = defaults.publicIPAddress;
this.subnet = defaults.subnet;
this.type = defaults.type;
}
@CustomType.Setter
public Builder etag(String etag) {
if (etag == null) {
throw new MissingRequiredPropertyException("ApplicationGatewayFrontendIPConfigurationResponse", "etag");
}
this.etag = etag;
return this;
}
@CustomType.Setter
public Builder id(@Nullable String id) {
this.id = id;
return this;
}
@CustomType.Setter
public Builder name(@Nullable String name) {
this.name = name;
return this;
}
@CustomType.Setter
public Builder privateIPAddress(@Nullable String privateIPAddress) {
this.privateIPAddress = privateIPAddress;
return this;
}
@CustomType.Setter
public Builder privateIPAllocationMethod(@Nullable String privateIPAllocationMethod) {
this.privateIPAllocationMethod = privateIPAllocationMethod;
return this;
}
@CustomType.Setter
public Builder privateLinkConfiguration(@Nullable SubResourceResponse privateLinkConfiguration) {
this.privateLinkConfiguration = privateLinkConfiguration;
return this;
}
@CustomType.Setter
public Builder provisioningState(String provisioningState) {
if (provisioningState == null) {
throw new MissingRequiredPropertyException("ApplicationGatewayFrontendIPConfigurationResponse", "provisioningState");
}
this.provisioningState = provisioningState;
return this;
}
@CustomType.Setter
public Builder publicIPAddress(@Nullable SubResourceResponse publicIPAddress) {
this.publicIPAddress = publicIPAddress;
return this;
}
@CustomType.Setter
public Builder subnet(@Nullable SubResourceResponse subnet) {
this.subnet = subnet;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("ApplicationGatewayFrontendIPConfigurationResponse", "type");
}
this.type = type;
return this;
}
public ApplicationGatewayFrontendIPConfigurationResponse build() {
final var _resultValue = new ApplicationGatewayFrontendIPConfigurationResponse();
_resultValue.etag = etag;
_resultValue.id = id;
_resultValue.name = name;
_resultValue.privateIPAddress = privateIPAddress;
_resultValue.privateIPAllocationMethod = privateIPAllocationMethod;
_resultValue.privateLinkConfiguration = privateLinkConfiguration;
_resultValue.provisioningState = provisioningState;
_resultValue.publicIPAddress = publicIPAddress;
_resultValue.subnet = subnet;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy