Class ApplicationGatewayRequestRoutingRulePropertiesFormat
java.lang.Object
com.azure.resourcemanager.network.fluent.models.ApplicationGatewayRequestRoutingRulePropertiesFormat
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ApplicationGatewayRequestRoutingRulePropertiesFormat>
public final class ApplicationGatewayRequestRoutingRulePropertiesFormat
extends Object
implements com.azure.json.JsonSerializable<ApplicationGatewayRequestRoutingRulePropertiesFormat>
Properties of request routing rule of the application gateway.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ApplicationGatewayRequestRoutingRulePropertiesFormat class. -
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.management.SubResourceGet the backendAddressPool property: Backend address pool resource of the application gateway.com.azure.core.management.SubResourceGet the backendHttpSettings property: Backend http settings resource of the application gateway.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ApplicationGatewayRequestRoutingRulePropertiesFormat from the JsonReader.com.azure.core.management.SubResourceGet the httpListener property: Http listener resource of the application gateway.com.azure.core.management.SubResourceGet the loadDistributionPolicy property: Load Distribution Policy resource of the application gateway.priority()Get the priority property: Priority of the request routing rule.Get the provisioningState property: The provisioning state of the request routing rule resource.com.azure.core.management.SubResourceGet the redirectConfiguration property: Redirect configuration resource of the application gateway.com.azure.core.management.SubResourceGet the rewriteRuleSet property: Rewrite Rule Set resource in Basic rule of the application gateway.ruleType()Get the ruleType property: Rule type.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) com.azure.core.management.SubResourceGet the urlPathMap property: URL path map resource of the application gateway.voidvalidate()Validates the instance.withBackendAddressPool(com.azure.core.management.SubResource backendAddressPool) Set the backendAddressPool property: Backend address pool resource of the application gateway.withBackendHttpSettings(com.azure.core.management.SubResource backendHttpSettings) Set the backendHttpSettings property: Backend http settings resource of the application gateway.withHttpListener(com.azure.core.management.SubResource httpListener) Set the httpListener property: Http listener resource of the application gateway.withLoadDistributionPolicy(com.azure.core.management.SubResource loadDistributionPolicy) Set the loadDistributionPolicy property: Load Distribution Policy resource of the application gateway.withPriority(Integer priority) Set the priority property: Priority of the request routing rule.withRedirectConfiguration(com.azure.core.management.SubResource redirectConfiguration) Set the redirectConfiguration property: Redirect configuration resource of the application gateway.withRewriteRuleSet(com.azure.core.management.SubResource rewriteRuleSet) Set the rewriteRuleSet property: Rewrite Rule Set resource in Basic rule of the application gateway.Set the ruleType property: Rule type.withUrlPathMap(com.azure.core.management.SubResource urlPathMap) Set the urlPathMap property: URL path map resource of the application gateway.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
ApplicationGatewayRequestRoutingRulePropertiesFormat
public ApplicationGatewayRequestRoutingRulePropertiesFormat()Creates an instance of ApplicationGatewayRequestRoutingRulePropertiesFormat class.
-
-
Method Details
-
ruleType
Get the ruleType property: Rule type.- Returns:
- the ruleType value.
-
withRuleType
public ApplicationGatewayRequestRoutingRulePropertiesFormat withRuleType(ApplicationGatewayRequestRoutingRuleType ruleType) Set the ruleType property: Rule type.- Parameters:
ruleType- the ruleType value to set.- Returns:
- the ApplicationGatewayRequestRoutingRulePropertiesFormat object itself.
-
priority
Get the priority property: Priority of the request routing rule.- Returns:
- the priority value.
-
withPriority
Set the priority property: Priority of the request routing rule.- Parameters:
priority- the priority value to set.- Returns:
- the ApplicationGatewayRequestRoutingRulePropertiesFormat object itself.
-
backendAddressPool
public com.azure.core.management.SubResource backendAddressPool()Get the backendAddressPool property: Backend address pool resource of the application gateway.- Returns:
- the backendAddressPool value.
-
withBackendAddressPool
public ApplicationGatewayRequestRoutingRulePropertiesFormat withBackendAddressPool(com.azure.core.management.SubResource backendAddressPool) Set the backendAddressPool property: Backend address pool resource of the application gateway.- Parameters:
backendAddressPool- the backendAddressPool value to set.- Returns:
- the ApplicationGatewayRequestRoutingRulePropertiesFormat object itself.
-
backendHttpSettings
public com.azure.core.management.SubResource backendHttpSettings()Get the backendHttpSettings property: Backend http settings resource of the application gateway.- Returns:
- the backendHttpSettings value.
-
withBackendHttpSettings
public ApplicationGatewayRequestRoutingRulePropertiesFormat withBackendHttpSettings(com.azure.core.management.SubResource backendHttpSettings) Set the backendHttpSettings property: Backend http settings resource of the application gateway.- Parameters:
backendHttpSettings- the backendHttpSettings value to set.- Returns:
- the ApplicationGatewayRequestRoutingRulePropertiesFormat object itself.
-
httpListener
public com.azure.core.management.SubResource httpListener()Get the httpListener property: Http listener resource of the application gateway.- Returns:
- the httpListener value.
-
withHttpListener
public ApplicationGatewayRequestRoutingRulePropertiesFormat withHttpListener(com.azure.core.management.SubResource httpListener) Set the httpListener property: Http listener resource of the application gateway.- Parameters:
httpListener- the httpListener value to set.- Returns:
- the ApplicationGatewayRequestRoutingRulePropertiesFormat object itself.
-
urlPathMap
public com.azure.core.management.SubResource urlPathMap()Get the urlPathMap property: URL path map resource of the application gateway.- Returns:
- the urlPathMap value.
-
withUrlPathMap
public ApplicationGatewayRequestRoutingRulePropertiesFormat withUrlPathMap(com.azure.core.management.SubResource urlPathMap) Set the urlPathMap property: URL path map resource of the application gateway.- Parameters:
urlPathMap- the urlPathMap value to set.- Returns:
- the ApplicationGatewayRequestRoutingRulePropertiesFormat object itself.
-
rewriteRuleSet
public com.azure.core.management.SubResource rewriteRuleSet()Get the rewriteRuleSet property: Rewrite Rule Set resource in Basic rule of the application gateway.- Returns:
- the rewriteRuleSet value.
-
withRewriteRuleSet
public ApplicationGatewayRequestRoutingRulePropertiesFormat withRewriteRuleSet(com.azure.core.management.SubResource rewriteRuleSet) Set the rewriteRuleSet property: Rewrite Rule Set resource in Basic rule of the application gateway.- Parameters:
rewriteRuleSet- the rewriteRuleSet value to set.- Returns:
- the ApplicationGatewayRequestRoutingRulePropertiesFormat object itself.
-
redirectConfiguration
public com.azure.core.management.SubResource redirectConfiguration()Get the redirectConfiguration property: Redirect configuration resource of the application gateway.- Returns:
- the redirectConfiguration value.
-
withRedirectConfiguration
public ApplicationGatewayRequestRoutingRulePropertiesFormat withRedirectConfiguration(com.azure.core.management.SubResource redirectConfiguration) Set the redirectConfiguration property: Redirect configuration resource of the application gateway.- Parameters:
redirectConfiguration- the redirectConfiguration value to set.- Returns:
- the ApplicationGatewayRequestRoutingRulePropertiesFormat object itself.
-
loadDistributionPolicy
public com.azure.core.management.SubResource loadDistributionPolicy()Get the loadDistributionPolicy property: Load Distribution Policy resource of the application gateway.- Returns:
- the loadDistributionPolicy value.
-
withLoadDistributionPolicy
public ApplicationGatewayRequestRoutingRulePropertiesFormat withLoadDistributionPolicy(com.azure.core.management.SubResource loadDistributionPolicy) Set the loadDistributionPolicy property: Load Distribution Policy resource of the application gateway.- Parameters:
loadDistributionPolicy- the loadDistributionPolicy value to set.- Returns:
- the ApplicationGatewayRequestRoutingRulePropertiesFormat object itself.
-
provisioningState
Get the provisioningState property: The provisioning state of the request routing rule resource.- Returns:
- the provisioningState value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ApplicationGatewayRequestRoutingRulePropertiesFormat>- Throws:
IOException
-
fromJson
public static ApplicationGatewayRequestRoutingRulePropertiesFormat fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ApplicationGatewayRequestRoutingRulePropertiesFormat from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ApplicationGatewayRequestRoutingRulePropertiesFormat if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the ApplicationGatewayRequestRoutingRulePropertiesFormat.
-