com.microsoft.azure.management.sql.implementation.SyncAgentLinkedDatabaseInner 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 Sql Management SDK. A new set of management libraries are now Generally Available. For documentation on how to use the new libraries, please see https://aka.ms/azsdk/java/mgmt
/**
* 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.SyncMemberDbType;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.rest.serializer.JsonFlatten;
import com.microsoft.azure.ProxyResource;
/**
* An Azure SQL Database sync agent linked database.
*/
@JsonFlatten
public class SyncAgentLinkedDatabaseInner extends ProxyResource {
/**
* Type of the sync agent linked database. Possible values include:
* 'AzureSqlDatabase', 'SqlServerDatabase'.
*/
@JsonProperty(value = "properties.databaseType", access = JsonProperty.Access.WRITE_ONLY)
private SyncMemberDbType databaseType;
/**
* Id of the sync agent linked database.
*/
@JsonProperty(value = "properties.databaseId", access = JsonProperty.Access.WRITE_ONLY)
private String databaseId;
/**
* Description of the sync agent linked database.
*/
@JsonProperty(value = "properties.description", access = JsonProperty.Access.WRITE_ONLY)
private String description;
/**
* Server name of the sync agent linked database.
*/
@JsonProperty(value = "properties.serverName", access = JsonProperty.Access.WRITE_ONLY)
private String serverName;
/**
* Database name of the sync agent linked database.
*/
@JsonProperty(value = "properties.databaseName", access = JsonProperty.Access.WRITE_ONLY)
private String databaseName;
/**
* User name of the sync agent linked database.
*/
@JsonProperty(value = "properties.userName", access = JsonProperty.Access.WRITE_ONLY)
private String userName;
/**
* Get type of the sync agent linked database. Possible values include: 'AzureSqlDatabase', 'SqlServerDatabase'.
*
* @return the databaseType value
*/
public SyncMemberDbType databaseType() {
return this.databaseType;
}
/**
* Get id of the sync agent linked database.
*
* @return the databaseId value
*/
public String databaseId() {
return this.databaseId;
}
/**
* Get description of the sync agent linked database.
*
* @return the description value
*/
public String description() {
return this.description;
}
/**
* Get server name of the sync agent linked database.
*
* @return the serverName value
*/
public String serverName() {
return this.serverName;
}
/**
* Get database name of the sync agent linked database.
*
* @return the databaseName value
*/
public String databaseName() {
return this.databaseName;
}
/**
* Get user name of the sync agent linked database.
*
* @return the userName value
*/
public String userName() {
return this.userName;
}
}