Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.pulumi.azurenative.datafactory.outputs.AzureSqlMILinkedServiceResponse Maven / Gradle / Ivy
Go to download
A native Pulumi package for creating and managing Azure resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.azurenative.datafactory.outputs;
import com.pulumi.azurenative.datafactory.outputs.AzureKeyVaultSecretReferenceResponse;
import com.pulumi.azurenative.datafactory.outputs.CredentialReferenceResponse;
import com.pulumi.azurenative.datafactory.outputs.IntegrationRuntimeReferenceResponse;
import com.pulumi.azurenative.datafactory.outputs.ParameterSpecificationResponse;
import com.pulumi.azurenative.datafactory.outputs.SecureStringResponse;
import com.pulumi.azurenative.datafactory.outputs.SqlAlwaysEncryptedPropertiesResponse;
import com.pulumi.core.Either;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Object;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class AzureSqlMILinkedServiceResponse {
/**
* @return Sql always encrypted properties.
*
*/
private @Nullable SqlAlwaysEncryptedPropertiesResponse alwaysEncryptedSettings;
/**
* @return List of tags that can be used for describing the linked service.
*
*/
private @Nullable List annotations;
/**
* @return The application workload type when connecting to a server, used by recommended version. Possible values are ReadOnly and ReadWrite. Type: string (or Expression with resultType string).
*
*/
private @Nullable Object applicationIntent;
/**
* @return The type used for authentication. Type: string.
*
*/
private @Nullable String authenticationType;
/**
* @return Indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud type. Type: string (or Expression with resultType string).
*
*/
private @Nullable Object azureCloudType;
/**
* @return The default wait time (in seconds) before terminating the attempt to execute a command and generating an error, used by recommended version. Type: integer (or Expression with resultType integer).
*
*/
private @Nullable Object commandTimeout;
/**
* @return The number of re-connections attempted after identifying that there was an idle connection failure, used by recommended version. This must be an integer between 0 and 255. Type: integer (or Expression with resultType integer).
*
*/
private @Nullable Object connectRetryCount;
/**
* @return The amount of time (in seconds) between each re-connection attempt after identifying that there was an idle connection failure, used by recommended version. This must be an integer between 1 and 60. Type: integer (or Expression with resultType integer).
*
*/
private @Nullable Object connectRetryInterval;
/**
* @return The length of time (in seconds) to wait for a connection to the server before terminating the attempt and generating an error, used by recommended version. Type: integer (or Expression with resultType integer).
*
*/
private @Nullable Object connectTimeout;
/**
* @return The integration runtime reference.
*
*/
private @Nullable IntegrationRuntimeReferenceResponse connectVia;
/**
* @return The connection string. Type: string, SecureString or AzureKeyVaultSecretReference.
*
*/
private @Nullable Object connectionString;
/**
* @return The credential reference containing authentication information.
*
*/
private @Nullable CredentialReferenceResponse credential;
/**
* @return The name of the database, used by recommended version. Type: string (or Expression with resultType string).
*
*/
private @Nullable Object database;
/**
* @return Linked service description.
*
*/
private @Nullable String description;
/**
* @return Indicate whether TLS encryption is required for all data sent between the client and server, used by recommended version. Possible values are true/yes/mandatory, false/no/optional and strict. Type: string (or Expression with resultType string).
*
*/
private @Nullable Object encrypt;
/**
* @return The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string.
*
*/
private @Nullable String encryptedCredential;
/**
* @return The name or address of the partner server to connect to if the primary server is down, used by recommended version. Type: string (or Expression with resultType string).
*
*/
private @Nullable Object failoverPartner;
/**
* @return The host name to use when validating the server certificate for the connection. When not specified, the server name from the Data Source is used for certificate validation, used by recommended version. Type: string (or Expression with resultType string).
*
*/
private @Nullable Object hostNameInCertificate;
/**
* @return Indicate whether User ID and Password are specified in the connection (when false) or whether the current Windows account credentials are used for authentication (when true), used by recommended version. Type: Boolean (or Expression with resultType boolean).
*
*/
private @Nullable Object integratedSecurity;
/**
* @return The minimum time, in seconds, for the connection to live in the connection pool before being destroyed, used by recommended version. Type: integer (or Expression with resultType integer).
*
*/
private @Nullable Object loadBalanceTimeout;
/**
* @return The maximum number of connections allowed in the connection pool for this specific connection string, used by recommended version. Type: integer (or Expression with resultType integer).
*
*/
private @Nullable Object maxPoolSize;
/**
* @return The minimum number of connections allowed in the connection pool for this specific connection string, used by recommended version. Type: integer (or Expression with resultType integer).
*
*/
private @Nullable Object minPoolSize;
/**
* @return If your application is connecting to an AlwaysOn availability group (AG) on different subnets, setting MultiSubnetFailover=true provides faster detection of and connection to the (currently) active server, used by recommended version. Type: Boolean (or Expression with resultType boolean).
*
*/
private @Nullable Object multiSubnetFailover;
/**
* @return When true, an application can maintain multiple active result sets (MARS). When false, an application must process or cancel all result sets from one batch before it can execute any other batch on that connection, used by recommended version. Type: Boolean (or Expression with resultType boolean).
*
*/
private @Nullable Object multipleActiveResultSets;
/**
* @return The size in bytes of the network packets used to communicate with an instance of server, used by recommended version. Type: integer (or Expression with resultType integer).
*
*/
private @Nullable Object packetSize;
/**
* @return Parameters for linked service.
*
*/
private @Nullable Map parameters;
/**
* @return The Azure key vault secret reference of password in connection string.
*
*/
private @Nullable AzureKeyVaultSecretReferenceResponse password;
/**
* @return Indicate whether the connection will be pooled or explicitly opened every time that the connection is requested, used by recommended version. Type: Boolean (or Expression with resultType boolean).
*
*/
private @Nullable Object pooling;
/**
* @return The name or network address of the instance of SQL Server to which to connect, used by recommended version. Type: string (or Expression with resultType string).
*
*/
private @Nullable Object server;
/**
* @return The credential of the service principal object in Azure Active Directory. If servicePrincipalCredentialType is 'ServicePrincipalKey', servicePrincipalCredential can be SecureString or AzureKeyVaultSecretReference. If servicePrincipalCredentialType is 'ServicePrincipalCert', servicePrincipalCredential can only be AzureKeyVaultSecretReference.
*
*/
private @Nullable Either servicePrincipalCredential;
/**
* @return The service principal credential type to use in Server-To-Server authentication. 'ServicePrincipalKey' for key/secret, 'ServicePrincipalCert' for certificate. Type: string (or Expression with resultType string).
*
*/
private @Nullable Object servicePrincipalCredentialType;
/**
* @return The ID of the service principal used to authenticate against Azure SQL Managed Instance. Type: string (or Expression with resultType string).
*
*/
private @Nullable Object servicePrincipalId;
/**
* @return The key of the service principal used to authenticate against Azure SQL Managed Instance.
*
*/
private @Nullable Either servicePrincipalKey;
/**
* @return The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string).
*
*/
private @Nullable Object tenant;
/**
* @return Indicate whether the channel will be encrypted while bypassing walking the certificate chain to validate trust, used by recommended version. Type: Boolean (or Expression with resultType boolean).
*
*/
private @Nullable Object trustServerCertificate;
/**
* @return Type of linked service.
* Expected value is 'AzureSqlMI'.
*
*/
private String type;
/**
* @return The user name to be used when connecting to server. Type: string (or Expression with resultType string).
*
*/
private @Nullable Object userName;
/**
* @return Version of the linked service.
*
*/
private @Nullable String version;
private AzureSqlMILinkedServiceResponse() {}
/**
* @return Sql always encrypted properties.
*
*/
public Optional alwaysEncryptedSettings() {
return Optional.ofNullable(this.alwaysEncryptedSettings);
}
/**
* @return List of tags that can be used for describing the linked service.
*
*/
public List annotations() {
return this.annotations == null ? List.of() : this.annotations;
}
/**
* @return The application workload type when connecting to a server, used by recommended version. Possible values are ReadOnly and ReadWrite. Type: string (or Expression with resultType string).
*
*/
public Optional applicationIntent() {
return Optional.ofNullable(this.applicationIntent);
}
/**
* @return The type used for authentication. Type: string.
*
*/
public Optional authenticationType() {
return Optional.ofNullable(this.authenticationType);
}
/**
* @return Indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud type. Type: string (or Expression with resultType string).
*
*/
public Optional azureCloudType() {
return Optional.ofNullable(this.azureCloudType);
}
/**
* @return The default wait time (in seconds) before terminating the attempt to execute a command and generating an error, used by recommended version. Type: integer (or Expression with resultType integer).
*
*/
public Optional commandTimeout() {
return Optional.ofNullable(this.commandTimeout);
}
/**
* @return The number of re-connections attempted after identifying that there was an idle connection failure, used by recommended version. This must be an integer between 0 and 255. Type: integer (or Expression with resultType integer).
*
*/
public Optional connectRetryCount() {
return Optional.ofNullable(this.connectRetryCount);
}
/**
* @return The amount of time (in seconds) between each re-connection attempt after identifying that there was an idle connection failure, used by recommended version. This must be an integer between 1 and 60. Type: integer (or Expression with resultType integer).
*
*/
public Optional connectRetryInterval() {
return Optional.ofNullable(this.connectRetryInterval);
}
/**
* @return The length of time (in seconds) to wait for a connection to the server before terminating the attempt and generating an error, used by recommended version. Type: integer (or Expression with resultType integer).
*
*/
public Optional connectTimeout() {
return Optional.ofNullable(this.connectTimeout);
}
/**
* @return The integration runtime reference.
*
*/
public Optional connectVia() {
return Optional.ofNullable(this.connectVia);
}
/**
* @return The connection string. Type: string, SecureString or AzureKeyVaultSecretReference.
*
*/
public Optional connectionString() {
return Optional.ofNullable(this.connectionString);
}
/**
* @return The credential reference containing authentication information.
*
*/
public Optional credential() {
return Optional.ofNullable(this.credential);
}
/**
* @return The name of the database, used by recommended version. Type: string (or Expression with resultType string).
*
*/
public Optional database() {
return Optional.ofNullable(this.database);
}
/**
* @return Linked service description.
*
*/
public Optional description() {
return Optional.ofNullable(this.description);
}
/**
* @return Indicate whether TLS encryption is required for all data sent between the client and server, used by recommended version. Possible values are true/yes/mandatory, false/no/optional and strict. Type: string (or Expression with resultType string).
*
*/
public Optional encrypt() {
return Optional.ofNullable(this.encrypt);
}
/**
* @return The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string.
*
*/
public Optional encryptedCredential() {
return Optional.ofNullable(this.encryptedCredential);
}
/**
* @return The name or address of the partner server to connect to if the primary server is down, used by recommended version. Type: string (or Expression with resultType string).
*
*/
public Optional failoverPartner() {
return Optional.ofNullable(this.failoverPartner);
}
/**
* @return The host name to use when validating the server certificate for the connection. When not specified, the server name from the Data Source is used for certificate validation, used by recommended version. Type: string (or Expression with resultType string).
*
*/
public Optional hostNameInCertificate() {
return Optional.ofNullable(this.hostNameInCertificate);
}
/**
* @return Indicate whether User ID and Password are specified in the connection (when false) or whether the current Windows account credentials are used for authentication (when true), used by recommended version. Type: Boolean (or Expression with resultType boolean).
*
*/
public Optional integratedSecurity() {
return Optional.ofNullable(this.integratedSecurity);
}
/**
* @return The minimum time, in seconds, for the connection to live in the connection pool before being destroyed, used by recommended version. Type: integer (or Expression with resultType integer).
*
*/
public Optional loadBalanceTimeout() {
return Optional.ofNullable(this.loadBalanceTimeout);
}
/**
* @return The maximum number of connections allowed in the connection pool for this specific connection string, used by recommended version. Type: integer (or Expression with resultType integer).
*
*/
public Optional maxPoolSize() {
return Optional.ofNullable(this.maxPoolSize);
}
/**
* @return The minimum number of connections allowed in the connection pool for this specific connection string, used by recommended version. Type: integer (or Expression with resultType integer).
*
*/
public Optional minPoolSize() {
return Optional.ofNullable(this.minPoolSize);
}
/**
* @return If your application is connecting to an AlwaysOn availability group (AG) on different subnets, setting MultiSubnetFailover=true provides faster detection of and connection to the (currently) active server, used by recommended version. Type: Boolean (or Expression with resultType boolean).
*
*/
public Optional multiSubnetFailover() {
return Optional.ofNullable(this.multiSubnetFailover);
}
/**
* @return When true, an application can maintain multiple active result sets (MARS). When false, an application must process or cancel all result sets from one batch before it can execute any other batch on that connection, used by recommended version. Type: Boolean (or Expression with resultType boolean).
*
*/
public Optional multipleActiveResultSets() {
return Optional.ofNullable(this.multipleActiveResultSets);
}
/**
* @return The size in bytes of the network packets used to communicate with an instance of server, used by recommended version. Type: integer (or Expression with resultType integer).
*
*/
public Optional packetSize() {
return Optional.ofNullable(this.packetSize);
}
/**
* @return Parameters for linked service.
*
*/
public Map parameters() {
return this.parameters == null ? Map.of() : this.parameters;
}
/**
* @return The Azure key vault secret reference of password in connection string.
*
*/
public Optional password() {
return Optional.ofNullable(this.password);
}
/**
* @return Indicate whether the connection will be pooled or explicitly opened every time that the connection is requested, used by recommended version. Type: Boolean (or Expression with resultType boolean).
*
*/
public Optional pooling() {
return Optional.ofNullable(this.pooling);
}
/**
* @return The name or network address of the instance of SQL Server to which to connect, used by recommended version. Type: string (or Expression with resultType string).
*
*/
public Optional server() {
return Optional.ofNullable(this.server);
}
/**
* @return The credential of the service principal object in Azure Active Directory. If servicePrincipalCredentialType is 'ServicePrincipalKey', servicePrincipalCredential can be SecureString or AzureKeyVaultSecretReference. If servicePrincipalCredentialType is 'ServicePrincipalCert', servicePrincipalCredential can only be AzureKeyVaultSecretReference.
*
*/
public Optional> servicePrincipalCredential() {
return Optional.ofNullable(this.servicePrincipalCredential);
}
/**
* @return The service principal credential type to use in Server-To-Server authentication. 'ServicePrincipalKey' for key/secret, 'ServicePrincipalCert' for certificate. Type: string (or Expression with resultType string).
*
*/
public Optional servicePrincipalCredentialType() {
return Optional.ofNullable(this.servicePrincipalCredentialType);
}
/**
* @return The ID of the service principal used to authenticate against Azure SQL Managed Instance. Type: string (or Expression with resultType string).
*
*/
public Optional servicePrincipalId() {
return Optional.ofNullable(this.servicePrincipalId);
}
/**
* @return The key of the service principal used to authenticate against Azure SQL Managed Instance.
*
*/
public Optional> servicePrincipalKey() {
return Optional.ofNullable(this.servicePrincipalKey);
}
/**
* @return The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string).
*
*/
public Optional tenant() {
return Optional.ofNullable(this.tenant);
}
/**
* @return Indicate whether the channel will be encrypted while bypassing walking the certificate chain to validate trust, used by recommended version. Type: Boolean (or Expression with resultType boolean).
*
*/
public Optional trustServerCertificate() {
return Optional.ofNullable(this.trustServerCertificate);
}
/**
* @return Type of linked service.
* Expected value is 'AzureSqlMI'.
*
*/
public String type() {
return this.type;
}
/**
* @return The user name to be used when connecting to server. Type: string (or Expression with resultType string).
*
*/
public Optional userName() {
return Optional.ofNullable(this.userName);
}
/**
* @return Version of the linked service.
*
*/
public Optional version() {
return Optional.ofNullable(this.version);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(AzureSqlMILinkedServiceResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable SqlAlwaysEncryptedPropertiesResponse alwaysEncryptedSettings;
private @Nullable List annotations;
private @Nullable Object applicationIntent;
private @Nullable String authenticationType;
private @Nullable Object azureCloudType;
private @Nullable Object commandTimeout;
private @Nullable Object connectRetryCount;
private @Nullable Object connectRetryInterval;
private @Nullable Object connectTimeout;
private @Nullable IntegrationRuntimeReferenceResponse connectVia;
private @Nullable Object connectionString;
private @Nullable CredentialReferenceResponse credential;
private @Nullable Object database;
private @Nullable String description;
private @Nullable Object encrypt;
private @Nullable String encryptedCredential;
private @Nullable Object failoverPartner;
private @Nullable Object hostNameInCertificate;
private @Nullable Object integratedSecurity;
private @Nullable Object loadBalanceTimeout;
private @Nullable Object maxPoolSize;
private @Nullable Object minPoolSize;
private @Nullable Object multiSubnetFailover;
private @Nullable Object multipleActiveResultSets;
private @Nullable Object packetSize;
private @Nullable Map parameters;
private @Nullable AzureKeyVaultSecretReferenceResponse password;
private @Nullable Object pooling;
private @Nullable Object server;
private @Nullable Either servicePrincipalCredential;
private @Nullable Object servicePrincipalCredentialType;
private @Nullable Object servicePrincipalId;
private @Nullable Either servicePrincipalKey;
private @Nullable Object tenant;
private @Nullable Object trustServerCertificate;
private String type;
private @Nullable Object userName;
private @Nullable String version;
public Builder() {}
public Builder(AzureSqlMILinkedServiceResponse defaults) {
Objects.requireNonNull(defaults);
this.alwaysEncryptedSettings = defaults.alwaysEncryptedSettings;
this.annotations = defaults.annotations;
this.applicationIntent = defaults.applicationIntent;
this.authenticationType = defaults.authenticationType;
this.azureCloudType = defaults.azureCloudType;
this.commandTimeout = defaults.commandTimeout;
this.connectRetryCount = defaults.connectRetryCount;
this.connectRetryInterval = defaults.connectRetryInterval;
this.connectTimeout = defaults.connectTimeout;
this.connectVia = defaults.connectVia;
this.connectionString = defaults.connectionString;
this.credential = defaults.credential;
this.database = defaults.database;
this.description = defaults.description;
this.encrypt = defaults.encrypt;
this.encryptedCredential = defaults.encryptedCredential;
this.failoverPartner = defaults.failoverPartner;
this.hostNameInCertificate = defaults.hostNameInCertificate;
this.integratedSecurity = defaults.integratedSecurity;
this.loadBalanceTimeout = defaults.loadBalanceTimeout;
this.maxPoolSize = defaults.maxPoolSize;
this.minPoolSize = defaults.minPoolSize;
this.multiSubnetFailover = defaults.multiSubnetFailover;
this.multipleActiveResultSets = defaults.multipleActiveResultSets;
this.packetSize = defaults.packetSize;
this.parameters = defaults.parameters;
this.password = defaults.password;
this.pooling = defaults.pooling;
this.server = defaults.server;
this.servicePrincipalCredential = defaults.servicePrincipalCredential;
this.servicePrincipalCredentialType = defaults.servicePrincipalCredentialType;
this.servicePrincipalId = defaults.servicePrincipalId;
this.servicePrincipalKey = defaults.servicePrincipalKey;
this.tenant = defaults.tenant;
this.trustServerCertificate = defaults.trustServerCertificate;
this.type = defaults.type;
this.userName = defaults.userName;
this.version = defaults.version;
}
@CustomType.Setter
public Builder alwaysEncryptedSettings(@Nullable SqlAlwaysEncryptedPropertiesResponse alwaysEncryptedSettings) {
this.alwaysEncryptedSettings = alwaysEncryptedSettings;
return this;
}
@CustomType.Setter
public Builder annotations(@Nullable List annotations) {
this.annotations = annotations;
return this;
}
public Builder annotations(Object... annotations) {
return annotations(List.of(annotations));
}
@CustomType.Setter
public Builder applicationIntent(@Nullable Object applicationIntent) {
this.applicationIntent = applicationIntent;
return this;
}
@CustomType.Setter
public Builder authenticationType(@Nullable String authenticationType) {
this.authenticationType = authenticationType;
return this;
}
@CustomType.Setter
public Builder azureCloudType(@Nullable Object azureCloudType) {
this.azureCloudType = azureCloudType;
return this;
}
@CustomType.Setter
public Builder commandTimeout(@Nullable Object commandTimeout) {
this.commandTimeout = commandTimeout;
return this;
}
@CustomType.Setter
public Builder connectRetryCount(@Nullable Object connectRetryCount) {
this.connectRetryCount = connectRetryCount;
return this;
}
@CustomType.Setter
public Builder connectRetryInterval(@Nullable Object connectRetryInterval) {
this.connectRetryInterval = connectRetryInterval;
return this;
}
@CustomType.Setter
public Builder connectTimeout(@Nullable Object connectTimeout) {
this.connectTimeout = connectTimeout;
return this;
}
@CustomType.Setter
public Builder connectVia(@Nullable IntegrationRuntimeReferenceResponse connectVia) {
this.connectVia = connectVia;
return this;
}
@CustomType.Setter
public Builder connectionString(@Nullable Object connectionString) {
this.connectionString = connectionString;
return this;
}
@CustomType.Setter
public Builder credential(@Nullable CredentialReferenceResponse credential) {
this.credential = credential;
return this;
}
@CustomType.Setter
public Builder database(@Nullable Object database) {
this.database = database;
return this;
}
@CustomType.Setter
public Builder description(@Nullable String description) {
this.description = description;
return this;
}
@CustomType.Setter
public Builder encrypt(@Nullable Object encrypt) {
this.encrypt = encrypt;
return this;
}
@CustomType.Setter
public Builder encryptedCredential(@Nullable String encryptedCredential) {
this.encryptedCredential = encryptedCredential;
return this;
}
@CustomType.Setter
public Builder failoverPartner(@Nullable Object failoverPartner) {
this.failoverPartner = failoverPartner;
return this;
}
@CustomType.Setter
public Builder hostNameInCertificate(@Nullable Object hostNameInCertificate) {
this.hostNameInCertificate = hostNameInCertificate;
return this;
}
@CustomType.Setter
public Builder integratedSecurity(@Nullable Object integratedSecurity) {
this.integratedSecurity = integratedSecurity;
return this;
}
@CustomType.Setter
public Builder loadBalanceTimeout(@Nullable Object loadBalanceTimeout) {
this.loadBalanceTimeout = loadBalanceTimeout;
return this;
}
@CustomType.Setter
public Builder maxPoolSize(@Nullable Object maxPoolSize) {
this.maxPoolSize = maxPoolSize;
return this;
}
@CustomType.Setter
public Builder minPoolSize(@Nullable Object minPoolSize) {
this.minPoolSize = minPoolSize;
return this;
}
@CustomType.Setter
public Builder multiSubnetFailover(@Nullable Object multiSubnetFailover) {
this.multiSubnetFailover = multiSubnetFailover;
return this;
}
@CustomType.Setter
public Builder multipleActiveResultSets(@Nullable Object multipleActiveResultSets) {
this.multipleActiveResultSets = multipleActiveResultSets;
return this;
}
@CustomType.Setter
public Builder packetSize(@Nullable Object packetSize) {
this.packetSize = packetSize;
return this;
}
@CustomType.Setter
public Builder parameters(@Nullable Map parameters) {
this.parameters = parameters;
return this;
}
@CustomType.Setter
public Builder password(@Nullable AzureKeyVaultSecretReferenceResponse password) {
this.password = password;
return this;
}
@CustomType.Setter
public Builder pooling(@Nullable Object pooling) {
this.pooling = pooling;
return this;
}
@CustomType.Setter
public Builder server(@Nullable Object server) {
this.server = server;
return this;
}
@CustomType.Setter
public Builder servicePrincipalCredential(@Nullable Either servicePrincipalCredential) {
this.servicePrincipalCredential = servicePrincipalCredential;
return this;
}
@CustomType.Setter
public Builder servicePrincipalCredentialType(@Nullable Object servicePrincipalCredentialType) {
this.servicePrincipalCredentialType = servicePrincipalCredentialType;
return this;
}
@CustomType.Setter
public Builder servicePrincipalId(@Nullable Object servicePrincipalId) {
this.servicePrincipalId = servicePrincipalId;
return this;
}
@CustomType.Setter
public Builder servicePrincipalKey(@Nullable Either servicePrincipalKey) {
this.servicePrincipalKey = servicePrincipalKey;
return this;
}
@CustomType.Setter
public Builder tenant(@Nullable Object tenant) {
this.tenant = tenant;
return this;
}
@CustomType.Setter
public Builder trustServerCertificate(@Nullable Object trustServerCertificate) {
this.trustServerCertificate = trustServerCertificate;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("AzureSqlMILinkedServiceResponse", "type");
}
this.type = type;
return this;
}
@CustomType.Setter
public Builder userName(@Nullable Object userName) {
this.userName = userName;
return this;
}
@CustomType.Setter
public Builder version(@Nullable String version) {
this.version = version;
return this;
}
public AzureSqlMILinkedServiceResponse build() {
final var _resultValue = new AzureSqlMILinkedServiceResponse();
_resultValue.alwaysEncryptedSettings = alwaysEncryptedSettings;
_resultValue.annotations = annotations;
_resultValue.applicationIntent = applicationIntent;
_resultValue.authenticationType = authenticationType;
_resultValue.azureCloudType = azureCloudType;
_resultValue.commandTimeout = commandTimeout;
_resultValue.connectRetryCount = connectRetryCount;
_resultValue.connectRetryInterval = connectRetryInterval;
_resultValue.connectTimeout = connectTimeout;
_resultValue.connectVia = connectVia;
_resultValue.connectionString = connectionString;
_resultValue.credential = credential;
_resultValue.database = database;
_resultValue.description = description;
_resultValue.encrypt = encrypt;
_resultValue.encryptedCredential = encryptedCredential;
_resultValue.failoverPartner = failoverPartner;
_resultValue.hostNameInCertificate = hostNameInCertificate;
_resultValue.integratedSecurity = integratedSecurity;
_resultValue.loadBalanceTimeout = loadBalanceTimeout;
_resultValue.maxPoolSize = maxPoolSize;
_resultValue.minPoolSize = minPoolSize;
_resultValue.multiSubnetFailover = multiSubnetFailover;
_resultValue.multipleActiveResultSets = multipleActiveResultSets;
_resultValue.packetSize = packetSize;
_resultValue.parameters = parameters;
_resultValue.password = password;
_resultValue.pooling = pooling;
_resultValue.server = server;
_resultValue.servicePrincipalCredential = servicePrincipalCredential;
_resultValue.servicePrincipalCredentialType = servicePrincipalCredentialType;
_resultValue.servicePrincipalId = servicePrincipalId;
_resultValue.servicePrincipalKey = servicePrincipalKey;
_resultValue.tenant = tenant;
_resultValue.trustServerCertificate = trustServerCertificate;
_resultValue.type = type;
_resultValue.userName = userName;
_resultValue.version = version;
return _resultValue;
}
}
}