ApplicationGatewayRewriteRuleActionSet Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.ApplicationGatewayRewriteRuleActionSet

Implements

public final class ApplicationGatewayRewriteRuleActionSet
implements JsonSerializable<ApplicationGatewayRewriteRuleActionSet>

Set of actions in the Rewrite Rule in Application Gateway.

Constructor Summary

Constructor Description
ApplicationGatewayRewriteRuleActionSet()

Creates an instance of ApplicationGatewayRewriteRuleActionSet class.

Method Summary

Modifier and Type Method and Description
static ApplicationGatewayRewriteRuleActionSet fromJson(JsonReader jsonReader)

Reads an instance of ApplicationGatewayRewriteRuleActionSet from the JsonReader.

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.

JsonWriter toJson(JsonWriter jsonWriter)
ApplicationGatewayUrlConfiguration urlConfiguration()

Get the urlConfiguration property: Url Configuration Action in the Action Set.

void validate()

Validates the instance.

ApplicationGatewayRewriteRuleActionSet withRequestHeaderConfigurations(List<ApplicationGatewayHeaderConfiguration> requestHeaderConfigurations)

Set the requestHeaderConfigurations property: Request Header Actions in the Action Set.

ApplicationGatewayRewriteRuleActionSet withResponseHeaderConfigurations(List<ApplicationGatewayHeaderConfiguration> responseHeaderConfigurations)

Set the responseHeaderConfigurations property: Response Header Actions in the Action Set.

ApplicationGatewayRewriteRuleActionSet withUrlConfiguration(ApplicationGatewayUrlConfiguration urlConfiguration)

Set the urlConfiguration property: Url Configuration Action in the Action Set.

Methods inherited from java.lang.Object

Constructor Details

ApplicationGatewayRewriteRuleActionSet

public ApplicationGatewayRewriteRuleActionSet()

Creates an instance of ApplicationGatewayRewriteRuleActionSet class.

Method Details

fromJson

public static ApplicationGatewayRewriteRuleActionSet fromJson(JsonReader jsonReader)

Reads an instance of ApplicationGatewayRewriteRuleActionSet from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ApplicationGatewayRewriteRuleActionSet if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the ApplicationGatewayRewriteRuleActionSet.

requestHeaderConfigurations

public List requestHeaderConfigurations()

Get the requestHeaderConfigurations property: Request Header Actions in the Action Set.

Returns:

the requestHeaderConfigurations value.

responseHeaderConfigurations

public List responseHeaderConfigurations()

Get the responseHeaderConfigurations property: Response Header Actions in the Action Set.

Returns:

the responseHeaderConfigurations value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

urlConfiguration

public ApplicationGatewayUrlConfiguration urlConfiguration()

Get the urlConfiguration property: Url Configuration Action in the Action Set.

Returns:

the urlConfiguration value.

validate

public void validate()

Validates the instance.

withRequestHeaderConfigurations

public ApplicationGatewayRewriteRuleActionSet withRequestHeaderConfigurations(List requestHeaderConfigurations)

Set the requestHeaderConfigurations property: Request Header Actions in the Action Set.

Parameters:

requestHeaderConfigurations - the requestHeaderConfigurations value to set.

Returns:

the ApplicationGatewayRewriteRuleActionSet object itself.

withResponseHeaderConfigurations

public ApplicationGatewayRewriteRuleActionSet withResponseHeaderConfigurations(List responseHeaderConfigurations)

Set the responseHeaderConfigurations property: Response Header Actions in the Action Set.

Parameters:

responseHeaderConfigurations - the responseHeaderConfigurations value to set.

Returns:

the ApplicationGatewayRewriteRuleActionSet object itself.

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.

Applies to