Class AfdStateProperties

java.lang.Object
com.azure.resourcemanager.cdn.models.AfdStateProperties
All Implemented Interfaces:
com.azure.json.JsonSerializable<AfdStateProperties>
Direct Known Subclasses:
RuleSetProperties, SecretProperties, SecurityPolicyProperties

public class AfdStateProperties extends Object implements com.azure.json.JsonSerializable<AfdStateProperties>
The tracking states for afd resources.
  • Constructor Details

    • AfdStateProperties

      public AfdStateProperties()
      Creates an instance of AfdStateProperties class.
  • Method Details

    • provisioningState

      public AfdProvisioningState provisioningState()
      Get the provisioningState property: Provisioning status.
      Returns:
      the provisioningState value.
    • deploymentStatus

      public DeploymentStatus deploymentStatus()
      Get the deploymentStatus property: The deploymentStatus property.
      Returns:
      the deploymentStatus value.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<AfdStateProperties>
      Throws:
      IOException
    • fromJson

      public static AfdStateProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of AfdStateProperties from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of AfdStateProperties 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 AfdStateProperties.