Class StorageTaskAssignmentUpdateProperties
java.lang.Object
com.azure.resourcemanager.storage.models.StorageTaskAssignmentUpdateProperties
Properties of the storage task update assignment.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of StorageTaskAssignmentUpdateProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the description property: Text that describes the purpose of the storage task assignment.enabled()Get the enabled property: Whether the storage task assignment is enabled or not.Get the executionContext property: The storage task assignment execution context.Get the provisioningState property: Represents the provisioning state of the storage task assignment.report()Get the report property: The storage task assignment report.Get the runStatus property: Run status of storage task assignment.taskId()Get the taskId property: Id of the corresponding storage task.voidvalidate()Validates the instance.withDescription(String description) Set the description property: Text that describes the purpose of the storage task assignment.withEnabled(Boolean enabled) Set the enabled property: Whether the storage task assignment is enabled or not.withExecutionContext(StorageTaskAssignmentUpdateExecutionContext executionContext) Set the executionContext property: The storage task assignment execution context.Set the report property: The storage task assignment report.withRunStatus(StorageTaskReportProperties runStatus) Set the runStatus property: Run status of storage task assignment.
-
Constructor Details
-
StorageTaskAssignmentUpdateProperties
public StorageTaskAssignmentUpdateProperties()Creates an instance of StorageTaskAssignmentUpdateProperties class.
-
-
Method Details
-
taskId
Get the taskId property: Id of the corresponding storage task.- Returns:
- the taskId value.
-
enabled
Get the enabled property: Whether the storage task assignment is enabled or not.- Returns:
- the enabled value.
-
withEnabled
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
Get the description property: Text that describes the purpose of the storage task assignment.- Returns:
- the description value.
-
withDescription
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
public StorageTaskAssignmentUpdateProperties withExecutionContext(StorageTaskAssignmentUpdateExecutionContext executionContext) 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
Get the provisioningState property: Represents the provisioning state of the storage task assignment.- Returns:
- the provisioningState value.
-
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.
-