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 Summary
ConstructorsConstructorDescriptionCreates an instance of DeploymentExternalInputDefinition class. -
Method Summary
Modifier and TypeMethodDescriptionconfig()Get the config property: Configuration for the external input.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of DeploymentExternalInputDefinition from the JsonReader.kind()Get the kind property: The kind of external input.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withConfig(Object config) Set the config property: Configuration for the external input.Set the kind property: The kind of external input.Methods inherited from class java.lang.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
-
DeploymentExternalInputDefinition
public DeploymentExternalInputDefinition()Creates an instance of DeploymentExternalInputDefinition class.
-
-
Method Details
-
kind
Get the kind property: The kind of external input.- Returns:
- the kind value.
-
withKind
Set the kind property: The kind of external input.- Parameters:
kind- the kind value to set.- Returns:
- the DeploymentExternalInputDefinition object itself.
-
config
Get the config property: Configuration for the external input.- Returns:
- the config value.
-
withConfig
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
- Specified by:
toJsonin interfacecom.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.
-