public final class UrlRedirectActionParameters extends Object
| Constructor and Description |
|---|
UrlRedirectActionParameters()
Creates an instance of UrlRedirectActionParameters class.
|
| Modifier and Type | Method and Description |
|---|---|
String |
customFragment()
Get the customFragment property: Fragment to add to the redirect URL.
|
String |
customHostname()
Get the customHostname property: Host to redirect.
|
String |
customPath()
Get the customPath property: The full path to redirect.
|
String |
customQueryString()
Get the customQueryString property: The set of query strings to be placed in the redirect URL.
|
DestinationProtocol |
destinationProtocol()
Get the destinationProtocol property: Protocol to use for the redirect.
|
String |
odataType()
Get the odataType property: The @odata.type property.
|
RedirectType |
redirectType()
Get the redirectType property: The redirect type the rule will use when redirecting traffic.
|
void |
validate()
Validates the instance.
|
UrlRedirectActionParameters |
withCustomFragment(String customFragment)
Set the customFragment property: Fragment to add to the redirect URL.
|
UrlRedirectActionParameters |
withCustomHostname(String customHostname)
Set the customHostname property: Host to redirect.
|
UrlRedirectActionParameters |
withCustomPath(String customPath)
Set the customPath property: The full path to redirect.
|
UrlRedirectActionParameters |
withCustomQueryString(String customQueryString)
Set the customQueryString property: The set of query strings to be placed in the redirect URL.
|
UrlRedirectActionParameters |
withDestinationProtocol(DestinationProtocol destinationProtocol)
Set the destinationProtocol property: Protocol to use for the redirect.
|
UrlRedirectActionParameters |
withOdataType(String odataType)
Set the odataType property: The @odata.type property.
|
UrlRedirectActionParameters |
withRedirectType(RedirectType redirectType)
Set the redirectType property: The redirect type the rule will use when redirecting traffic.
|
public UrlRedirectActionParameters()
public String odataType()
public UrlRedirectActionParameters withOdataType(String odataType)
odataType - the odataType value to set.public RedirectType redirectType()
public UrlRedirectActionParameters withRedirectType(RedirectType redirectType)
redirectType - the redirectType value to set.public DestinationProtocol destinationProtocol()
public UrlRedirectActionParameters withDestinationProtocol(DestinationProtocol destinationProtocol)
destinationProtocol - the destinationProtocol value to set.public String customPath()
public UrlRedirectActionParameters withCustomPath(String customPath)
customPath - the customPath value to set.public String customHostname()
public UrlRedirectActionParameters withCustomHostname(String customHostname)
customHostname - the customHostname value to set.public String customQueryString()
public UrlRedirectActionParameters withCustomQueryString(String customQueryString)
customQueryString - the customQueryString value to set.public String customFragment()
public UrlRedirectActionParameters withCustomFragment(String customFragment)
customFragment - the customFragment value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.