Class ValidationExecutionPlanProperties

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

public final class ValidationExecutionPlanProperties extends Object implements com.azure.json.JsonSerializable<ValidationExecutionPlanProperties>
Validation Test Execution Plan properties.
  • Constructor Details

    • ValidationExecutionPlanProperties

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

    • description

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

      public ValidationExecutionPlanProperties withDescription(String description)
      Set the description property: The description of the resource.
      Parameters:
      description - the description value to set.
      Returns:
      the ValidationExecutionPlanProperties 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 ValidationExecutionPlanProperties 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 ValidationExecutionPlanProperties 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 ValidationExecutionPlanProperties 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 ValidationExecutionPlanProperties object itself.
    • provisioningState

      public ValidationExecutionPlanProvisioningState provisioningState()
      Get the provisioningState property: The provisioning state of the resource.
      Returns:
      the provisioningState value.
    • error

      public com.azure.core.management.exception.ManagementError error()
      Get the error property: Error details. Populated when provisioningState is Failed or Canceled.
      Returns:
      the error value.
    • toJson

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

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