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 Summary
ConstructorsConstructorDescriptionCreates an instance of ValidationExecutionPlanUpdateProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the description property: The description of the resource.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ValidationExecutionPlanUpdateProperties from the JsonReader.Get the planConfigurationJson property: Entire execution plan configuration/manifest json.Get the planConfigurationUri property: URI where the configuration of the execution plan is defined.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) withDescription(String description) Set the description property: The description of the resource.withPlanConfigurationJson(String planConfigurationJson) Set the planConfigurationJson property: Entire execution plan configuration/manifest json.withPlanConfigurationUri(String planConfigurationUri) Set the planConfigurationUri property: URI where the configuration of the execution plan is defined.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
ValidationExecutionPlanUpdateProperties
public ValidationExecutionPlanUpdateProperties()Creates an instance of ValidationExecutionPlanUpdateProperties class.
-
-
Method Details
-
description
Get the description property: The description of the resource.- Returns:
- the description value.
-
withDescription
Set the description property: The description of the resource.- Parameters:
description- the description value to set.- Returns:
- the ValidationExecutionPlanUpdateProperties object itself.
-
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
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
- Specified by:
toJsonin interfacecom.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.
-