com.microsoft.azure.management.sql.JobExecutionTarget Maven / Gradle / Ivy
/**
* 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 target that a job execution is executed on.
*/
public class JobExecutionTarget {
/**
* The type of the target. Possible values include: 'TargetGroup',
* 'SqlDatabase', 'SqlElasticPool', 'SqlShardMap', 'SqlServer'.
*/
@JsonProperty(value = "type", access = JsonProperty.Access.WRITE_ONLY)
private JobTargetType type;
/**
* The server name.
*/
@JsonProperty(value = "serverName", access = JsonProperty.Access.WRITE_ONLY)
private String serverName;
/**
* The database name.
*/
@JsonProperty(value = "databaseName", access = JsonProperty.Access.WRITE_ONLY)
private String databaseName;
/**
* Get the type of the target. Possible values include: 'TargetGroup', 'SqlDatabase', 'SqlElasticPool', 'SqlShardMap', 'SqlServer'.
*
* @return the type value
*/
public JobTargetType type() {
return this.type;
}
/**
* Get the server name.
*
* @return the serverName value
*/
public String serverName() {
return this.serverName;
}
/**
* Get the database name.
*
* @return the databaseName value
*/
public String databaseName() {
return this.databaseName;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy