ApplicationGatewayRewriteRuleSet Class

public final class ApplicationGatewayRewriteRuleSet
extends SubResource

Rewrite rule set of an application gateway.

Constructor Summary

Constructor Description
ApplicationGatewayRewriteRuleSet()

Creates an instance of ApplicationGatewayRewriteRuleSet 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.

String name()

Get the name property: Name of the rewrite rule set that is unique within an Application Gateway.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the rewrite rule set resource.

List<ApplicationGatewayRewriteRule> rewriteRules()

Get the rewriteRules property: Rewrite rules in the rewrite rule set.

void validate()

Validates the instance.

ApplicationGatewayRewriteRuleSet withId(String id)
ApplicationGatewayRewriteRuleSet withName(String name)

Set the name property: Name of the rewrite rule set that is unique within an Application Gateway.

ApplicationGatewayRewriteRuleSet withRewriteRules(List<ApplicationGatewayRewriteRule> rewriteRules)

Set the rewriteRules property: Rewrite rules in the rewrite rule set.

Methods inherited from SubResource

Methods inherited from java.lang.Object

Constructor Details

ApplicationGatewayRewriteRuleSet

public ApplicationGatewayRewriteRuleSet()

Creates an instance of ApplicationGatewayRewriteRuleSet 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.

name

public String name()

Get the name property: Name of the rewrite rule set that is unique within an Application Gateway.

Returns:

the name value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the rewrite rule set resource.

Returns:

the provisioningState value.

rewriteRules

public List rewriteRules()

Get the rewriteRules property: Rewrite rules in the rewrite rule set.

Returns:

the rewriteRules value.

validate

public void validate()

Validates the instance.

withId

public ApplicationGatewayRewriteRuleSet withId(String id)

Overrides:

ApplicationGatewayRewriteRuleSet.withId(String id)

Parameters:

id

withName

public ApplicationGatewayRewriteRuleSet withName(String name)

Set the name property: Name of the rewrite rule set that is unique within an Application Gateway.

Parameters:

name - the name value to set.

Returns:

the ApplicationGatewayRewriteRuleSet object itself.

withRewriteRules

public ApplicationGatewayRewriteRuleSet withRewriteRules(List rewriteRules)

Set the rewriteRules property: Rewrite rules in the rewrite rule set.

Parameters:

rewriteRules - the rewriteRules value to set.

Returns:

the ApplicationGatewayRewriteRuleSet object itself.

Applies to