
com.pulumi.azurenative.storage.outputs.ActiveDirectoryPropertiesResponse Maven / Gradle / Ivy
// *** 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.storage.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 ActiveDirectoryPropertiesResponse {
/**
* @return Specifies the Active Directory account type for Azure Storage.
*
*/
private @Nullable String accountType;
/**
* @return Specifies the security identifier (SID) for Azure Storage.
*
*/
private @Nullable String azureStorageSid;
/**
* @return Specifies the domain GUID.
*
*/
private String domainGuid;
/**
* @return Specifies the primary domain that the AD DNS server is authoritative for.
*
*/
private String domainName;
/**
* @return Specifies the security identifier (SID).
*
*/
private @Nullable String domainSid;
/**
* @return Specifies the Active Directory forest to get.
*
*/
private @Nullable String forestName;
/**
* @return Specifies the NetBIOS domain name.
*
*/
private @Nullable String netBiosDomainName;
/**
* @return Specifies the Active Directory SAMAccountName for Azure Storage.
*
*/
private @Nullable String samAccountName;
private ActiveDirectoryPropertiesResponse() {}
/**
* @return Specifies the Active Directory account type for Azure Storage.
*
*/
public Optional accountType() {
return Optional.ofNullable(this.accountType);
}
/**
* @return Specifies the security identifier (SID) for Azure Storage.
*
*/
public Optional azureStorageSid() {
return Optional.ofNullable(this.azureStorageSid);
}
/**
* @return Specifies the domain GUID.
*
*/
public String domainGuid() {
return this.domainGuid;
}
/**
* @return Specifies the primary domain that the AD DNS server is authoritative for.
*
*/
public String domainName() {
return this.domainName;
}
/**
* @return Specifies the security identifier (SID).
*
*/
public Optional domainSid() {
return Optional.ofNullable(this.domainSid);
}
/**
* @return Specifies the Active Directory forest to get.
*
*/
public Optional forestName() {
return Optional.ofNullable(this.forestName);
}
/**
* @return Specifies the NetBIOS domain name.
*
*/
public Optional netBiosDomainName() {
return Optional.ofNullable(this.netBiosDomainName);
}
/**
* @return Specifies the Active Directory SAMAccountName for Azure Storage.
*
*/
public Optional samAccountName() {
return Optional.ofNullable(this.samAccountName);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ActiveDirectoryPropertiesResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String accountType;
private @Nullable String azureStorageSid;
private String domainGuid;
private String domainName;
private @Nullable String domainSid;
private @Nullable String forestName;
private @Nullable String netBiosDomainName;
private @Nullable String samAccountName;
public Builder() {}
public Builder(ActiveDirectoryPropertiesResponse defaults) {
Objects.requireNonNull(defaults);
this.accountType = defaults.accountType;
this.azureStorageSid = defaults.azureStorageSid;
this.domainGuid = defaults.domainGuid;
this.domainName = defaults.domainName;
this.domainSid = defaults.domainSid;
this.forestName = defaults.forestName;
this.netBiosDomainName = defaults.netBiosDomainName;
this.samAccountName = defaults.samAccountName;
}
@CustomType.Setter
public Builder accountType(@Nullable String accountType) {
this.accountType = accountType;
return this;
}
@CustomType.Setter
public Builder azureStorageSid(@Nullable String azureStorageSid) {
this.azureStorageSid = azureStorageSid;
return this;
}
@CustomType.Setter
public Builder domainGuid(String domainGuid) {
if (domainGuid == null) {
throw new MissingRequiredPropertyException("ActiveDirectoryPropertiesResponse", "domainGuid");
}
this.domainGuid = domainGuid;
return this;
}
@CustomType.Setter
public Builder domainName(String domainName) {
if (domainName == null) {
throw new MissingRequiredPropertyException("ActiveDirectoryPropertiesResponse", "domainName");
}
this.domainName = domainName;
return this;
}
@CustomType.Setter
public Builder domainSid(@Nullable String domainSid) {
this.domainSid = domainSid;
return this;
}
@CustomType.Setter
public Builder forestName(@Nullable String forestName) {
this.forestName = forestName;
return this;
}
@CustomType.Setter
public Builder netBiosDomainName(@Nullable String netBiosDomainName) {
this.netBiosDomainName = netBiosDomainName;
return this;
}
@CustomType.Setter
public Builder samAccountName(@Nullable String samAccountName) {
this.samAccountName = samAccountName;
return this;
}
public ActiveDirectoryPropertiesResponse build() {
final var _resultValue = new ActiveDirectoryPropertiesResponse();
_resultValue.accountType = accountType;
_resultValue.azureStorageSid = azureStorageSid;
_resultValue.domainGuid = domainGuid;
_resultValue.domainName = domainName;
_resultValue.domainSid = domainSid;
_resultValue.forestName = forestName;
_resultValue.netBiosDomainName = netBiosDomainName;
_resultValue.samAccountName = samAccountName;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy