All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.network.outputs.ApplicationGatewayRequestRoutingRuleResponse Maven / Gradle / Ivy

There is a newer version: 2.72.0
Show newest version
// *** 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.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class ApplicationGatewayRequestRoutingRuleResponse {
    /**
     * @return Backend address pool resource of the application gateway.
     * 
     */
    private @Nullable SubResourceResponse backendAddressPool;
    /**
     * @return Backend http settings resource of the application gateway.
     * 
     */
    private @Nullable SubResourceResponse backendHttpSettings;
    /**
     * @return A unique read-only string that changes whenever the resource is updated.
     * 
     */
    private String etag;
    /**
     * @return Http listener resource of the application gateway.
     * 
     */
    private @Nullable SubResourceResponse httpListener;
    /**
     * @return Resource ID.
     * 
     */
    private @Nullable String id;
    /**
     * @return Load Distribution Policy resource of the application gateway.
     * 
     */
    private @Nullable SubResourceResponse loadDistributionPolicy;
    /**
     * @return Name of the request routing rule that is unique within an Application Gateway.
     * 
     */
    private @Nullable String name;
    /**
     * @return Priority of the request routing rule.
     * 
     */
    private @Nullable Integer priority;
    /**
     * @return The provisioning state of the request routing rule resource.
     * 
     */
    private String provisioningState;
    /**
     * @return Redirect configuration resource of the application gateway.
     * 
     */
    private @Nullable SubResourceResponse redirectConfiguration;
    /**
     * @return Rewrite Rule Set resource in Basic rule of the application gateway.
     * 
     */
    private @Nullable SubResourceResponse rewriteRuleSet;
    /**
     * @return Rule type.
     * 
     */
    private @Nullable String ruleType;
    /**
     * @return Type of the resource.
     * 
     */
    private String type;
    /**
     * @return URL path map resource of the application gateway.
     * 
     */
    private @Nullable SubResourceResponse urlPathMap;

    private ApplicationGatewayRequestRoutingRuleResponse() {}
    /**
     * @return Backend address pool resource of the application gateway.
     * 
     */
    public Optional backendAddressPool() {
        return Optional.ofNullable(this.backendAddressPool);
    }
    /**
     * @return Backend http settings resource of the application gateway.
     * 
     */
    public Optional backendHttpSettings() {
        return Optional.ofNullable(this.backendHttpSettings);
    }
    /**
     * @return A unique read-only string that changes whenever the resource is updated.
     * 
     */
    public String etag() {
        return this.etag;
    }
    /**
     * @return Http listener resource of the application gateway.
     * 
     */
    public Optional httpListener() {
        return Optional.ofNullable(this.httpListener);
    }
    /**
     * @return Resource ID.
     * 
     */
    public Optional id() {
        return Optional.ofNullable(this.id);
    }
    /**
     * @return Load Distribution Policy resource of the application gateway.
     * 
     */
    public Optional loadDistributionPolicy() {
        return Optional.ofNullable(this.loadDistributionPolicy);
    }
    /**
     * @return Name of the request routing rule that is unique within an Application Gateway.
     * 
     */
    public Optional name() {
        return Optional.ofNullable(this.name);
    }
    /**
     * @return Priority of the request routing rule.
     * 
     */
    public Optional priority() {
        return Optional.ofNullable(this.priority);
    }
    /**
     * @return The provisioning state of the request routing rule resource.
     * 
     */
    public String provisioningState() {
        return this.provisioningState;
    }
    /**
     * @return Redirect configuration resource of the application gateway.
     * 
     */
    public Optional redirectConfiguration() {
        return Optional.ofNullable(this.redirectConfiguration);
    }
    /**
     * @return Rewrite Rule Set resource in Basic rule of the application gateway.
     * 
     */
    public Optional rewriteRuleSet() {
        return Optional.ofNullable(this.rewriteRuleSet);
    }
    /**
     * @return Rule type.
     * 
     */
    public Optional ruleType() {
        return Optional.ofNullable(this.ruleType);
    }
    /**
     * @return Type of the resource.
     * 
     */
    public String type() {
        return this.type;
    }
    /**
     * @return URL path map resource of the application gateway.
     * 
     */
    public Optional urlPathMap() {
        return Optional.ofNullable(this.urlPathMap);
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(ApplicationGatewayRequestRoutingRuleResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable SubResourceResponse backendAddressPool;
        private @Nullable SubResourceResponse backendHttpSettings;
        private String etag;
        private @Nullable SubResourceResponse httpListener;
        private @Nullable String id;
        private @Nullable SubResourceResponse loadDistributionPolicy;
        private @Nullable String name;
        private @Nullable Integer priority;
        private String provisioningState;
        private @Nullable SubResourceResponse redirectConfiguration;
        private @Nullable SubResourceResponse rewriteRuleSet;
        private @Nullable String ruleType;
        private String type;
        private @Nullable SubResourceResponse urlPathMap;
        public Builder() {}
        public Builder(ApplicationGatewayRequestRoutingRuleResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.backendAddressPool = defaults.backendAddressPool;
    	      this.backendHttpSettings = defaults.backendHttpSettings;
    	      this.etag = defaults.etag;
    	      this.httpListener = defaults.httpListener;
    	      this.id = defaults.id;
    	      this.loadDistributionPolicy = defaults.loadDistributionPolicy;
    	      this.name = defaults.name;
    	      this.priority = defaults.priority;
    	      this.provisioningState = defaults.provisioningState;
    	      this.redirectConfiguration = defaults.redirectConfiguration;
    	      this.rewriteRuleSet = defaults.rewriteRuleSet;
    	      this.ruleType = defaults.ruleType;
    	      this.type = defaults.type;
    	      this.urlPathMap = defaults.urlPathMap;
        }

        @CustomType.Setter
        public Builder backendAddressPool(@Nullable SubResourceResponse backendAddressPool) {

            this.backendAddressPool = backendAddressPool;
            return this;
        }
        @CustomType.Setter
        public Builder backendHttpSettings(@Nullable SubResourceResponse backendHttpSettings) {

            this.backendHttpSettings = backendHttpSettings;
            return this;
        }
        @CustomType.Setter
        public Builder etag(String etag) {
            if (etag == null) {
              throw new MissingRequiredPropertyException("ApplicationGatewayRequestRoutingRuleResponse", "etag");
            }
            this.etag = etag;
            return this;
        }
        @CustomType.Setter
        public Builder httpListener(@Nullable SubResourceResponse httpListener) {

            this.httpListener = httpListener;
            return this;
        }
        @CustomType.Setter
        public Builder id(@Nullable String id) {

            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder loadDistributionPolicy(@Nullable SubResourceResponse loadDistributionPolicy) {

            this.loadDistributionPolicy = loadDistributionPolicy;
            return this;
        }
        @CustomType.Setter
        public Builder name(@Nullable String name) {

            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder priority(@Nullable Integer priority) {

            this.priority = priority;
            return this;
        }
        @CustomType.Setter
        public Builder provisioningState(String provisioningState) {
            if (provisioningState == null) {
              throw new MissingRequiredPropertyException("ApplicationGatewayRequestRoutingRuleResponse", "provisioningState");
            }
            this.provisioningState = provisioningState;
            return this;
        }
        @CustomType.Setter
        public Builder redirectConfiguration(@Nullable SubResourceResponse redirectConfiguration) {

            this.redirectConfiguration = redirectConfiguration;
            return this;
        }
        @CustomType.Setter
        public Builder rewriteRuleSet(@Nullable SubResourceResponse rewriteRuleSet) {

            this.rewriteRuleSet = rewriteRuleSet;
            return this;
        }
        @CustomType.Setter
        public Builder ruleType(@Nullable String ruleType) {

            this.ruleType = ruleType;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("ApplicationGatewayRequestRoutingRuleResponse", "type");
            }
            this.type = type;
            return this;
        }
        @CustomType.Setter
        public Builder urlPathMap(@Nullable SubResourceResponse urlPathMap) {

            this.urlPathMap = urlPathMap;
            return this;
        }
        public ApplicationGatewayRequestRoutingRuleResponse build() {
            final var _resultValue = new ApplicationGatewayRequestRoutingRuleResponse();
            _resultValue.backendAddressPool = backendAddressPool;
            _resultValue.backendHttpSettings = backendHttpSettings;
            _resultValue.etag = etag;
            _resultValue.httpListener = httpListener;
            _resultValue.id = id;
            _resultValue.loadDistributionPolicy = loadDistributionPolicy;
            _resultValue.name = name;
            _resultValue.priority = priority;
            _resultValue.provisioningState = provisioningState;
            _resultValue.redirectConfiguration = redirectConfiguration;
            _resultValue.rewriteRuleSet = rewriteRuleSet;
            _resultValue.ruleType = ruleType;
            _resultValue.type = type;
            _resultValue.urlPathMap = urlPathMap;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy