com.pulumi.azurenative.streamanalytics.outputs.AzureSynapseOutputDataSourceResponse 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.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class AzureSynapseOutputDataSourceResponse {
/**
* @return The name of the Azure SQL database. Required on PUT (CreateOrReplace) requests.
*
*/
private @Nullable String database;
/**
* @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/DataWarehouse'.
*
*/
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 AzureSynapseOutputDataSourceResponse() {}
/**
* @return The name of the Azure SQL database. Required on PUT (CreateOrReplace) requests.
*
*/
public Optional database() {
return Optional.ofNullable(this.database);
}
/**
* @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/DataWarehouse'.
*
*/
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(AzureSynapseOutputDataSourceResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String database;
private @Nullable String password;
private @Nullable String server;
private @Nullable String table;
private String type;
private @Nullable String user;
public Builder() {}
public Builder(AzureSynapseOutputDataSourceResponse defaults) {
Objects.requireNonNull(defaults);
this.database = defaults.database;
this.password = defaults.password;
this.server = defaults.server;
this.table = defaults.table;
this.type = defaults.type;
this.user = defaults.user;
}
@CustomType.Setter
public Builder database(@Nullable String database) {
this.database = database;
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("AzureSynapseOutputDataSourceResponse", "type");
}
this.type = type;
return this;
}
@CustomType.Setter
public Builder user(@Nullable String user) {
this.user = user;
return this;
}
public AzureSynapseOutputDataSourceResponse build() {
final var _resultValue = new AzureSynapseOutputDataSourceResponse();
_resultValue.database = database;
_resultValue.password = password;
_resultValue.server = server;
_resultValue.table = table;
_resultValue.type = type;
_resultValue.user = user;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy