ApplicationGatewayRewriteRuleSet Class
- java.
lang. Object - com.
azure. core. management. SubResource - com.
azure. resourcemanager. network. models. ApplicationGatewayRewriteRuleSet
- com.
- com.
public final class ApplicationGatewayRewriteRuleSet
extends SubResource
Rewrite rule set of an application gateway.
Constructor Summary
Constructor | Description |
---|---|
ApplicationGatewayRewriteRuleSet() |
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 |
String |
name()
Get the name property: Name of the rewrite rule set that is unique within an Application Gateway. |
Provisioning |
provisioningState()
Get the provisioning |
List<Application |
rewriteRules()
Get the rewrite |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Application |
withId(String id) |
Application |
withName(String name)
Set the name property: Name of the rewrite rule set that is unique within an Application Gateway. |
Application |
withRewriteRules(List<ApplicationGatewayRewriteRule> rewriteRules)
Set the rewrite |
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:
fromJson
public static ApplicationGatewayRewriteRuleSet fromJson(JsonReader jsonReader)
Reads an instance of ApplicationGatewayRewriteRuleSet from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: Name of the rewrite rule set that is unique within an Application Gateway.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the rewrite rule set resource.
Returns:
rewriteRules
public List
Get the rewriteRules property: Rewrite rules in the rewrite rule set.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ApplicationGatewayRewriteRuleSet.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
withId
public ApplicationGatewayRewriteRuleSet withId(String id)
Overrides:
ApplicationGatewayRewriteRuleSet.withId(String id)Parameters:
withName
public ApplicationGatewayRewriteRuleSet withName(String name)
Set the name property: Name of the rewrite rule set that is unique within an Application Gateway.
Parameters:
Returns:
withRewriteRules
public ApplicationGatewayRewriteRuleSet withRewriteRules(List
Set the rewriteRules property: Rewrite rules in the rewrite rule set.
Parameters:
Returns:
Applies to
Azure SDK for Java