
com.pulumi.azurenative.streamanalytics.outputs.AzureSqlDatabaseOutputDataSourceResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
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.streamanalytics.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Double;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class AzureSqlDatabaseOutputDataSourceResponse {
/**
* @return Authentication Mode.
*
*/
private @Nullable String authenticationMode;
/**
* @return The name of the Azure SQL database. Required on PUT (CreateOrReplace) requests.
*
*/
private @Nullable String database;
/**
* @return Max Batch count for write to Sql database, the default value is 10,000. Optional on PUT requests.
*
*/
private @Nullable Double maxBatchCount;
/**
* @return Max Writer count, currently only 1(single writer) and 0(based on query partition) are available. Optional on PUT requests.
*
*/
private @Nullable Double maxWriterCount;
/**
* @return The password that will be used to connect to the Azure SQL database. Required on PUT (CreateOrReplace) requests.
*
*/
private @Nullable String password;
/**
* @return The name of the SQL server containing the Azure SQL database. Required on PUT (CreateOrReplace) requests.
*
*/
private @Nullable String server;
/**
* @return The name of the table in the Azure SQL database. Required on PUT (CreateOrReplace) requests.
*
*/
private @Nullable String table;
/**
* @return Indicates the type of data source output will be written to. Required on PUT (CreateOrReplace) requests.
* Expected value is 'Microsoft.Sql/Server/Database'.
*
*/
private String type;
/**
* @return The user name that will be used to connect to the Azure SQL database. Required on PUT (CreateOrReplace) requests.
*
*/
private @Nullable String user;
private AzureSqlDatabaseOutputDataSourceResponse() {}
/**
* @return Authentication Mode.
*
*/
public Optional authenticationMode() {
return Optional.ofNullable(this.authenticationMode);
}
/**
* @return The name of the Azure SQL database. Required on PUT (CreateOrReplace) requests.
*
*/
public Optional database() {
return Optional.ofNullable(this.database);
}
/**
* @return Max Batch count for write to Sql database, the default value is 10,000. Optional on PUT requests.
*
*/
public Optional maxBatchCount() {
return Optional.ofNullable(this.maxBatchCount);
}
/**
* @return Max Writer count, currently only 1(single writer) and 0(based on query partition) are available. Optional on PUT requests.
*
*/
public Optional maxWriterCount() {
return Optional.ofNullable(this.maxWriterCount);
}
/**
* @return The password that will be used to connect to the Azure SQL database. Required on PUT (CreateOrReplace) requests.
*
*/
public Optional password() {
return Optional.ofNullable(this.password);
}
/**
* @return The name of the SQL server containing the Azure SQL database. Required on PUT (CreateOrReplace) requests.
*
*/
public Optional server() {
return Optional.ofNullable(this.server);
}
/**
* @return The name of the table in the Azure SQL database. Required on PUT (CreateOrReplace) requests.
*
*/
public Optional table() {
return Optional.ofNullable(this.table);
}
/**
* @return Indicates the type of data source output will be written to. Required on PUT (CreateOrReplace) requests.
* Expected value is 'Microsoft.Sql/Server/Database'.
*
*/
public String type() {
return this.type;
}
/**
* @return The user name that will be used to connect to the Azure SQL database. Required on PUT (CreateOrReplace) requests.
*
*/
public Optional user() {
return Optional.ofNullable(this.user);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(AzureSqlDatabaseOutputDataSourceResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String authenticationMode;
private @Nullable String database;
private @Nullable Double maxBatchCount;
private @Nullable Double maxWriterCount;
private @Nullable String password;
private @Nullable String server;
private @Nullable String table;
private String type;
private @Nullable String user;
public Builder() {}
public Builder(AzureSqlDatabaseOutputDataSourceResponse defaults) {
Objects.requireNonNull(defaults);
this.authenticationMode = defaults.authenticationMode;
this.database = defaults.database;
this.maxBatchCount = defaults.maxBatchCount;
this.maxWriterCount = defaults.maxWriterCount;
this.password = defaults.password;
this.server = defaults.server;
this.table = defaults.table;
this.type = defaults.type;
this.user = defaults.user;
}
@CustomType.Setter
public Builder authenticationMode(@Nullable String authenticationMode) {
this.authenticationMode = authenticationMode;
return this;
}
@CustomType.Setter
public Builder database(@Nullable String database) {
this.database = database;
return this;
}
@CustomType.Setter
public Builder maxBatchCount(@Nullable Double maxBatchCount) {
this.maxBatchCount = maxBatchCount;
return this;
}
@CustomType.Setter
public Builder maxWriterCount(@Nullable Double maxWriterCount) {
this.maxWriterCount = maxWriterCount;
return this;
}
@CustomType.Setter
public Builder password(@Nullable String password) {
this.password = password;
return this;
}
@CustomType.Setter
public Builder server(@Nullable String server) {
this.server = server;
return this;
}
@CustomType.Setter
public Builder table(@Nullable String table) {
this.table = table;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("AzureSqlDatabaseOutputDataSourceResponse", "type");
}
this.type = type;
return this;
}
@CustomType.Setter
public Builder user(@Nullable String user) {
this.user = user;
return this;
}
public AzureSqlDatabaseOutputDataSourceResponse build() {
final var _resultValue = new AzureSqlDatabaseOutputDataSourceResponse();
_resultValue.authenticationMode = authenticationMode;
_resultValue.database = database;
_resultValue.maxBatchCount = maxBatchCount;
_resultValue.maxWriterCount = maxWriterCount;
_resultValue.password = password;
_resultValue.server = server;
_resultValue.table = table;
_resultValue.type = type;
_resultValue.user = user;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy