Class StorageTaskAssignmentUpdateProperties

java.lang.Object
com.azure.resourcemanager.storage.models.StorageTaskAssignmentUpdateProperties

public final class StorageTaskAssignmentUpdateProperties extends Object
Properties of the storage task update assignment.
  • Constructor Details

    • StorageTaskAssignmentUpdateProperties

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

    • taskId

      public String taskId()
      Get the taskId property: Id of the corresponding storage task.
      Returns:
      the taskId value.
    • enabled

      public Boolean enabled()
      Get the enabled property: Whether the storage task assignment is enabled or not.
      Returns:
      the enabled value.
    • withEnabled

      public StorageTaskAssignmentUpdateProperties withEnabled(Boolean enabled)
      Set the enabled property: Whether the storage task assignment is enabled or not.
      Parameters:
      enabled - the enabled value to set.
      Returns:
      the StorageTaskAssignmentUpdateProperties object itself.
    • description

      public String description()
      Get the description property: Text that describes the purpose of the storage task assignment.
      Returns:
      the description value.
    • withDescription

      public StorageTaskAssignmentUpdateProperties withDescription(String description)
      Set the description property: Text that describes the purpose of the storage task assignment.
      Parameters:
      description - the description value to set.
      Returns:
      the StorageTaskAssignmentUpdateProperties object itself.
    • executionContext

      Get the executionContext property: The storage task assignment execution context.
      Returns:
      the executionContext value.
    • withExecutionContext

      Set the executionContext property: The storage task assignment execution context.
      Parameters:
      executionContext - the executionContext value to set.
      Returns:
      the StorageTaskAssignmentUpdateProperties object itself.
    • report

      Get the report property: The storage task assignment report.
      Returns:
      the report value.
    • withReport

      Set the report property: The storage task assignment report.
      Parameters:
      report - the report value to set.
      Returns:
      the StorageTaskAssignmentUpdateProperties object itself.
    • provisioningState

      public ProvisioningState provisioningState()
      Get the provisioningState property: Represents the provisioning state of the storage task assignment.
      Returns:
      the provisioningState value.
    • runStatus

      public StorageTaskReportProperties runStatus()
      Get the runStatus property: Run status of storage task assignment.
      Returns:
      the runStatus value.
    • withRunStatus

      Set the runStatus property: Run status of storage task assignment.
      Parameters:
      runStatus - the runStatus value to set.
      Returns:
      the StorageTaskAssignmentUpdateProperties object itself.
    • validate

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