StorageTaskAssignmentProperties Class
- java.
lang. Object - com.
azure. resourcemanager. storage. models. StorageTaskAssignmentProperties
- com.
Implements
public final class StorageTaskAssignmentProperties
implements JsonSerializable<StorageTaskAssignmentProperties>
Properties of the storage task assignment.
Constructor Summary
Constructor | Description |
---|---|
StorageTaskAssignmentProperties() |
Creates an instance of Storage |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
description()
Get the description property: Text that describes the purpose of the storage task assignment. |
boolean |
enabled()
Get the enabled property: Whether the storage task assignment is enabled or not. |
Storage |
executionContext()
Get the execution |
static
Storage |
fromJson(JsonReader jsonReader)
Reads an instance of Storage |
Provisioning |
provisioningState()
Get the provisioning |
Storage |
report()
Get the report property: The storage task assignment report. |
Storage |
runStatus()
Get the run |
String |
taskId()
Get the task |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Storage |
withDescription(String description)
Set the description property: Text that describes the purpose of the storage task assignment. |
Storage |
withEnabled(boolean enabled)
Set the enabled property: Whether the storage task assignment is enabled or not. |
Storage |
withExecutionContext(StorageTaskAssignmentExecutionContext executionContext)
Set the execution |
Storage |
withReport(StorageTaskAssignmentReport report)
Set the report property: The storage task assignment report. |
Storage |
withRunStatus(StorageTaskReportProperties runStatus)
Set the run |
Storage |
withTaskId(String taskId)
Set the task |
Methods inherited from java.lang.Object
Constructor Details
StorageTaskAssignmentProperties
public StorageTaskAssignmentProperties()
Creates an instance of StorageTaskAssignmentProperties class.
Method Details
description
public String description()
Get the description property: Text that describes the purpose of the storage task assignment.
Returns:
enabled
public boolean enabled()
Get the enabled property: Whether the storage task assignment is enabled or not.
Returns:
executionContext
public StorageTaskAssignmentExecutionContext executionContext()
Get the executionContext property: The storage task assignment execution context.
Returns:
fromJson
public static StorageTaskAssignmentProperties fromJson(JsonReader jsonReader)
Reads an instance of StorageTaskAssignmentProperties from the JsonReader.
Parameters:
Returns:
Throws:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: Represents the provisioning state of the storage task assignment.
Returns:
report
public StorageTaskAssignmentReport report()
Get the report property: The storage task assignment report.
Returns:
runStatus
public StorageTaskReportProperties runStatus()
Get the runStatus property: Run status of storage task assignment.
Returns:
taskId
public String taskId()
Get the taskId property: Id of the corresponding storage task.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDescription
public StorageTaskAssignmentProperties withDescription(String description)
Set the description property: Text that describes the purpose of the storage task assignment.
Parameters:
Returns:
withEnabled
public StorageTaskAssignmentProperties withEnabled(boolean enabled)
Set the enabled property: Whether the storage task assignment is enabled or not.
Parameters:
Returns:
withExecutionContext
public StorageTaskAssignmentProperties withExecutionContext(StorageTaskAssignmentExecutionContext executionContext)
Set the executionContext property: The storage task assignment execution context.
Parameters:
Returns:
withReport
public StorageTaskAssignmentProperties withReport(StorageTaskAssignmentReport report)
Set the report property: The storage task assignment report.
Parameters:
Returns:
withRunStatus
public StorageTaskAssignmentProperties withRunStatus(StorageTaskReportProperties runStatus)
Set the runStatus property: Run status of storage task assignment.
Parameters:
Returns:
withTaskId
public StorageTaskAssignmentProperties withTaskId(String taskId)
Set the taskId property: Id of the corresponding storage task.
Parameters:
Returns:
Applies to
Azure SDK for Java