com.microsoft.azure.management.sql.implementation.JobInner Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-mgmt-sql Show documentation
Show all versions of azure-mgmt-sql Show documentation
This package contains Microsoft Azure SDK for SQL Management module.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.sql.implementation;
import com.microsoft.azure.management.sql.JobSchedule;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.rest.serializer.JsonFlatten;
import com.microsoft.azure.ProxyResource;
/**
* A job.
*/
@JsonFlatten
public class JobInner extends ProxyResource {
/**
* User-defined description of the job.
*/
@JsonProperty(value = "properties.description")
private String description;
/**
* The job version number.
*/
@JsonProperty(value = "properties.version", access = JsonProperty.Access.WRITE_ONLY)
private Integer version;
/**
* Schedule properties of the job.
*/
@JsonProperty(value = "properties.schedule")
private JobSchedule schedule;
/**
* Get user-defined description of the job.
*
* @return the description value
*/
public String description() {
return this.description;
}
/**
* Set user-defined description of the job.
*
* @param description the description value to set
* @return the JobInner object itself.
*/
public JobInner withDescription(String description) {
this.description = description;
return this;
}
/**
* Get the job version number.
*
* @return the version value
*/
public Integer version() {
return this.version;
}
/**
* Get schedule properties of the job.
*
* @return the schedule value
*/
public JobSchedule schedule() {
return this.schedule;
}
/**
* Set schedule properties of the job.
*
* @param schedule the schedule value to set
* @return the JobInner object itself.
*/
public JobInner withSchedule(JobSchedule schedule) {
this.schedule = schedule;
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy