Class DataMigrationServiceStatusResponseInner

java.lang.Object
com.azure.resourcemanager.datamigration.fluent.models.DataMigrationServiceStatusResponseInner

public final class DataMigrationServiceStatusResponseInner extends Object
Service health status.
  • Constructor Details

    • DataMigrationServiceStatusResponseInner

      public DataMigrationServiceStatusResponseInner()
      Creates an instance of DataMigrationServiceStatusResponseInner class.
  • Method Details

    • agentVersion

      public String agentVersion()
      Get the agentVersion property: The DMS instance agent version.
      Returns:
      the agentVersion value.
    • withAgentVersion

      public DataMigrationServiceStatusResponseInner withAgentVersion(String agentVersion)
      Set the agentVersion property: The DMS instance agent version.
      Parameters:
      agentVersion - the agentVersion value to set.
      Returns:
      the DataMigrationServiceStatusResponseInner object itself.
    • status

      public String status()
      Get the status property: The machine-readable status, such as 'Initializing', 'Offline', 'Online', 'Deploying', 'Deleting', 'Stopped', 'Stopping', 'Starting', 'FailedToStart', 'FailedToStop' or 'Failed'.
      Returns:
      the status value.
    • withStatus

      public DataMigrationServiceStatusResponseInner withStatus(String status)
      Set the status property: The machine-readable status, such as 'Initializing', 'Offline', 'Online', 'Deploying', 'Deleting', 'Stopped', 'Stopping', 'Starting', 'FailedToStart', 'FailedToStop' or 'Failed'.
      Parameters:
      status - the status value to set.
      Returns:
      the DataMigrationServiceStatusResponseInner object itself.
    • vmSize

      public String vmSize()
      Get the vmSize property: The services virtual machine size, such as 'Standard_D2_v2'.
      Returns:
      the vmSize value.
    • withVmSize

      public DataMigrationServiceStatusResponseInner withVmSize(String vmSize)
      Set the vmSize property: The services virtual machine size, such as 'Standard_D2_v2'.
      Parameters:
      vmSize - the vmSize value to set.
      Returns:
      the DataMigrationServiceStatusResponseInner object itself.
    • supportedTaskTypes

      public List<String> supportedTaskTypes()
      Get the supportedTaskTypes property: The list of supported task types.
      Returns:
      the supportedTaskTypes value.
    • withSupportedTaskTypes

      public DataMigrationServiceStatusResponseInner withSupportedTaskTypes(List<String> supportedTaskTypes)
      Set the supportedTaskTypes property: The list of supported task types.
      Parameters:
      supportedTaskTypes - the supportedTaskTypes value to set.
      Returns:
      the DataMigrationServiceStatusResponseInner object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.