Class CommandProperties

java.lang.Object
com.azure.resourcemanager.datamigration.models.CommandProperties
Direct Known Subclasses:
MigrateMISyncCompleteCommandProperties, MigrateSyncCompleteCommandProperties

public class CommandProperties extends Object
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

      public List<com.azure.core.management.exception.ManagementError> errors()
      Get the errors property: Array of errors. This is ignored if submitted.
      Returns:
      the errors value.
    • state

      public CommandState 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.