Class DeploymentExternalInputDefinition

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

public final class DeploymentExternalInputDefinition extends Object implements com.azure.json.JsonSerializable<DeploymentExternalInputDefinition>
Deployment external input definition for parameterization.
  • Constructor Details

    • DeploymentExternalInputDefinition

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

    • kind

      public String kind()
      Get the kind property: The kind of external input.
      Returns:
      the kind value.
    • withKind

      public DeploymentExternalInputDefinition withKind(String kind)
      Set the kind property: The kind of external input.
      Parameters:
      kind - the kind value to set.
      Returns:
      the DeploymentExternalInputDefinition object itself.
    • config

      public Object config()
      Get the config property: Configuration for the external input.
      Returns:
      the config value.
    • withConfig

      public DeploymentExternalInputDefinition withConfig(Object config)
      Set the config property: Configuration for the external input.
      Parameters:
      config - the config value to set.
      Returns:
      the DeploymentExternalInputDefinition 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<DeploymentExternalInputDefinition>
      Throws:
      IOException
    • fromJson

      public static DeploymentExternalInputDefinition fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of DeploymentExternalInputDefinition from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of DeploymentExternalInputDefinition if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IllegalStateException - If the deserialized JSON object was missing any required properties.
      IOException - If an error occurs while reading the DeploymentExternalInputDefinition.