Class ApplicationGatewayUrlPathMapPropertiesFormat
java.lang.Object
com.azure.resourcemanager.network.fluent.models.ApplicationGatewayUrlPathMapPropertiesFormat
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ApplicationGatewayUrlPathMapPropertiesFormat>
public final class ApplicationGatewayUrlPathMapPropertiesFormat
extends Object
implements com.azure.json.JsonSerializable<ApplicationGatewayUrlPathMapPropertiesFormat>
Properties of UrlPathMap of the application gateway.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ApplicationGatewayUrlPathMapPropertiesFormat class. -
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.management.SubResourceGet the defaultBackendAddressPool property: Default backend address pool resource of URL path map.com.azure.core.management.SubResourceGet the defaultBackendHttpSettings property: Default backend http settings resource of URL path map.com.azure.core.management.SubResourceGet the defaultLoadDistributionPolicy property: Default Load Distribution Policy resource of URL path map.com.azure.core.management.SubResourceGet the defaultRedirectConfiguration property: Default redirect configuration resource of URL path map.com.azure.core.management.SubResourceGet the defaultRewriteRuleSet property: Default Rewrite rule set resource of URL path map.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ApplicationGatewayUrlPathMapPropertiesFormat from the JsonReader.Get the pathRules property: Path rule of URL path map resource.Get the provisioningState property: The provisioning state of the URL path map resource.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withDefaultBackendAddressPool(com.azure.core.management.SubResource defaultBackendAddressPool) Set the defaultBackendAddressPool property: Default backend address pool resource of URL path map.withDefaultBackendHttpSettings(com.azure.core.management.SubResource defaultBackendHttpSettings) Set the defaultBackendHttpSettings property: Default backend http settings resource of URL path map.withDefaultLoadDistributionPolicy(com.azure.core.management.SubResource defaultLoadDistributionPolicy) Set the defaultLoadDistributionPolicy property: Default Load Distribution Policy resource of URL path map.withDefaultRedirectConfiguration(com.azure.core.management.SubResource defaultRedirectConfiguration) Set the defaultRedirectConfiguration property: Default redirect configuration resource of URL path map.withDefaultRewriteRuleSet(com.azure.core.management.SubResource defaultRewriteRuleSet) Set the defaultRewriteRuleSet property: Default Rewrite rule set resource of URL path map.withPathRules(List<ApplicationGatewayPathRuleInner> pathRules) Set the pathRules property: Path rule of URL path map resource.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
-
ApplicationGatewayUrlPathMapPropertiesFormat
public ApplicationGatewayUrlPathMapPropertiesFormat()Creates an instance of ApplicationGatewayUrlPathMapPropertiesFormat class.
-
-
Method Details
-
defaultBackendAddressPool
public com.azure.core.management.SubResource defaultBackendAddressPool()Get the defaultBackendAddressPool property: Default backend address pool resource of URL path map.- Returns:
- the defaultBackendAddressPool value.
-
withDefaultBackendAddressPool
public ApplicationGatewayUrlPathMapPropertiesFormat withDefaultBackendAddressPool(com.azure.core.management.SubResource defaultBackendAddressPool) Set the defaultBackendAddressPool property: Default backend address pool resource of URL path map.- Parameters:
defaultBackendAddressPool- the defaultBackendAddressPool value to set.- Returns:
- the ApplicationGatewayUrlPathMapPropertiesFormat object itself.
-
defaultBackendHttpSettings
public com.azure.core.management.SubResource defaultBackendHttpSettings()Get the defaultBackendHttpSettings property: Default backend http settings resource of URL path map.- Returns:
- the defaultBackendHttpSettings value.
-
withDefaultBackendHttpSettings
public ApplicationGatewayUrlPathMapPropertiesFormat withDefaultBackendHttpSettings(com.azure.core.management.SubResource defaultBackendHttpSettings) Set the defaultBackendHttpSettings property: Default backend http settings resource of URL path map.- Parameters:
defaultBackendHttpSettings- the defaultBackendHttpSettings value to set.- Returns:
- the ApplicationGatewayUrlPathMapPropertiesFormat object itself.
-
defaultRewriteRuleSet
public com.azure.core.management.SubResource defaultRewriteRuleSet()Get the defaultRewriteRuleSet property: Default Rewrite rule set resource of URL path map.- Returns:
- the defaultRewriteRuleSet value.
-
withDefaultRewriteRuleSet
public ApplicationGatewayUrlPathMapPropertiesFormat withDefaultRewriteRuleSet(com.azure.core.management.SubResource defaultRewriteRuleSet) Set the defaultRewriteRuleSet property: Default Rewrite rule set resource of URL path map.- Parameters:
defaultRewriteRuleSet- the defaultRewriteRuleSet value to set.- Returns:
- the ApplicationGatewayUrlPathMapPropertiesFormat object itself.
-
defaultRedirectConfiguration
public com.azure.core.management.SubResource defaultRedirectConfiguration()Get the defaultRedirectConfiguration property: Default redirect configuration resource of URL path map.- Returns:
- the defaultRedirectConfiguration value.
-
withDefaultRedirectConfiguration
public ApplicationGatewayUrlPathMapPropertiesFormat withDefaultRedirectConfiguration(com.azure.core.management.SubResource defaultRedirectConfiguration) Set the defaultRedirectConfiguration property: Default redirect configuration resource of URL path map.- Parameters:
defaultRedirectConfiguration- the defaultRedirectConfiguration value to set.- Returns:
- the ApplicationGatewayUrlPathMapPropertiesFormat object itself.
-
defaultLoadDistributionPolicy
public com.azure.core.management.SubResource defaultLoadDistributionPolicy()Get the defaultLoadDistributionPolicy property: Default Load Distribution Policy resource of URL path map.- Returns:
- the defaultLoadDistributionPolicy value.
-
withDefaultLoadDistributionPolicy
public ApplicationGatewayUrlPathMapPropertiesFormat withDefaultLoadDistributionPolicy(com.azure.core.management.SubResource defaultLoadDistributionPolicy) Set the defaultLoadDistributionPolicy property: Default Load Distribution Policy resource of URL path map.- Parameters:
defaultLoadDistributionPolicy- the defaultLoadDistributionPolicy value to set.- Returns:
- the ApplicationGatewayUrlPathMapPropertiesFormat object itself.
-
pathRules
Get the pathRules property: Path rule of URL path map resource.- Returns:
- the pathRules value.
-
withPathRules
public ApplicationGatewayUrlPathMapPropertiesFormat withPathRules(List<ApplicationGatewayPathRuleInner> pathRules) Set the pathRules property: Path rule of URL path map resource.- Parameters:
pathRules- the pathRules value to set.- Returns:
- the ApplicationGatewayUrlPathMapPropertiesFormat object itself.
-
provisioningState
Get the provisioningState property: The provisioning state of the URL path map 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<ApplicationGatewayUrlPathMapPropertiesFormat>- Throws:
IOException
-
fromJson
public static ApplicationGatewayUrlPathMapPropertiesFormat fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ApplicationGatewayUrlPathMapPropertiesFormat from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ApplicationGatewayUrlPathMapPropertiesFormat 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 ApplicationGatewayUrlPathMapPropertiesFormat.
-