RuleSetInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. cdn. fluent. models. RuleSetInner
- com.
- com.
public final class RuleSetInner
extends ProxyResource
Friendly RuleSet name mapping to the any RuleSet or secret related information.
Constructor Summary
| Constructor | Description |
|---|---|
| RuleSetInner() |
Creates an instance of Rule |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Boolean |
batchMode()
Get the batch |
|
Deployment |
deploymentStatus()
Get the deployment |
|
static
Rule |
fromJson(JsonReader jsonReader)
Reads an instance of Rule |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
name()
Get the name property: The name of the resource. |
| String |
profileName()
Get the profile |
|
Afd |
provisioningState()
Get the provisioning |
|
List<Batch |
rules()
Get the rules property: A list of rules that are part of this rule set provided the rule set is in batch mode. |
|
System |
systemData()
Get the system |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Rule |
withBatchMode(Boolean batchMode)
Set the batch |
|
Rule |
withRules(List<BatchRuleProperties> rules)
Set the rules property: A list of rules that are part of this rule set provided the rule set is in batch mode. |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
RuleSetInner
public RuleSetInner()
Creates an instance of RuleSetInner class.
Method Details
batchMode
public Boolean batchMode()
Get the batchMode property: Indicates whether rule set is in batch mode. When batch mode is enabled, rules will be processed in a batch along with the rule set. When batch mode is disabled, rules would need to be processed independently. This property can only be set during rule set creation and cannot be updated later. For switching modes, a new rule set needs to be created with the desired mode and rules need to be migrated to the new rule set.
Returns:
deploymentStatus
public DeploymentStatus deploymentStatus()
Get the deploymentStatus property: The deploymentStatus property.
Returns:
fromJson
public static RuleSetInner fromJson(JsonReader jsonReader)
Reads an instance of RuleSetInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
RuleSetInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
RuleSetInner.name()Returns:
profileName
public String profileName()
Get the profileName property: The name of the profile which holds the rule set.
Returns:
provisioningState
public AfdProvisioningState provisioningState()
Get the provisioningState property: Provisioning status.
Returns:
rules
public List<BatchRuleProperties> rules()
Get the rules property: A list of rules that are part of this rule set provided the rule set is in batch mode. This property will be ignored if the rule set is not in batch mode.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
RuleSetInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
RuleSetInner.type()Returns:
validate
public void validate()
Validates the instance.
withBatchMode
public RuleSetInner withBatchMode(Boolean batchMode)
Set the batchMode property: Indicates whether rule set is in batch mode. When batch mode is enabled, rules will be processed in a batch along with the rule set. When batch mode is disabled, rules would need to be processed independently. This property can only be set during rule set creation and cannot be updated later. For switching modes, a new rule set needs to be created with the desired mode and rules need to be migrated to the new rule set.
Parameters:
Returns:
withRules
public RuleSetInner withRules(List<BatchRuleProperties> rules)
Set the rules property: A list of rules that are part of this rule set provided the rule set is in batch mode. This property will be ignored if the rule set is not in batch mode.
Parameters:
Returns: