com.microsoft.azure.management.network.implementation.ApplicationGatewayRequestRoutingRuleInner Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-mgmt-network Show documentation
Show all versions of azure-mgmt-network Show documentation
This package contains Microsoft Azure Network Management SDK. A new set of management libraries are now Generally Available. For documentation on how to use the new libraries, please see https://aka.ms/azsdk/java/mgmt
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.network.implementation;
import com.microsoft.azure.management.network.ApplicationGatewayRequestRoutingRuleType;
import com.microsoft.azure.SubResource;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.rest.serializer.JsonFlatten;
/**
* Request routing rule of an application gateway.
*/
@JsonFlatten
public class ApplicationGatewayRequestRoutingRuleInner extends SubResource {
/**
* Rule type. Possible values are: 'Basic' and 'PathBasedRouting'. Possible
* values include: 'Basic', 'PathBasedRouting'.
*/
@JsonProperty(value = "properties.ruleType")
private ApplicationGatewayRequestRoutingRuleType ruleType;
/**
* Backend address pool resource of the application gateway.
*/
@JsonProperty(value = "properties.backendAddressPool")
private SubResource backendAddressPool;
/**
* Frontend port resource of the application gateway.
*/
@JsonProperty(value = "properties.backendHttpSettings")
private SubResource backendHttpSettings;
/**
* Http listener resource of the application gateway.
*/
@JsonProperty(value = "properties.httpListener")
private SubResource httpListener;
/**
* URL path map resource of the application gateway.
*/
@JsonProperty(value = "properties.urlPathMap")
private SubResource urlPathMap;
/**
* Provisioning state of the request routing rule resource. Possible values
* are: 'Updating', 'Deleting', and 'Failed'.
*/
@JsonProperty(value = "properties.provisioningState")
private String provisioningState;
/**
* Name of the resource that is unique within a resource group. This name
* can be used to access the resource.
*/
@JsonProperty(value = "name")
private String name;
/**
* A unique read-only string that changes whenever the resource is updated.
*/
@JsonProperty(value = "etag")
private String etag;
/**
* Get the ruleType value.
*
* @return the ruleType value
*/
public ApplicationGatewayRequestRoutingRuleType ruleType() {
return this.ruleType;
}
/**
* Set the ruleType value.
*
* @param ruleType the ruleType value to set
* @return the ApplicationGatewayRequestRoutingRuleInner object itself.
*/
public ApplicationGatewayRequestRoutingRuleInner withRuleType(ApplicationGatewayRequestRoutingRuleType ruleType) {
this.ruleType = ruleType;
return this;
}
/**
* Get the backendAddressPool value.
*
* @return the backendAddressPool value
*/
public SubResource backendAddressPool() {
return this.backendAddressPool;
}
/**
* Set the backendAddressPool value.
*
* @param backendAddressPool the backendAddressPool value to set
* @return the ApplicationGatewayRequestRoutingRuleInner object itself.
*/
public ApplicationGatewayRequestRoutingRuleInner withBackendAddressPool(SubResource backendAddressPool) {
this.backendAddressPool = backendAddressPool;
return this;
}
/**
* Get the backendHttpSettings value.
*
* @return the backendHttpSettings value
*/
public SubResource backendHttpSettings() {
return this.backendHttpSettings;
}
/**
* Set the backendHttpSettings value.
*
* @param backendHttpSettings the backendHttpSettings value to set
* @return the ApplicationGatewayRequestRoutingRuleInner object itself.
*/
public ApplicationGatewayRequestRoutingRuleInner withBackendHttpSettings(SubResource backendHttpSettings) {
this.backendHttpSettings = backendHttpSettings;
return this;
}
/**
* Get the httpListener value.
*
* @return the httpListener value
*/
public SubResource httpListener() {
return this.httpListener;
}
/**
* Set the httpListener value.
*
* @param httpListener the httpListener value to set
* @return the ApplicationGatewayRequestRoutingRuleInner object itself.
*/
public ApplicationGatewayRequestRoutingRuleInner withHttpListener(SubResource httpListener) {
this.httpListener = httpListener;
return this;
}
/**
* Get the urlPathMap value.
*
* @return the urlPathMap value
*/
public SubResource urlPathMap() {
return this.urlPathMap;
}
/**
* Set the urlPathMap value.
*
* @param urlPathMap the urlPathMap value to set
* @return the ApplicationGatewayRequestRoutingRuleInner object itself.
*/
public ApplicationGatewayRequestRoutingRuleInner withUrlPathMap(SubResource urlPathMap) {
this.urlPathMap = urlPathMap;
return this;
}
/**
* Get the provisioningState value.
*
* @return the provisioningState value
*/
public String provisioningState() {
return this.provisioningState;
}
/**
* Set the provisioningState value.
*
* @param provisioningState the provisioningState value to set
* @return the ApplicationGatewayRequestRoutingRuleInner object itself.
*/
public ApplicationGatewayRequestRoutingRuleInner withProvisioningState(String provisioningState) {
this.provisioningState = provisioningState;
return this;
}
/**
* Get the name value.
*
* @return the name value
*/
public String name() {
return this.name;
}
/**
* Set the name value.
*
* @param name the name value to set
* @return the ApplicationGatewayRequestRoutingRuleInner object itself.
*/
public ApplicationGatewayRequestRoutingRuleInner withName(String name) {
this.name = name;
return this;
}
/**
* Get the etag value.
*
* @return the etag value
*/
public String etag() {
return this.etag;
}
/**
* Set the etag value.
*
* @param etag the etag value to set
* @return the ApplicationGatewayRequestRoutingRuleInner object itself.
*/
public ApplicationGatewayRequestRoutingRuleInner withEtag(String etag) {
this.etag = etag;
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy