Class EnvironmentDeploymentProperties
java.lang.Object
com.azure.resourcemanager.devtestlabs.models.EnvironmentDeploymentProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<EnvironmentDeploymentProperties>
public final class EnvironmentDeploymentProperties
extends Object
implements com.azure.json.JsonSerializable<EnvironmentDeploymentProperties>
Properties of an environment deployment.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of EnvironmentDeploymentProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the armTemplateId property: The Azure Resource Manager template's identifier.fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of EnvironmentDeploymentProperties from the JsonReader.Get the parameters property: The parameters of the Azure Resource Manager template.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.withArmTemplateId
(String armTemplateId) Set the armTemplateId property: The Azure Resource Manager template's identifier.withParameters
(List<ArmTemplateParameterProperties> parameters) Set the parameters property: The parameters of the Azure Resource Manager template.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
EnvironmentDeploymentProperties
public EnvironmentDeploymentProperties()Creates an instance of EnvironmentDeploymentProperties class.
-
-
Method Details
-
armTemplateId
Get the armTemplateId property: The Azure Resource Manager template's identifier.- Returns:
- the armTemplateId value.
-
withArmTemplateId
Set the armTemplateId property: The Azure Resource Manager template's identifier.- Parameters:
armTemplateId
- the armTemplateId value to set.- Returns:
- the EnvironmentDeploymentProperties object itself.
-
parameters
Get the parameters property: The parameters of the Azure Resource Manager template.- Returns:
- the parameters value.
-
withParameters
public EnvironmentDeploymentProperties withParameters(List<ArmTemplateParameterProperties> parameters) Set the parameters property: The parameters of the Azure Resource Manager template.- Parameters:
parameters
- the parameters value to set.- Returns:
- the EnvironmentDeploymentProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<EnvironmentDeploymentProperties>
- Throws:
IOException
-
fromJson
public static EnvironmentDeploymentProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of EnvironmentDeploymentProperties from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of EnvironmentDeploymentProperties 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 EnvironmentDeploymentProperties.
-