ApplicationGatewayUrlConfiguration Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. ApplicationGatewayUrlConfiguration
- com.
Implements
public final class ApplicationGatewayUrlConfiguration
implements JsonSerializable<ApplicationGatewayUrlConfiguration>
Url configuration of the Actions set in Application Gateway.
Constructor Summary
Constructor | Description |
---|---|
ApplicationGatewayUrlConfiguration() |
Creates an instance of Application |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Application |
fromJson(JsonReader jsonReader)
Reads an instance of Application |
String |
modifiedPath()
Get the modified |
String |
modifiedQueryString()
Get the modified |
Boolean |
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. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Application |
withModifiedPath(String modifiedPath)
Set the modified |
Application |
withModifiedQueryString(String modifiedQueryString)
Set the modified |
Application |
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. |
Methods inherited from java.lang.Object
Constructor Details
ApplicationGatewayUrlConfiguration
public ApplicationGatewayUrlConfiguration()
Creates an instance of ApplicationGatewayUrlConfiguration class.
Method Details
fromJson
public static ApplicationGatewayUrlConfiguration fromJson(JsonReader jsonReader)
Reads an instance of ApplicationGatewayUrlConfiguration from the JsonReader.
Parameters:
Returns:
Throws:
modifiedPath
public String 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:
modifiedQueryString
public String 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:
reroute
public Boolean 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:
toJson
validate
public void validate()
Validates the instance.
withModifiedPath
public ApplicationGatewayUrlConfiguration withModifiedPath(String modifiedPath)
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:
Returns:
withModifiedQueryString
public ApplicationGatewayUrlConfiguration withModifiedQueryString(String modifiedQueryString)
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:
Returns:
withReroute
public ApplicationGatewayUrlConfiguration 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. Default value is false.
Parameters:
Returns:
Applies to
Azure SDK for Java