
com.pulumi.azurenative.storage.outputs.AzureFilesIdentityBasedAuthenticationResponse 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.storage.outputs;
import com.pulumi.azurenative.storage.outputs.ActiveDirectoryPropertiesResponse;
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 AzureFilesIdentityBasedAuthenticationResponse {
/**
* @return Required if directoryServiceOptions are AD, optional if they are AADKERB.
*
*/
private @Nullable ActiveDirectoryPropertiesResponse activeDirectoryProperties;
/**
* @return Default share permission for users using Kerberos authentication if RBAC role is not assigned.
*
*/
private @Nullable String defaultSharePermission;
/**
* @return Indicates the directory service used. Note that this enum may be extended in the future.
*
*/
private String directoryServiceOptions;
private AzureFilesIdentityBasedAuthenticationResponse() {}
/**
* @return Required if directoryServiceOptions are AD, optional if they are AADKERB.
*
*/
public Optional activeDirectoryProperties() {
return Optional.ofNullable(this.activeDirectoryProperties);
}
/**
* @return Default share permission for users using Kerberos authentication if RBAC role is not assigned.
*
*/
public Optional defaultSharePermission() {
return Optional.ofNullable(this.defaultSharePermission);
}
/**
* @return Indicates the directory service used. Note that this enum may be extended in the future.
*
*/
public String directoryServiceOptions() {
return this.directoryServiceOptions;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(AzureFilesIdentityBasedAuthenticationResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable ActiveDirectoryPropertiesResponse activeDirectoryProperties;
private @Nullable String defaultSharePermission;
private String directoryServiceOptions;
public Builder() {}
public Builder(AzureFilesIdentityBasedAuthenticationResponse defaults) {
Objects.requireNonNull(defaults);
this.activeDirectoryProperties = defaults.activeDirectoryProperties;
this.defaultSharePermission = defaults.defaultSharePermission;
this.directoryServiceOptions = defaults.directoryServiceOptions;
}
@CustomType.Setter
public Builder activeDirectoryProperties(@Nullable ActiveDirectoryPropertiesResponse activeDirectoryProperties) {
this.activeDirectoryProperties = activeDirectoryProperties;
return this;
}
@CustomType.Setter
public Builder defaultSharePermission(@Nullable String defaultSharePermission) {
this.defaultSharePermission = defaultSharePermission;
return this;
}
@CustomType.Setter
public Builder directoryServiceOptions(String directoryServiceOptions) {
if (directoryServiceOptions == null) {
throw new MissingRequiredPropertyException("AzureFilesIdentityBasedAuthenticationResponse", "directoryServiceOptions");
}
this.directoryServiceOptions = directoryServiceOptions;
return this;
}
public AzureFilesIdentityBasedAuthenticationResponse build() {
final var _resultValue = new AzureFilesIdentityBasedAuthenticationResponse();
_resultValue.activeDirectoryProperties = activeDirectoryProperties;
_resultValue.defaultSharePermission = defaultSharePermission;
_resultValue.directoryServiceOptions = directoryServiceOptions;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy