com.microsoft.azure.management.sql.JobStepAction 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;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* The action to be executed by a job step.
*/
public class JobStepAction {
/**
* Type of action being executed by the job step. Possible values include:
* 'TSql'.
*/
@JsonProperty(value = "type")
private JobStepActionType type;
/**
* The source of the action to execute. Possible values include: 'Inline'.
*/
@JsonProperty(value = "source")
private JobStepActionSource source;
/**
* The action value, for example the text of the T-SQL script to execute.
*/
@JsonProperty(value = "value", required = true)
private String value;
/**
* Get type of action being executed by the job step. Possible values include: 'TSql'.
*
* @return the type value
*/
public JobStepActionType type() {
return this.type;
}
/**
* Set type of action being executed by the job step. Possible values include: 'TSql'.
*
* @param type the type value to set
* @return the JobStepAction object itself.
*/
public JobStepAction withType(JobStepActionType type) {
this.type = type;
return this;
}
/**
* Get the source of the action to execute. Possible values include: 'Inline'.
*
* @return the source value
*/
public JobStepActionSource source() {
return this.source;
}
/**
* Set the source of the action to execute. Possible values include: 'Inline'.
*
* @param source the source value to set
* @return the JobStepAction object itself.
*/
public JobStepAction withSource(JobStepActionSource source) {
this.source = source;
return this;
}
/**
* Get the action value, for example the text of the T-SQL script to execute.
*
* @return the value value
*/
public String value() {
return this.value;
}
/**
* Set the action value, for example the text of the T-SQL script to execute.
*
* @param value the value value to set
* @return the JobStepAction object itself.
*/
public JobStepAction withValue(String value) {
this.value = value;
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy