// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.recoveryservicesbackup.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;

/** Azure VM workload specific job task details. */
@Fluent
public final class AzureWorkloadJobTaskDetails {
    /*
     * The task display name.
     */
    @JsonProperty(value = "taskId")
    private String taskId;

    /*
     * The status.
     */
    @JsonProperty(value = "status")
    private String status;

    /** Creates an instance of AzureWorkloadJobTaskDetails class. */
    public AzureWorkloadJobTaskDetails() {
    }

    /**
     * Get the taskId property: The task display name.
     *
     * @return the taskId value.
     */
    public String taskId() {
        return this.taskId;
    }

    /**
     * Set the taskId property: The task display name.
     *
     * @param taskId the taskId value to set.
     * @return the AzureWorkloadJobTaskDetails object itself.
     */
    public AzureWorkloadJobTaskDetails withTaskId(String taskId) {
        this.taskId = taskId;
        return this;
    }

    /**
     * Get the status property: The status.
     *
     * @return the status value.
     */
    public String status() {
        return this.status;
    }

    /**
     * Set the status property: The status.
     *
     * @param status the status value to set.
     * @return the AzureWorkloadJobTaskDetails object itself.
     */
    public AzureWorkloadJobTaskDetails withStatus(String status) {
        this.status = status;
        return this;
    }

    /**
     * Validates the instance.
     *
     * @throws IllegalArgumentException thrown if the instance is not valid.
     */
    public void validate() {
    }
}
