Class CommandProperties
java.lang.Object
com.azure.resourcemanager.datamigration.models.CommandProperties
- Direct Known Subclasses:
MigrateMISyncCompleteCommandProperties
,MigrateSyncCompleteCommandProperties
Base class for all types of DMS command properties. If command is not supported by current client, this object is
returned.
-
Constructor Details
-
CommandProperties
public CommandProperties()Creates an instance of CommandProperties class.
-
-
Method Details
-
errors
Get the errors property: Array of errors. This is ignored if submitted.- Returns:
- the errors value.
-
state
Get the state property: The state of the command. This is ignored if submitted.- Returns:
- the state value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-