RuleSetProperties Class

public final class RuleSetProperties
extends AfdStateProperties

The JSON object that contains the properties of the Rule Set to create.

Constructor Summary

Constructor Description
RuleSetProperties()

Creates an instance of RuleSetProperties class.

Method Summary

Modifier and Type Method and Description
DeploymentStatus deploymentStatus()

Get the deploymentStatus property: The deploymentStatus property.

static RuleSetProperties fromJson(JsonReader jsonReader)

Reads an instance of RuleSetProperties from the JsonReader.

String profileName()

Get the profileName property: The name of the profile which holds the rule set.

AfdProvisioningState provisioningState()

Get the provisioningState property: Provisioning status.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from AfdStateProperties

Methods inherited from java.lang.Object

Constructor Details

RuleSetProperties

public RuleSetProperties()

Creates an instance of RuleSetProperties class.

Method Details

deploymentStatus

public DeploymentStatus deploymentStatus()

Get the deploymentStatus property: The deploymentStatus property.

Overrides:

RuleSetProperties.deploymentStatus()

Returns:

the deploymentStatus value.

fromJson

public static RuleSetProperties fromJson(JsonReader jsonReader)

Reads an instance of RuleSetProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of RuleSetProperties 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 RuleSetProperties.

profileName

public String profileName()

Get the profileName property: The name of the profile which holds the rule set.

Returns:

the profileName value.

provisioningState

public AfdProvisioningState provisioningState()

Get the provisioningState property: Provisioning status.

Overrides:

RuleSetProperties.provisioningState()

Returns:

the provisioningState value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

RuleSetProperties.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

RuleSetProperties.validate()

Applies to