com.pulumi.azure.network.outputs.GetApplicationGatewayUrlPathMap 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.azure.network.outputs.GetApplicationGatewayUrlPathMapPathRule;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
@CustomType
public final class GetApplicationGatewayUrlPathMap {
/**
* @return The ID of the Default Backend Address Pool.
*
*/
private String defaultBackendAddressPoolId;
/**
* @return The Name of the Default Backend Address Pool which is used for this URL Path Map.
*
*/
private String defaultBackendAddressPoolName;
/**
* @return The ID of the Default Backend HTTP Settings Collection.
*
*/
private String defaultBackendHttpSettingsId;
/**
* @return The Name of the Default Backend HTTP Settings Collection which is used for this URL Path Map.
*
*/
private String defaultBackendHttpSettingsName;
/**
* @return The ID of the Default Redirect Configuration.
*
*/
private String defaultRedirectConfigurationId;
/**
* @return The Name of the Default Redirect Configuration which is used for this URL Path Map.
*
*/
private String defaultRedirectConfigurationName;
private String defaultRewriteRuleSetId;
/**
* @return The Name of the Default Rewrite Rule Set which is used for this URL Path Map.
*
*/
private String defaultRewriteRuleSetName;
/**
* @return The ID of the Rewrite Rule Set
*
*/
private String id;
/**
* @return The name of this Application Gateway.
*
*/
private String name;
/**
* @return One or more `path_rule` blocks as defined above.
*
*/
private List pathRules;
private GetApplicationGatewayUrlPathMap() {}
/**
* @return The ID of the Default Backend Address Pool.
*
*/
public String defaultBackendAddressPoolId() {
return this.defaultBackendAddressPoolId;
}
/**
* @return The Name of the Default Backend Address Pool which is used for this URL Path Map.
*
*/
public String defaultBackendAddressPoolName() {
return this.defaultBackendAddressPoolName;
}
/**
* @return The ID of the Default Backend HTTP Settings Collection.
*
*/
public String defaultBackendHttpSettingsId() {
return this.defaultBackendHttpSettingsId;
}
/**
* @return The Name of the Default Backend HTTP Settings Collection which is used for this URL Path Map.
*
*/
public String defaultBackendHttpSettingsName() {
return this.defaultBackendHttpSettingsName;
}
/**
* @return The ID of the Default Redirect Configuration.
*
*/
public String defaultRedirectConfigurationId() {
return this.defaultRedirectConfigurationId;
}
/**
* @return The Name of the Default Redirect Configuration which is used for this URL Path Map.
*
*/
public String defaultRedirectConfigurationName() {
return this.defaultRedirectConfigurationName;
}
public String defaultRewriteRuleSetId() {
return this.defaultRewriteRuleSetId;
}
/**
* @return The Name of the Default Rewrite Rule Set which is used for this URL Path Map.
*
*/
public String defaultRewriteRuleSetName() {
return this.defaultRewriteRuleSetName;
}
/**
* @return The ID of the Rewrite Rule Set
*
*/
public String id() {
return this.id;
}
/**
* @return The name of this Application Gateway.
*
*/
public String name() {
return this.name;
}
/**
* @return One or more `path_rule` blocks as defined above.
*
*/
public List pathRules() {
return this.pathRules;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetApplicationGatewayUrlPathMap defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String defaultBackendAddressPoolId;
private String defaultBackendAddressPoolName;
private String defaultBackendHttpSettingsId;
private String defaultBackendHttpSettingsName;
private String defaultRedirectConfigurationId;
private String defaultRedirectConfigurationName;
private String defaultRewriteRuleSetId;
private String defaultRewriteRuleSetName;
private String id;
private String name;
private List pathRules;
public Builder() {}
public Builder(GetApplicationGatewayUrlPathMap defaults) {
Objects.requireNonNull(defaults);
this.defaultBackendAddressPoolId = defaults.defaultBackendAddressPoolId;
this.defaultBackendAddressPoolName = defaults.defaultBackendAddressPoolName;
this.defaultBackendHttpSettingsId = defaults.defaultBackendHttpSettingsId;
this.defaultBackendHttpSettingsName = defaults.defaultBackendHttpSettingsName;
this.defaultRedirectConfigurationId = defaults.defaultRedirectConfigurationId;
this.defaultRedirectConfigurationName = defaults.defaultRedirectConfigurationName;
this.defaultRewriteRuleSetId = defaults.defaultRewriteRuleSetId;
this.defaultRewriteRuleSetName = defaults.defaultRewriteRuleSetName;
this.id = defaults.id;
this.name = defaults.name;
this.pathRules = defaults.pathRules;
}
@CustomType.Setter
public Builder defaultBackendAddressPoolId(String defaultBackendAddressPoolId) {
if (defaultBackendAddressPoolId == null) {
throw new MissingRequiredPropertyException("GetApplicationGatewayUrlPathMap", "defaultBackendAddressPoolId");
}
this.defaultBackendAddressPoolId = defaultBackendAddressPoolId;
return this;
}
@CustomType.Setter
public Builder defaultBackendAddressPoolName(String defaultBackendAddressPoolName) {
if (defaultBackendAddressPoolName == null) {
throw new MissingRequiredPropertyException("GetApplicationGatewayUrlPathMap", "defaultBackendAddressPoolName");
}
this.defaultBackendAddressPoolName = defaultBackendAddressPoolName;
return this;
}
@CustomType.Setter
public Builder defaultBackendHttpSettingsId(String defaultBackendHttpSettingsId) {
if (defaultBackendHttpSettingsId == null) {
throw new MissingRequiredPropertyException("GetApplicationGatewayUrlPathMap", "defaultBackendHttpSettingsId");
}
this.defaultBackendHttpSettingsId = defaultBackendHttpSettingsId;
return this;
}
@CustomType.Setter
public Builder defaultBackendHttpSettingsName(String defaultBackendHttpSettingsName) {
if (defaultBackendHttpSettingsName == null) {
throw new MissingRequiredPropertyException("GetApplicationGatewayUrlPathMap", "defaultBackendHttpSettingsName");
}
this.defaultBackendHttpSettingsName = defaultBackendHttpSettingsName;
return this;
}
@CustomType.Setter
public Builder defaultRedirectConfigurationId(String defaultRedirectConfigurationId) {
if (defaultRedirectConfigurationId == null) {
throw new MissingRequiredPropertyException("GetApplicationGatewayUrlPathMap", "defaultRedirectConfigurationId");
}
this.defaultRedirectConfigurationId = defaultRedirectConfigurationId;
return this;
}
@CustomType.Setter
public Builder defaultRedirectConfigurationName(String defaultRedirectConfigurationName) {
if (defaultRedirectConfigurationName == null) {
throw new MissingRequiredPropertyException("GetApplicationGatewayUrlPathMap", "defaultRedirectConfigurationName");
}
this.defaultRedirectConfigurationName = defaultRedirectConfigurationName;
return this;
}
@CustomType.Setter
public Builder defaultRewriteRuleSetId(String defaultRewriteRuleSetId) {
if (defaultRewriteRuleSetId == null) {
throw new MissingRequiredPropertyException("GetApplicationGatewayUrlPathMap", "defaultRewriteRuleSetId");
}
this.defaultRewriteRuleSetId = defaultRewriteRuleSetId;
return this;
}
@CustomType.Setter
public Builder defaultRewriteRuleSetName(String defaultRewriteRuleSetName) {
if (defaultRewriteRuleSetName == null) {
throw new MissingRequiredPropertyException("GetApplicationGatewayUrlPathMap", "defaultRewriteRuleSetName");
}
this.defaultRewriteRuleSetName = defaultRewriteRuleSetName;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetApplicationGatewayUrlPathMap", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetApplicationGatewayUrlPathMap", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder pathRules(List pathRules) {
if (pathRules == null) {
throw new MissingRequiredPropertyException("GetApplicationGatewayUrlPathMap", "pathRules");
}
this.pathRules = pathRules;
return this;
}
public Builder pathRules(GetApplicationGatewayUrlPathMapPathRule... pathRules) {
return pathRules(List.of(pathRules));
}
public GetApplicationGatewayUrlPathMap build() {
final var _resultValue = new GetApplicationGatewayUrlPathMap();
_resultValue.defaultBackendAddressPoolId = defaultBackendAddressPoolId;
_resultValue.defaultBackendAddressPoolName = defaultBackendAddressPoolName;
_resultValue.defaultBackendHttpSettingsId = defaultBackendHttpSettingsId;
_resultValue.defaultBackendHttpSettingsName = defaultBackendHttpSettingsName;
_resultValue.defaultRedirectConfigurationId = defaultRedirectConfigurationId;
_resultValue.defaultRedirectConfigurationName = defaultRedirectConfigurationName;
_resultValue.defaultRewriteRuleSetId = defaultRewriteRuleSetId;
_resultValue.defaultRewriteRuleSetName = defaultRewriteRuleSetName;
_resultValue.id = id;
_resultValue.name = name;
_resultValue.pathRules = pathRules;
return _resultValue;
}
}
}