Class StorageTaskAssignmentProperties

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

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

    • StorageTaskAssignmentProperties

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

    • taskId

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

      public StorageTaskAssignmentProperties withTaskId(String taskId)
      Set the taskId property: Id of the corresponding storage task.
      Parameters:
      taskId - the taskId value to set.
      Returns:
      the StorageTaskAssignmentProperties object itself.
    • enabled

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

      public StorageTaskAssignmentProperties 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 StorageTaskAssignmentProperties 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 StorageTaskAssignmentProperties 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 StorageTaskAssignmentProperties object itself.
    • executionContext

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

      public StorageTaskAssignmentProperties withExecutionContext(StorageTaskAssignmentExecutionContext executionContext)
      Set the executionContext property: The storage task assignment execution context.
      Parameters:
      executionContext - the executionContext value to set.
      Returns:
      the StorageTaskAssignmentProperties object itself.
    • report

      public StorageTaskAssignmentReport 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 StorageTaskAssignmentProperties 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 StorageTaskAssignmentProperties object itself.
    • validate

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