ApplicationGatewayRedirectConfigurationInner Class

public final class ApplicationGatewayRedirectConfigurationInner
extends SubResource

Redirect configuration of an application gateway.

Constructor Summary

Constructor Description
ApplicationGatewayRedirectConfigurationInner()

Creates an instance of ApplicationGatewayRedirectConfigurationInner class.

Method Summary

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<SubResource> pathRules()

Get the pathRules property: Path rules specifying redirect configuration.

ApplicationGatewayRedirectType redirectType()

Get the redirectType property: HTTP redirection type.

List<SubResource> requestRoutingRules()

Get the requestRoutingRules property: Request routing specifying redirect configuration.

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<SubResource> urlPathMaps()

Get the urlPathMaps property: Url path maps specifying default redirect configuration.

void validate()

Validates the instance.

ApplicationGatewayRedirectConfigurationInner withId(String id)
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<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<SubResource> requestRoutingRules)

Set the requestRoutingRules property: Request routing specifying redirect configuration.

ApplicationGatewayRedirectConfigurationInner withTargetListener(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<SubResource> urlPathMaps)

Set the urlPathMaps property: Url path maps specifying default redirect configuration.

Methods inherited from SubResource

Methods inherited from java.lang.Object

Constructor Details

ApplicationGatewayRedirectConfigurationInner

public ApplicationGatewayRedirectConfigurationInner()

Creates an instance of ApplicationGatewayRedirectConfigurationInner class.

Method Details

etag

public String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

Returns:

the etag value.

includePath

public Boolean includePath()

Get the includePath property: Include path in the redirected url.

Returns:

the includePath value.

includeQueryString

public Boolean includeQueryString()

Get the includeQueryString property: Include query string in the redirected url.

Returns:

the includeQueryString value.

name

public String name()

Get the name property: Name of the redirect configuration that is unique within an Application Gateway.

Returns:

the name value.

pathRules

public List pathRules()

Get the pathRules property: Path rules specifying redirect configuration.

Returns:

the pathRules value.

redirectType

public ApplicationGatewayRedirectType redirectType()

Get the redirectType property: HTTP redirection type.

Returns:

the redirectType value.

requestRoutingRules

public List requestRoutingRules()

Get the requestRoutingRules property: Request routing specifying redirect configuration.

Returns:

the requestRoutingRules value.

targetListener

public SubResource targetListener()

Get the targetListener property: Reference to a listener to redirect the request to.

Returns:

the targetListener value.

targetUrl

public String targetUrl()

Get the targetUrl property: Url to redirect the request to.

Returns:

the targetUrl value.

type

public String type()

Get the type property: Type of the resource.

Returns:

the type value.

urlPathMaps

public List urlPathMaps()

Get the urlPathMaps property: Url path maps specifying default redirect configuration.

Returns:

the urlPathMaps value.

validate

public void validate()

Validates the instance.

withId

public ApplicationGatewayRedirectConfigurationInner withId(String id)

Overrides:

ApplicationGatewayRedirectConfigurationInner.withId(String id)

Parameters:

id

withIncludePath

public ApplicationGatewayRedirectConfigurationInner withIncludePath(Boolean includePath)

Set the includePath property: Include path in the redirected url.

Parameters:

includePath - the includePath value to set.

Returns:

the ApplicationGatewayRedirectConfigurationInner object itself.

withIncludeQueryString

public ApplicationGatewayRedirectConfigurationInner withIncludeQueryString(Boolean includeQueryString)

Set the includeQueryString property: Include query string in the redirected url.

Parameters:

includeQueryString - the includeQueryString value to set.

Returns:

the ApplicationGatewayRedirectConfigurationInner object itself.

withName

public ApplicationGatewayRedirectConfigurationInner withName(String name)

Set the name property: Name of the redirect configuration that is unique within an Application Gateway.

Parameters:

name - the name value to set.

Returns:

the ApplicationGatewayRedirectConfigurationInner object itself.

withPathRules

public ApplicationGatewayRedirectConfigurationInner withPathRules(List pathRules)

Set the pathRules property: Path rules specifying redirect configuration.

Parameters:

pathRules - the pathRules value to set.

Returns:

the ApplicationGatewayRedirectConfigurationInner object itself.

withRedirectType

public ApplicationGatewayRedirectConfigurationInner withRedirectType(ApplicationGatewayRedirectType redirectType)

Set the redirectType property: HTTP redirection type.

Parameters:

redirectType - the redirectType value to set.

Returns:

the ApplicationGatewayRedirectConfigurationInner object itself.

withRequestRoutingRules

public ApplicationGatewayRedirectConfigurationInner withRequestRoutingRules(List requestRoutingRules)

Set the requestRoutingRules property: Request routing specifying redirect configuration.

Parameters:

requestRoutingRules - the requestRoutingRules value to set.

Returns:

the ApplicationGatewayRedirectConfigurationInner object itself.

withTargetListener

public ApplicationGatewayRedirectConfigurationInner withTargetListener(SubResource targetListener)

Set the targetListener property: Reference to a listener to redirect the request to.

Parameters:

targetListener - the targetListener value to set.

Returns:

the ApplicationGatewayRedirectConfigurationInner object itself.

withTargetUrl

public ApplicationGatewayRedirectConfigurationInner withTargetUrl(String targetUrl)

Set the targetUrl property: Url to redirect the request to.

Parameters:

targetUrl - the targetUrl value to set.

Returns:

the ApplicationGatewayRedirectConfigurationInner object itself.

withUrlPathMaps

public ApplicationGatewayRedirectConfigurationInner withUrlPathMaps(List urlPathMaps)

Set the urlPathMaps property: Url path maps specifying default redirect configuration.

Parameters:

urlPathMaps - the urlPathMaps value to set.

Returns:

the ApplicationGatewayRedirectConfigurationInner object itself.

Applies to