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

package com.azure.resourcemanager.dataprotection.fluent.models;

import com.azure.core.annotation.Fluent;
import com.azure.resourcemanager.dataprotection.models.OperationExtendedInfo;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;

/**
 * OperationJobExtendedInfo
 *
 * <p>Operation Job Extended Info.
 */
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "objectType")
@JsonTypeName("OperationJobExtendedInfo")
@Fluent
public final class OperationJobExtendedInfoInner extends OperationExtendedInfo {
    /*
     * Arm Id of the job created for this operation.
     */
    @JsonProperty(value = "jobId")
    private String jobId;

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

    /**
     * Get the jobId property: Arm Id of the job created for this operation.
     *
     * @return the jobId value.
     */
    public String jobId() {
        return this.jobId;
    }

    /**
     * Set the jobId property: Arm Id of the job created for this operation.
     *
     * @param jobId the jobId value to set.
     * @return the OperationJobExtendedInfoInner object itself.
     */
    public OperationJobExtendedInfoInner withJobId(String jobId) {
        this.jobId = jobId;
        return this;
    }

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