Class ApplicationGatewayRewriteRuleActionSet
- java.lang.Object
-
- com.azure.resourcemanager.network.models.ApplicationGatewayRewriteRuleActionSet
-
public final class ApplicationGatewayRewriteRuleActionSet extends Object
Set of actions in the Rewrite Rule in Application Gateway.
-
-
Constructor Summary
Constructors Constructor Description ApplicationGatewayRewriteRuleActionSet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ApplicationGatewayHeaderConfiguration>requestHeaderConfigurations()Get the requestHeaderConfigurations property: Request Header Actions in the Action Set.List<ApplicationGatewayHeaderConfiguration>responseHeaderConfigurations()Get the responseHeaderConfigurations property: Response Header Actions in the Action Set.ApplicationGatewayUrlConfigurationurlConfiguration()Get the urlConfiguration property: Url Configuration Action in the Action Set.voidvalidate()Validates the instance.ApplicationGatewayRewriteRuleActionSetwithRequestHeaderConfigurations(List<ApplicationGatewayHeaderConfiguration> requestHeaderConfigurations)Set the requestHeaderConfigurations property: Request Header Actions in the Action Set.ApplicationGatewayRewriteRuleActionSetwithResponseHeaderConfigurations(List<ApplicationGatewayHeaderConfiguration> responseHeaderConfigurations)Set the responseHeaderConfigurations property: Response Header Actions in the Action Set.ApplicationGatewayRewriteRuleActionSetwithUrlConfiguration(ApplicationGatewayUrlConfiguration urlConfiguration)Set the urlConfiguration property: Url Configuration Action in the Action Set.
-
-
-
Method Detail
-
requestHeaderConfigurations
public List<ApplicationGatewayHeaderConfiguration> requestHeaderConfigurations()
Get the requestHeaderConfigurations property: Request Header Actions in the Action Set.- Returns:
- the requestHeaderConfigurations value.
-
withRequestHeaderConfigurations
public ApplicationGatewayRewriteRuleActionSet withRequestHeaderConfigurations(List<ApplicationGatewayHeaderConfiguration> requestHeaderConfigurations)
Set the requestHeaderConfigurations property: Request Header Actions in the Action Set.- Parameters:
requestHeaderConfigurations- the requestHeaderConfigurations value to set.- Returns:
- the ApplicationGatewayRewriteRuleActionSet object itself.
-
responseHeaderConfigurations
public List<ApplicationGatewayHeaderConfiguration> responseHeaderConfigurations()
Get the responseHeaderConfigurations property: Response Header Actions in the Action Set.- Returns:
- the responseHeaderConfigurations value.
-
withResponseHeaderConfigurations
public ApplicationGatewayRewriteRuleActionSet withResponseHeaderConfigurations(List<ApplicationGatewayHeaderConfiguration> responseHeaderConfigurations)
Set the responseHeaderConfigurations property: Response Header Actions in the Action Set.- Parameters:
responseHeaderConfigurations- the responseHeaderConfigurations value to set.- Returns:
- the ApplicationGatewayRewriteRuleActionSet object itself.
-
urlConfiguration
public ApplicationGatewayUrlConfiguration urlConfiguration()
Get the urlConfiguration property: Url Configuration Action in the Action Set.- Returns:
- the urlConfiguration value.
-
withUrlConfiguration
public ApplicationGatewayRewriteRuleActionSet withUrlConfiguration(ApplicationGatewayUrlConfiguration urlConfiguration)
Set the urlConfiguration property: Url Configuration Action in the Action Set.- Parameters:
urlConfiguration- the urlConfiguration value to set.- Returns:
- the ApplicationGatewayRewriteRuleActionSet object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-