Class DataManifestResourceFunctionsDefinition

java.lang.Object
com.azure.resourcemanager.resources.fluent.models.DataManifestResourceFunctionsDefinition
All Implemented Interfaces:
com.azure.json.JsonSerializable<DataManifestResourceFunctionsDefinition>

public final class DataManifestResourceFunctionsDefinition extends Object implements com.azure.json.JsonSerializable<DataManifestResourceFunctionsDefinition>
The resource functions supported by a manifest.
  • Constructor Details

    • DataManifestResourceFunctionsDefinition

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

    • standard

      public List<String> standard()
      Get the standard property: The standard resource functions (subscription and/or resourceGroup).
      Returns:
      the standard value.
    • withStandard

      public DataManifestResourceFunctionsDefinition withStandard(List<String> standard)
      Set the standard property: The standard resource functions (subscription and/or resourceGroup).
      Parameters:
      standard - the standard value to set.
      Returns:
      the DataManifestResourceFunctionsDefinition object itself.
    • custom

      Get the custom property: An array of data manifest custom resource definition.
      Returns:
      the custom value.
    • withCustom

      Set the custom property: An array of data manifest custom resource definition.
      Parameters:
      custom - the custom value to set.
      Returns:
      the DataManifestResourceFunctionsDefinition object itself.
    • 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<DataManifestResourceFunctionsDefinition>
      Throws:
      IOException
    • fromJson

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