All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.azure.resourcemanager.recoveryservicesbackup.models.OperationStatusJobsExtendedInfo Maven / Gradle / Ivy

Go to download

This package contains Microsoft Azure SDK for RecoveryServicesBackup Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Open API 2.0 Specs for Azure RecoveryServices Backup service. Package tag package-2024-04.

There is a newer version: 1.5.0
Show newest version
// 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.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;
import java.util.List;
import java.util.Map;

/**
 * Operation status extended info for list of jobs.
 */
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "objectType")
@JsonTypeName("OperationStatusJobsExtendedInfo")
@Fluent
public final class OperationStatusJobsExtendedInfo extends OperationStatusExtendedInfo {
    /*
     * IDs of the jobs created for the protected item.
     */
    @JsonProperty(value = "jobIds")
    private List jobIds;

    /*
     * Stores all the failed jobs along with the corresponding error codes.
     */
    @JsonProperty(value = "failedJobsError")
    @JsonInclude(value = JsonInclude.Include.NON_NULL, content = JsonInclude.Include.ALWAYS)
    private Map failedJobsError;

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

    /**
     * Get the jobIds property: IDs of the jobs created for the protected item.
     * 
     * @return the jobIds value.
     */
    public List jobIds() {
        return this.jobIds;
    }

    /**
     * Set the jobIds property: IDs of the jobs created for the protected item.
     * 
     * @param jobIds the jobIds value to set.
     * @return the OperationStatusJobsExtendedInfo object itself.
     */
    public OperationStatusJobsExtendedInfo withJobIds(List jobIds) {
        this.jobIds = jobIds;
        return this;
    }

    /**
     * Get the failedJobsError property: Stores all the failed jobs along with the corresponding error codes.
     * 
     * @return the failedJobsError value.
     */
    public Map failedJobsError() {
        return this.failedJobsError;
    }

    /**
     * Set the failedJobsError property: Stores all the failed jobs along with the corresponding error codes.
     * 
     * @param failedJobsError the failedJobsError value to set.
     * @return the OperationStatusJobsExtendedInfo object itself.
     */
    public OperationStatusJobsExtendedInfo withFailedJobsError(Map failedJobsError) {
        this.failedJobsError = failedJobsError;
        return this;
    }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy