ApplicationGatewayRedirectConfigurationInner Class
- java.
lang. Object - com.
azure. core. management. SubResource - com.
azure. resourcemanager. network. fluent. models. ApplicationGatewayRedirectConfigurationInner
- com.
- com.
public final class ApplicationGatewayRedirectConfigurationInner
extends SubResource
Redirect configuration of an application gateway.
Constructor Summary
Constructor | Description |
---|---|
ApplicationGatewayRedirectConfigurationInner() |
Creates an instance of Application |
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. |
static
Application |
fromJson(JsonReader jsonReader)
Reads an instance of Application |
Boolean |
includePath()
Get the include |
Boolean |
includeQueryString()
Get the include |
String |
name()
Get the name property: Name of the redirect configuration that is unique within an Application Gateway. |
List<Sub |
pathRules()
Get the path |
Application |
redirectType()
Get the redirect |
List<Sub |
requestRoutingRules()
Get the request |
Sub |
targetListener()
Get the target |
String |
targetUrl()
Get the target |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: Type of the resource. |
List<Sub |
urlPathMaps()
Get the url |
void |
validate()
Validates the instance. |
Application |
withId(String id) |
Application |
withIncludePath(Boolean includePath)
Set the include |
Application |
withIncludeQueryString(Boolean includeQueryString)
Set the include |
Application |
withName(String name)
Set the name property: Name of the redirect configuration that is unique within an Application Gateway. |
Application |
withPathRules(List<SubResource> pathRules)
Set the path |
Application |
withRedirectType(ApplicationGatewayRedirectType redirectType)
Set the redirect |
Application |
withRequestRoutingRules(List<SubResource> requestRoutingRules)
Set the request |
Application |
withTargetListener(SubResource targetListener)
Set the target |
Application |
withTargetUrl(String targetUrl)
Set the target |
Application |
withUrlPathMaps(List<SubResource> urlPathMaps)
Set the url |
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:
fromJson
public static ApplicationGatewayRedirectConfigurationInner fromJson(JsonReader jsonReader)
Reads an instance of ApplicationGatewayRedirectConfigurationInner from the JsonReader.
Parameters:
Returns:
Throws:
includePath
public Boolean includePath()
Get the includePath property: Include path in the redirected url.
Returns:
includeQueryString
public Boolean includeQueryString()
Get the includeQueryString property: Include query string in the redirected url.
Returns:
name
public String name()
Get the name property: Name of the redirect configuration that is unique within an Application Gateway.
Returns:
pathRules
public List
Get the pathRules property: Path rules specifying redirect configuration.
Returns:
redirectType
public ApplicationGatewayRedirectType redirectType()
Get the redirectType property: HTTP redirection type.
Returns:
requestRoutingRules
public List
Get the requestRoutingRules property: Request routing specifying redirect configuration.
Returns:
targetListener
public SubResource targetListener()
Get the targetListener property: Reference to a listener to redirect the request to.
Returns:
targetUrl
public String targetUrl()
Get the targetUrl property: Url to redirect the request to.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ApplicationGatewayRedirectConfigurationInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: Type of the resource.
Returns:
urlPathMaps
public List
Get the urlPathMaps property: Url path maps specifying default redirect configuration.
Returns:
validate
public void validate()
Validates the instance.
withId
public ApplicationGatewayRedirectConfigurationInner withId(String id)
Overrides:
ApplicationGatewayRedirectConfigurationInner.withId(String id)Parameters:
withIncludePath
public ApplicationGatewayRedirectConfigurationInner withIncludePath(Boolean includePath)
Set the includePath property: Include path in the redirected url.
Parameters:
Returns:
withIncludeQueryString
public ApplicationGatewayRedirectConfigurationInner withIncludeQueryString(Boolean includeQueryString)
Set the includeQueryString property: Include query string in the redirected url.
Parameters:
Returns:
withName
public ApplicationGatewayRedirectConfigurationInner withName(String name)
Set the name property: Name of the redirect configuration that is unique within an Application Gateway.
Parameters:
Returns:
withPathRules
public ApplicationGatewayRedirectConfigurationInner withPathRules(List
Set the pathRules property: Path rules specifying redirect configuration.
Parameters:
Returns:
withRedirectType
public ApplicationGatewayRedirectConfigurationInner withRedirectType(ApplicationGatewayRedirectType redirectType)
Set the redirectType property: HTTP redirection type.
Parameters:
Returns:
withRequestRoutingRules
public ApplicationGatewayRedirectConfigurationInner withRequestRoutingRules(List
Set the requestRoutingRules property: Request routing specifying redirect configuration.
Parameters:
Returns:
withTargetListener
public ApplicationGatewayRedirectConfigurationInner withTargetListener(SubResource targetListener)
Set the targetListener property: Reference to a listener to redirect the request to.
Parameters:
Returns:
withTargetUrl
public ApplicationGatewayRedirectConfigurationInner withTargetUrl(String targetUrl)
Set the targetUrl property: Url to redirect the request to.
Parameters:
Returns:
withUrlPathMaps
public ApplicationGatewayRedirectConfigurationInner withUrlPathMaps(List
Set the urlPathMaps property: Url path maps specifying default redirect configuration.
Parameters:
Returns:
Applies to
Azure SDK for Java