com.pulumi.azure.datafactory.inputs.LinkedServiceOdbcBasicAuthenticationArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure Show documentation
Show all versions of azure Show documentation
A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.
// *** 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.azure.datafactory.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class LinkedServiceOdbcBasicAuthenticationArgs extends com.pulumi.resources.ResourceArgs {
public static final LinkedServiceOdbcBasicAuthenticationArgs Empty = new LinkedServiceOdbcBasicAuthenticationArgs();
/**
* The password associated with the username, which can be used to authenticate to the ODBC endpoint.
*
*/
@Import(name="password", required=true)
private Output password;
/**
* @return The password associated with the username, which can be used to authenticate to the ODBC endpoint.
*
*/
public Output password() {
return this.password;
}
/**
* The username which can be used to authenticate to the ODBC endpoint.
*
*/
@Import(name="username", required=true)
private Output username;
/**
* @return The username which can be used to authenticate to the ODBC endpoint.
*
*/
public Output username() {
return this.username;
}
private LinkedServiceOdbcBasicAuthenticationArgs() {}
private LinkedServiceOdbcBasicAuthenticationArgs(LinkedServiceOdbcBasicAuthenticationArgs $) {
this.password = $.password;
this.username = $.username;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(LinkedServiceOdbcBasicAuthenticationArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private LinkedServiceOdbcBasicAuthenticationArgs $;
public Builder() {
$ = new LinkedServiceOdbcBasicAuthenticationArgs();
}
public Builder(LinkedServiceOdbcBasicAuthenticationArgs defaults) {
$ = new LinkedServiceOdbcBasicAuthenticationArgs(Objects.requireNonNull(defaults));
}
/**
* @param password The password associated with the username, which can be used to authenticate to the ODBC endpoint.
*
* @return builder
*
*/
public Builder password(Output password) {
$.password = password;
return this;
}
/**
* @param password The password associated with the username, which can be used to authenticate to the ODBC endpoint.
*
* @return builder
*
*/
public Builder password(String password) {
return password(Output.of(password));
}
/**
* @param username The username which can be used to authenticate to the ODBC endpoint.
*
* @return builder
*
*/
public Builder username(Output username) {
$.username = username;
return this;
}
/**
* @param username The username which can be used to authenticate to the ODBC endpoint.
*
* @return builder
*
*/
public Builder username(String username) {
return username(Output.of(username));
}
public LinkedServiceOdbcBasicAuthenticationArgs build() {
if ($.password == null) {
throw new MissingRequiredPropertyException("LinkedServiceOdbcBasicAuthenticationArgs", "password");
}
if ($.username == null) {
throw new MissingRequiredPropertyException("LinkedServiceOdbcBasicAuthenticationArgs", "username");
}
return $;
}
}
}