Class ValidationExecutionPlanUpdateProperties

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

public final class ValidationExecutionPlanUpdateProperties extends Object implements com.azure.json.JsonSerializable<ValidationExecutionPlanUpdateProperties>
The updatable properties of the ValidationExecutionPlan.
  • Constructor Details

    • ValidationExecutionPlanUpdateProperties

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

    • description

      public String description()
      Get the description property: The description of the resource.
      Returns:
      the description value.
    • withDescription

      public ValidationExecutionPlanUpdateProperties withDescription(String description)
      Set the description property: The description of the resource.
      Parameters:
      description - the description value to set.
      Returns:
      the ValidationExecutionPlanUpdateProperties object itself.
    • planConfigurationUri

      public String planConfigurationUri()
      Get the planConfigurationUri property: URI where the configuration of the execution plan is defined. Either this property or `planConfigurationJson` is mandatory while creating; they are mutually exclusive. This must be a plain, non-SAS reference (no embedded credentials, tokens, or query-string secrets); the service reads the referenced content using its managed identity. This value is returned as-is in get responses, so it must not contain credentials or other secrets.
      Returns:
      the planConfigurationUri value.
    • withPlanConfigurationUri

      public ValidationExecutionPlanUpdateProperties withPlanConfigurationUri(String planConfigurationUri)
      Set the planConfigurationUri property: URI where the configuration of the execution plan is defined. Either this property or `planConfigurationJson` is mandatory while creating; they are mutually exclusive. This must be a plain, non-SAS reference (no embedded credentials, tokens, or query-string secrets); the service reads the referenced content using its managed identity. This value is returned as-is in get responses, so it must not contain credentials or other secrets.
      Parameters:
      planConfigurationUri - the planConfigurationUri value to set.
      Returns:
      the ValidationExecutionPlanUpdateProperties object itself.
    • planConfigurationJson

      public String planConfigurationJson()
      Get the planConfigurationJson property: Entire execution plan configuration/manifest json. Either this property or `planConfigurationUri` is mandatory while creating; they are mutually exclusive. In get, always return the entire json configuration. This value is returned as-is in get responses, so it must not contain credentials or other secrets.
      Returns:
      the planConfigurationJson value.
    • withPlanConfigurationJson

      public ValidationExecutionPlanUpdateProperties withPlanConfigurationJson(String planConfigurationJson)
      Set the planConfigurationJson property: Entire execution plan configuration/manifest json. Either this property or `planConfigurationUri` is mandatory while creating; they are mutually exclusive. In get, always return the entire json configuration. This value is returned as-is in get responses, so it must not contain credentials or other secrets.
      Parameters:
      planConfigurationJson - the planConfigurationJson value to set.
      Returns:
      the ValidationExecutionPlanUpdateProperties object itself.
    • toJson

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

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