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

com.azure.resourcemanager.automation.models.TaskProperties Maven / Gradle / Ivy

Go to download

This package contains Microsoft Azure SDK for Automation Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Automation Client. Package tag package-2019-06.

There is a newer version: 1.0.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.automation.models;

import com.azure.core.annotation.Fluent;
import com.azure.core.util.logging.ClientLogger;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Map;

/** Task properties of the software update configuration. */
@Fluent
public final class TaskProperties {
    @JsonIgnore private final ClientLogger logger = new ClientLogger(TaskProperties.class);

    /*
     * Gets or sets the parameters of the task.
     */
    @JsonProperty(value = "parameters")
    private Map parameters;

    /*
     * Gets or sets the name of the runbook.
     */
    @JsonProperty(value = "source")
    private String source;

    /**
     * Get the parameters property: Gets or sets the parameters of the task.
     *
     * @return the parameters value.
     */
    public Map parameters() {
        return this.parameters;
    }

    /**
     * Set the parameters property: Gets or sets the parameters of the task.
     *
     * @param parameters the parameters value to set.
     * @return the TaskProperties object itself.
     */
    public TaskProperties withParameters(Map parameters) {
        this.parameters = parameters;
        return this;
    }

    /**
     * Get the source property: Gets or sets the name of the runbook.
     *
     * @return the source value.
     */
    public String source() {
        return this.source;
    }

    /**
     * Set the source property: Gets or sets the name of the runbook.
     *
     * @param source the source value to set.
     * @return the TaskProperties object itself.
     */
    public TaskProperties withSource(String source) {
        this.source = source;
        return this;
    }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy