public class ApplicationGatewayRedirectConfigurationInner
extends com.azure.core.management.SubResource
| Constructor and Description |
|---|
ApplicationGatewayRedirectConfigurationInner() |
| Modifier and Type | Method and Description |
|---|---|
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
|
Boolean |
includePath()
Get the includePath property: Include path in the redirected url.
|
Boolean |
includeQueryString()
Get the includeQueryString property: Include query string in the redirected url.
|
String |
name()
Get the name property: Name of the redirect configuration that is unique within an Application Gateway.
|
List<com.azure.core.management.SubResource> |
pathRules()
Get the pathRules property: Path rules specifying redirect configuration.
|
ApplicationGatewayRedirectType |
redirectType()
Get the redirectType property: HTTP redirection type.
|
List<com.azure.core.management.SubResource> |
requestRoutingRules()
Get the requestRoutingRules property: Request routing specifying redirect configuration.
|
com.azure.core.management.SubResource |
targetListener()
Get the targetListener property: Reference to a listener to redirect the request to.
|
String |
targetUrl()
Get the targetUrl property: Url to redirect the request to.
|
String |
type()
Get the type property: Type of the resource.
|
List<com.azure.core.management.SubResource> |
urlPathMaps()
Get the urlPathMaps property: Url path maps specifying default redirect configuration.
|
void |
validate()
Validates the instance.
|
ApplicationGatewayRedirectConfigurationInner |
withIncludePath(Boolean includePath)
Set the includePath property: Include path in the redirected url.
|
ApplicationGatewayRedirectConfigurationInner |
withIncludeQueryString(Boolean includeQueryString)
Set the includeQueryString property: Include query string in the redirected url.
|
ApplicationGatewayRedirectConfigurationInner |
withName(String name)
Set the name property: Name of the redirect configuration that is unique within an Application Gateway.
|
ApplicationGatewayRedirectConfigurationInner |
withPathRules(List<com.azure.core.management.SubResource> pathRules)
Set the pathRules property: Path rules specifying redirect configuration.
|
ApplicationGatewayRedirectConfigurationInner |
withRedirectType(ApplicationGatewayRedirectType redirectType)
Set the redirectType property: HTTP redirection type.
|
ApplicationGatewayRedirectConfigurationInner |
withRequestRoutingRules(List<com.azure.core.management.SubResource> requestRoutingRules)
Set the requestRoutingRules property: Request routing specifying redirect configuration.
|
ApplicationGatewayRedirectConfigurationInner |
withTargetListener(com.azure.core.management.SubResource targetListener)
Set the targetListener property: Reference to a listener to redirect the request to.
|
ApplicationGatewayRedirectConfigurationInner |
withTargetUrl(String targetUrl)
Set the targetUrl property: Url to redirect the request to.
|
ApplicationGatewayRedirectConfigurationInner |
withUrlPathMaps(List<com.azure.core.management.SubResource> urlPathMaps)
Set the urlPathMaps property: Url path maps specifying default redirect configuration.
|
public ApplicationGatewayRedirectConfigurationInner()
public String name()
public ApplicationGatewayRedirectConfigurationInner withName(String name)
name - the name value to set.public String etag()
public String type()
public ApplicationGatewayRedirectType redirectType()
public ApplicationGatewayRedirectConfigurationInner withRedirectType(ApplicationGatewayRedirectType redirectType)
redirectType - the redirectType value to set.public com.azure.core.management.SubResource targetListener()
public ApplicationGatewayRedirectConfigurationInner withTargetListener(com.azure.core.management.SubResource targetListener)
targetListener - the targetListener value to set.public String targetUrl()
public ApplicationGatewayRedirectConfigurationInner withTargetUrl(String targetUrl)
targetUrl - the targetUrl value to set.public Boolean includePath()
public ApplicationGatewayRedirectConfigurationInner withIncludePath(Boolean includePath)
includePath - the includePath value to set.public Boolean includeQueryString()
public ApplicationGatewayRedirectConfigurationInner withIncludeQueryString(Boolean includeQueryString)
includeQueryString - the includeQueryString value to set.public List<com.azure.core.management.SubResource> requestRoutingRules()
public ApplicationGatewayRedirectConfigurationInner withRequestRoutingRules(List<com.azure.core.management.SubResource> requestRoutingRules)
requestRoutingRules - the requestRoutingRules value to set.public List<com.azure.core.management.SubResource> urlPathMaps()
public ApplicationGatewayRedirectConfigurationInner withUrlPathMaps(List<com.azure.core.management.SubResource> urlPathMaps)
urlPathMaps - the urlPathMaps value to set.public List<com.azure.core.management.SubResource> pathRules()
public ApplicationGatewayRedirectConfigurationInner withPathRules(List<com.azure.core.management.SubResource> pathRules)
pathRules - the pathRules value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.