Class RuleSetProperties
java.lang.Object
com.azure.resourcemanager.cdn.models.AfdStateProperties
com.azure.resourcemanager.cdn.fluent.models.RuleSetProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<AfdStateProperties>
The JSON object that contains the properties of the Rule Set to create.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the deploymentStatus property: The deploymentStatus property.static RuleSetPropertiesfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of RuleSetProperties from the JsonReader.Get the profileName property: The name of the profile which holds the rule set.Get the provisioningState property: Provisioning status.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
RuleSetProperties
public RuleSetProperties()Creates an instance of RuleSetProperties class.
-
-
Method Details
-
profileName
Get the profileName property: The name of the profile which holds the rule set.- Returns:
- the profileName value.
-
deploymentStatus
Get the deploymentStatus property: The deploymentStatus property.- Overrides:
deploymentStatusin classAfdStateProperties- Returns:
- the deploymentStatus value.
-
provisioningState
Get the provisioningState property: Provisioning status.- Overrides:
provisioningStatein classAfdStateProperties- Returns:
- the provisioningState value.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classAfdStateProperties- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<AfdStateProperties>- Overrides:
toJsonin classAfdStateProperties- Throws:
IOException
-
fromJson
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.
-