Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. Code generated by Microsoft (R) AutoRest Code Generator.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */
package com.microsoft.azure.management.cdn.implementation; import java.util.List; import com.microsoft.azure.management.cdn.ManagedRuleGroupDefinition; import com.microsoft.azure.management.cdn.Sku; import com.microsoft.azure.management.cdn.SystemData; import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; import com.microsoft.azure.ProxyResource;
Describes a managed rule set definition.
/** * Describes a managed rule set definition. */
@JsonFlatten public class ManagedRuleSetDefinitionInner extends ProxyResource {
Provisioning state of the managed rule set.
/** * Provisioning state of the managed rule set. */
@JsonProperty(value = "properties.provisioningState", access = JsonProperty.Access.WRITE_ONLY) private String provisioningState;
Type of the managed rule set.
/** * Type of the managed rule set. */
@JsonProperty(value = "properties.ruleSetType", access = JsonProperty.Access.WRITE_ONLY) private String ruleSetType;
Version of the managed rule set type.
/** * Version of the managed rule set type. */
@JsonProperty(value = "properties.ruleSetVersion", access = JsonProperty.Access.WRITE_ONLY) private String ruleSetVersion;
Rule groups of the managed rule set.
/** * Rule groups of the managed rule set. */
@JsonProperty(value = "properties.ruleGroups", access = JsonProperty.Access.WRITE_ONLY) private List<ManagedRuleGroupDefinition> ruleGroups;
The pricing tier (defines a CDN provider, feature list and rate) of the CdnWebApplicationFirewallPolicy.
/** * The pricing tier (defines a CDN provider, feature list and rate) of the * CdnWebApplicationFirewallPolicy. */
@JsonProperty(value = "sku") private Sku sku;
The systemData property.
/** * The systemData property. */
@JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY) private SystemData systemData;
Get provisioning state of the managed rule set.
Returns:the provisioningState value
/** * Get provisioning state of the managed rule set. * * @return the provisioningState value */
public String provisioningState() { return this.provisioningState; }
Get type of the managed rule set.
Returns:the ruleSetType value
/** * Get type of the managed rule set. * * @return the ruleSetType value */
public String ruleSetType() { return this.ruleSetType; }
Get version of the managed rule set type.
Returns:the ruleSetVersion value
/** * Get version of the managed rule set type. * * @return the ruleSetVersion value */
public String ruleSetVersion() { return this.ruleSetVersion; }
Get rule groups of the managed rule set.
Returns:the ruleGroups value
/** * Get rule groups of the managed rule set. * * @return the ruleGroups value */
public List<ManagedRuleGroupDefinition> ruleGroups() { return this.ruleGroups; }
Get the pricing tier (defines a CDN provider, feature list and rate) of the CdnWebApplicationFirewallPolicy.
Returns:the sku value
/** * Get the pricing tier (defines a CDN provider, feature list and rate) of the CdnWebApplicationFirewallPolicy. * * @return the sku value */
public Sku sku() { return this.sku; }
Set the pricing tier (defines a CDN provider, feature list and rate) of the CdnWebApplicationFirewallPolicy.
Params:
  • sku – the sku value to set
Returns:the ManagedRuleSetDefinitionInner object itself.
/** * Set the pricing tier (defines a CDN provider, feature list and rate) of the CdnWebApplicationFirewallPolicy. * * @param sku the sku value to set * @return the ManagedRuleSetDefinitionInner object itself. */
public ManagedRuleSetDefinitionInner withSku(Sku sku) { this.sku = sku; return this; }
Get the systemData value.
Returns:the systemData value
/** * Get the systemData value. * * @return the systemData value */
public SystemData systemData() { return this.systemData; } }