![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.hdinsight.outputs.SparkClusterSecurityProfile 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.hdinsight.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import javax.annotation.Nullable;
@CustomType
public final class SparkClusterSecurityProfile {
/**
* @return The resource ID of the Azure Active Directory Domain Service. Changing this forces a new resource to be created.
*
*/
private String aaddsResourceId;
/**
* @return A list of the distinguished names for the cluster user groups. Changing this forces a new resource to be created.
*
*/
private @Nullable List clusterUsersGroupDns;
/**
* @return The name of the Azure Active Directory Domain. Changing this forces a new resource to be created.
*
*/
private String domainName;
/**
* @return The user password of the Azure Active Directory Domain. Changing this forces a new resource to be created.
*
*/
private String domainUserPassword;
/**
* @return The username of the Azure Active Directory Domain. Changing this forces a new resource to be created.
*
*/
private String domainUsername;
/**
* @return A list of the LDAPS URLs to communicate with the Azure Active Directory. Changing this forces a new resource to be created.
*
*/
private List ldapsUrls;
/**
* @return The User Assigned Identity for the HDInsight Cluster. Changing this forces a new resource to be created.
*
*/
private String msiResourceId;
private SparkClusterSecurityProfile() {}
/**
* @return The resource ID of the Azure Active Directory Domain Service. Changing this forces a new resource to be created.
*
*/
public String aaddsResourceId() {
return this.aaddsResourceId;
}
/**
* @return A list of the distinguished names for the cluster user groups. Changing this forces a new resource to be created.
*
*/
public List clusterUsersGroupDns() {
return this.clusterUsersGroupDns == null ? List.of() : this.clusterUsersGroupDns;
}
/**
* @return The name of the Azure Active Directory Domain. Changing this forces a new resource to be created.
*
*/
public String domainName() {
return this.domainName;
}
/**
* @return The user password of the Azure Active Directory Domain. Changing this forces a new resource to be created.
*
*/
public String domainUserPassword() {
return this.domainUserPassword;
}
/**
* @return The username of the Azure Active Directory Domain. Changing this forces a new resource to be created.
*
*/
public String domainUsername() {
return this.domainUsername;
}
/**
* @return A list of the LDAPS URLs to communicate with the Azure Active Directory. Changing this forces a new resource to be created.
*
*/
public List ldapsUrls() {
return this.ldapsUrls;
}
/**
* @return The User Assigned Identity for the HDInsight Cluster. Changing this forces a new resource to be created.
*
*/
public String msiResourceId() {
return this.msiResourceId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(SparkClusterSecurityProfile defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String aaddsResourceId;
private @Nullable List clusterUsersGroupDns;
private String domainName;
private String domainUserPassword;
private String domainUsername;
private List ldapsUrls;
private String msiResourceId;
public Builder() {}
public Builder(SparkClusterSecurityProfile defaults) {
Objects.requireNonNull(defaults);
this.aaddsResourceId = defaults.aaddsResourceId;
this.clusterUsersGroupDns = defaults.clusterUsersGroupDns;
this.domainName = defaults.domainName;
this.domainUserPassword = defaults.domainUserPassword;
this.domainUsername = defaults.domainUsername;
this.ldapsUrls = defaults.ldapsUrls;
this.msiResourceId = defaults.msiResourceId;
}
@CustomType.Setter
public Builder aaddsResourceId(String aaddsResourceId) {
if (aaddsResourceId == null) {
throw new MissingRequiredPropertyException("SparkClusterSecurityProfile", "aaddsResourceId");
}
this.aaddsResourceId = aaddsResourceId;
return this;
}
@CustomType.Setter
public Builder clusterUsersGroupDns(@Nullable List clusterUsersGroupDns) {
this.clusterUsersGroupDns = clusterUsersGroupDns;
return this;
}
public Builder clusterUsersGroupDns(String... clusterUsersGroupDns) {
return clusterUsersGroupDns(List.of(clusterUsersGroupDns));
}
@CustomType.Setter
public Builder domainName(String domainName) {
if (domainName == null) {
throw new MissingRequiredPropertyException("SparkClusterSecurityProfile", "domainName");
}
this.domainName = domainName;
return this;
}
@CustomType.Setter
public Builder domainUserPassword(String domainUserPassword) {
if (domainUserPassword == null) {
throw new MissingRequiredPropertyException("SparkClusterSecurityProfile", "domainUserPassword");
}
this.domainUserPassword = domainUserPassword;
return this;
}
@CustomType.Setter
public Builder domainUsername(String domainUsername) {
if (domainUsername == null) {
throw new MissingRequiredPropertyException("SparkClusterSecurityProfile", "domainUsername");
}
this.domainUsername = domainUsername;
return this;
}
@CustomType.Setter
public Builder ldapsUrls(List ldapsUrls) {
if (ldapsUrls == null) {
throw new MissingRequiredPropertyException("SparkClusterSecurityProfile", "ldapsUrls");
}
this.ldapsUrls = ldapsUrls;
return this;
}
public Builder ldapsUrls(String... ldapsUrls) {
return ldapsUrls(List.of(ldapsUrls));
}
@CustomType.Setter
public Builder msiResourceId(String msiResourceId) {
if (msiResourceId == null) {
throw new MissingRequiredPropertyException("SparkClusterSecurityProfile", "msiResourceId");
}
this.msiResourceId = msiResourceId;
return this;
}
public SparkClusterSecurityProfile build() {
final var _resultValue = new SparkClusterSecurityProfile();
_resultValue.aaddsResourceId = aaddsResourceId;
_resultValue.clusterUsersGroupDns = clusterUsersGroupDns;
_resultValue.domainName = domainName;
_resultValue.domainUserPassword = domainUserPassword;
_resultValue.domainUsername = domainUsername;
_resultValue.ldapsUrls = ldapsUrls;
_resultValue.msiResourceId = msiResourceId;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy