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.
/** * 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.
/** * 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'.
/** * 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.
/** * The server name. */
@JsonProperty(value = "serverName", access = JsonProperty.Access.WRITE_ONLY) private String serverName;
The database name.
/** * 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'.
Returns:the type value
/** * 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.
Returns:the serverName value
/** * Get the server name. * * @return the serverName value */
public String serverName() { return this.serverName; }
Get the database name.
Returns:the databaseName value
/** * Get the database name. * * @return the databaseName value */
public String databaseName() { return this.databaseName; } }