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 java.util.Collection;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.microsoft.rest.ExpandableStringEnum;
Defines values for JobTargetType.
/**
* Defines values for JobTargetType.
*/
public final class JobTargetType extends ExpandableStringEnum<JobTargetType> {
Static value TargetGroup for JobTargetType. /** Static value TargetGroup for JobTargetType. */
public static final JobTargetType TARGET_GROUP = fromString("TargetGroup");
Static value SqlDatabase for JobTargetType. /** Static value SqlDatabase for JobTargetType. */
public static final JobTargetType SQL_DATABASE = fromString("SqlDatabase");
Static value SqlElasticPool for JobTargetType. /** Static value SqlElasticPool for JobTargetType. */
public static final JobTargetType SQL_ELASTIC_POOL = fromString("SqlElasticPool");
Static value SqlShardMap for JobTargetType. /** Static value SqlShardMap for JobTargetType. */
public static final JobTargetType SQL_SHARD_MAP = fromString("SqlShardMap");
Static value SqlServer for JobTargetType. /** Static value SqlServer for JobTargetType. */
public static final JobTargetType SQL_SERVER = fromString("SqlServer");
Creates or finds a JobTargetType from its string representation.
Params: - name – a name to look for
Returns: the corresponding JobTargetType
/**
* Creates or finds a JobTargetType from its string representation.
* @param name a name to look for
* @return the corresponding JobTargetType
*/
@JsonCreator
public static JobTargetType fromString(String name) {
return fromString(name, JobTargetType.class);
}
Returns: known JobTargetType values
/**
* @return known JobTargetType values
*/
public static Collection<JobTargetType> values() {
return values(JobTargetType.class);
}
}