com.pulumi.azure.datafactory.outputs.LinkedServiceSqlServerKeyVaultConnectionString 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.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class LinkedServiceSqlServerKeyVaultConnectionString {
/**
* @return Specifies the name of an existing Key Vault Data Factory Linked Service.
*
*/
private String linkedServiceName;
/**
* @return Specifies the secret name in Azure Key Vault that stores SQL Server connection string.
*
*/
private String secretName;
private LinkedServiceSqlServerKeyVaultConnectionString() {}
/**
* @return Specifies the name of an existing Key Vault Data Factory Linked Service.
*
*/
public String linkedServiceName() {
return this.linkedServiceName;
}
/**
* @return Specifies the secret name in Azure Key Vault that stores SQL Server connection string.
*
*/
public String secretName() {
return this.secretName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(LinkedServiceSqlServerKeyVaultConnectionString defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String linkedServiceName;
private String secretName;
public Builder() {}
public Builder(LinkedServiceSqlServerKeyVaultConnectionString defaults) {
Objects.requireNonNull(defaults);
this.linkedServiceName = defaults.linkedServiceName;
this.secretName = defaults.secretName;
}
@CustomType.Setter
public Builder linkedServiceName(String linkedServiceName) {
if (linkedServiceName == null) {
throw new MissingRequiredPropertyException("LinkedServiceSqlServerKeyVaultConnectionString", "linkedServiceName");
}
this.linkedServiceName = linkedServiceName;
return this;
}
@CustomType.Setter
public Builder secretName(String secretName) {
if (secretName == null) {
throw new MissingRequiredPropertyException("LinkedServiceSqlServerKeyVaultConnectionString", "secretName");
}
this.secretName = secretName;
return this;
}
public LinkedServiceSqlServerKeyVaultConnectionString build() {
final var _resultValue = new LinkedServiceSqlServerKeyVaultConnectionString();
_resultValue.linkedServiceName = linkedServiceName;
_resultValue.secretName = secretName;
return _resultValue;
}
}
}