Class ApplicationGatewayUrlConfiguration
java.lang.Object
com.azure.resourcemanager.network.models.ApplicationGatewayUrlConfiguration
Url configuration of the Actions set in Application Gateway.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ApplicationGatewayUrlConfiguration class. -
Method Summary
Modifier and TypeMethodDescriptionGet the modifiedPath property: Url path which user has provided for url rewrite.Get the modifiedQueryString property: Query string which user has provided for url rewrite.reroute()Get the reroute property: If set as true, it will re-evaluate the url path map provided in path based request routing rules using modified path.voidvalidate()Validates the instance.withModifiedPath(String modifiedPath) Set the modifiedPath property: Url path which user has provided for url rewrite.withModifiedQueryString(String modifiedQueryString) Set the modifiedQueryString property: Query string which user has provided for url rewrite.withReroute(Boolean reroute) Set the reroute property: If set as true, it will re-evaluate the url path map provided in path based request routing rules using modified path.
-
Constructor Details
-
ApplicationGatewayUrlConfiguration
public ApplicationGatewayUrlConfiguration()Creates an instance of ApplicationGatewayUrlConfiguration class.
-
-
Method Details
-
modifiedPath
Get the modifiedPath property: Url path which user has provided for url rewrite. Null means no path will be updated. Default value is null.- Returns:
- the modifiedPath value.
-
withModifiedPath
Set the modifiedPath property: Url path which user has provided for url rewrite. Null means no path will be updated. Default value is null.- Parameters:
modifiedPath- the modifiedPath value to set.- Returns:
- the ApplicationGatewayUrlConfiguration object itself.
-
modifiedQueryString
Get the modifiedQueryString property: Query string which user has provided for url rewrite. Null means no query string will be updated. Default value is null.- Returns:
- the modifiedQueryString value.
-
withModifiedQueryString
Set the modifiedQueryString property: Query string which user has provided for url rewrite. Null means no query string will be updated. Default value is null.- Parameters:
modifiedQueryString- the modifiedQueryString value to set.- Returns:
- the ApplicationGatewayUrlConfiguration object itself.
-
reroute
Get the reroute property: If set as true, it will re-evaluate the url path map provided in path based request routing rules using modified path. Default value is false.- Returns:
- the reroute value.
-
withReroute
Set the reroute property: If set as true, it will re-evaluate the url path map provided in path based request routing rules using modified path. Default value is false.- Parameters:
reroute- the reroute value to set.- Returns:
- the ApplicationGatewayUrlConfiguration object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-