Class ParametersValueFileInfo

java.lang.Object
com.azure.resourcemanager.devtestlabs.models.ParametersValueFileInfo
All Implemented Interfaces:
com.azure.json.JsonSerializable<ParametersValueFileInfo>

public final class ParametersValueFileInfo extends Object implements com.azure.json.JsonSerializable<ParametersValueFileInfo>
A file containing a set of parameter values for an ARM template.
  • Constructor Details

    • ParametersValueFileInfo

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

    • fileName

      public String fileName()
      Get the fileName property: File name.
      Returns:
      the fileName value.
    • withFileName

      public ParametersValueFileInfo withFileName(String fileName)
      Set the fileName property: File name.
      Parameters:
      fileName - the fileName value to set.
      Returns:
      the ParametersValueFileInfo object itself.
    • parametersValueInfo

      public Object parametersValueInfo()
      Get the parametersValueInfo property: Contents of the file.
      Returns:
      the parametersValueInfo value.
    • withParametersValueInfo

      public ParametersValueFileInfo withParametersValueInfo(Object parametersValueInfo)
      Set the parametersValueInfo property: Contents of the file.
      Parameters:
      parametersValueInfo - the parametersValueInfo value to set.
      Returns:
      the ParametersValueFileInfo 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<ParametersValueFileInfo>
      Throws:
      IOException
    • fromJson

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