
com.pulumi.azurenative.storagecache.outputs.CacheUsernameDownloadSettingsResponseCredentials 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.storagecache.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class CacheUsernameDownloadSettingsResponseCredentials {
/**
* @return The Bind Distinguished Name identity to be used in the secure LDAP connection. This value is stored encrypted and not returned on response.
*
*/
private @Nullable String bindDn;
/**
* @return The Bind password to be used in the secure LDAP connection. This value is stored encrypted and not returned on response.
*
*/
private @Nullable String bindPassword;
private CacheUsernameDownloadSettingsResponseCredentials() {}
/**
* @return The Bind Distinguished Name identity to be used in the secure LDAP connection. This value is stored encrypted and not returned on response.
*
*/
public Optional bindDn() {
return Optional.ofNullable(this.bindDn);
}
/**
* @return The Bind password to be used in the secure LDAP connection. This value is stored encrypted and not returned on response.
*
*/
public Optional bindPassword() {
return Optional.ofNullable(this.bindPassword);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(CacheUsernameDownloadSettingsResponseCredentials defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String bindDn;
private @Nullable String bindPassword;
public Builder() {}
public Builder(CacheUsernameDownloadSettingsResponseCredentials defaults) {
Objects.requireNonNull(defaults);
this.bindDn = defaults.bindDn;
this.bindPassword = defaults.bindPassword;
}
@CustomType.Setter
public Builder bindDn(@Nullable String bindDn) {
this.bindDn = bindDn;
return this;
}
@CustomType.Setter
public Builder bindPassword(@Nullable String bindPassword) {
this.bindPassword = bindPassword;
return this;
}
public CacheUsernameDownloadSettingsResponseCredentials build() {
final var _resultValue = new CacheUsernameDownloadSettingsResponseCredentials();
_resultValue.bindDn = bindDn;
_resultValue.bindPassword = bindPassword;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy