Class GenerateUpgradedDefinitionParameters
java.lang.Object
com.azure.resourcemanager.logic.models.GenerateUpgradedDefinitionParameters
The parameters to generate upgraded definition.
-
Constructor Summary
ConstructorDescriptionCreates an instance of GenerateUpgradedDefinitionParameters class. -
Method Summary
Modifier and TypeMethodDescriptionGet the targetSchemaVersion property: The target schema version.void
validate()
Validates the instance.withTargetSchemaVersion
(String targetSchemaVersion) Set the targetSchemaVersion property: The target schema version.
-
Constructor Details
-
GenerateUpgradedDefinitionParameters
public GenerateUpgradedDefinitionParameters()Creates an instance of GenerateUpgradedDefinitionParameters class.
-
-
Method Details
-
targetSchemaVersion
Get the targetSchemaVersion property: The target schema version.- Returns:
- the targetSchemaVersion value.
-
withTargetSchemaVersion
Set the targetSchemaVersion property: The target schema version.- Parameters:
targetSchemaVersion
- the targetSchemaVersion value to set.- Returns:
- the GenerateUpgradedDefinitionParameters object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-