All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.aad.inputs.DomainSecuritySettingsArgs Maven / Gradle / Ivy

There is a newer version: 2.78.0
Show newest version
// *** 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.aad.inputs;

import com.pulumi.azurenative.aad.enums.ChannelBinding;
import com.pulumi.azurenative.aad.enums.KerberosArmoring;
import com.pulumi.azurenative.aad.enums.KerberosRc4Encryption;
import com.pulumi.azurenative.aad.enums.LdapSigning;
import com.pulumi.azurenative.aad.enums.NtlmV1;
import com.pulumi.azurenative.aad.enums.SyncKerberosPasswords;
import com.pulumi.azurenative.aad.enums.SyncNtlmPasswords;
import com.pulumi.azurenative.aad.enums.SyncOnPremPasswords;
import com.pulumi.azurenative.aad.enums.TlsV1;
import com.pulumi.core.Either;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.core.internal.Codegen;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Domain Security Settings
 * 
 */
public final class DomainSecuritySettingsArgs extends com.pulumi.resources.ResourceArgs {

    public static final DomainSecuritySettingsArgs Empty = new DomainSecuritySettingsArgs();

    /**
     * A flag to determine whether or not ChannelBinding is enabled or disabled.
     * 
     */
    @Import(name="channelBinding")
    private @Nullable Output> channelBinding;

    /**
     * @return A flag to determine whether or not ChannelBinding is enabled or disabled.
     * 
     */
    public Optional>> channelBinding() {
        return Optional.ofNullable(this.channelBinding);
    }

    /**
     * A flag to determine whether or not KerberosArmoring is enabled or disabled.
     * 
     */
    @Import(name="kerberosArmoring")
    private @Nullable Output> kerberosArmoring;

    /**
     * @return A flag to determine whether or not KerberosArmoring is enabled or disabled.
     * 
     */
    public Optional>> kerberosArmoring() {
        return Optional.ofNullable(this.kerberosArmoring);
    }

    /**
     * A flag to determine whether or not KerberosRc4Encryption is enabled or disabled.
     * 
     */
    @Import(name="kerberosRc4Encryption")
    private @Nullable Output> kerberosRc4Encryption;

    /**
     * @return A flag to determine whether or not KerberosRc4Encryption is enabled or disabled.
     * 
     */
    public Optional>> kerberosRc4Encryption() {
        return Optional.ofNullable(this.kerberosRc4Encryption);
    }

    /**
     * A flag to determine whether or not LdapSigning is enabled or disabled.
     * 
     */
    @Import(name="ldapSigning")
    private @Nullable Output> ldapSigning;

    /**
     * @return A flag to determine whether or not LdapSigning is enabled or disabled.
     * 
     */
    public Optional>> ldapSigning() {
        return Optional.ofNullable(this.ldapSigning);
    }

    /**
     * A flag to determine whether or not NtlmV1 is enabled or disabled.
     * 
     */
    @Import(name="ntlmV1")
    private @Nullable Output> ntlmV1;

    /**
     * @return A flag to determine whether or not NtlmV1 is enabled or disabled.
     * 
     */
    public Optional>> ntlmV1() {
        return Optional.ofNullable(this.ntlmV1);
    }

    /**
     * A flag to determine whether or not SyncKerberosPasswords is enabled or disabled.
     * 
     */
    @Import(name="syncKerberosPasswords")
    private @Nullable Output> syncKerberosPasswords;

    /**
     * @return A flag to determine whether or not SyncKerberosPasswords is enabled or disabled.
     * 
     */
    public Optional>> syncKerberosPasswords() {
        return Optional.ofNullable(this.syncKerberosPasswords);
    }

    /**
     * A flag to determine whether or not SyncNtlmPasswords is enabled or disabled.
     * 
     */
    @Import(name="syncNtlmPasswords")
    private @Nullable Output> syncNtlmPasswords;

    /**
     * @return A flag to determine whether or not SyncNtlmPasswords is enabled or disabled.
     * 
     */
    public Optional>> syncNtlmPasswords() {
        return Optional.ofNullable(this.syncNtlmPasswords);
    }

    /**
     * A flag to determine whether or not SyncOnPremPasswords is enabled or disabled.
     * 
     */
    @Import(name="syncOnPremPasswords")
    private @Nullable Output> syncOnPremPasswords;

    /**
     * @return A flag to determine whether or not SyncOnPremPasswords is enabled or disabled.
     * 
     */
    public Optional>> syncOnPremPasswords() {
        return Optional.ofNullable(this.syncOnPremPasswords);
    }

    /**
     * A flag to determine whether or not TlsV1 is enabled or disabled.
     * 
     */
    @Import(name="tlsV1")
    private @Nullable Output> tlsV1;

    /**
     * @return A flag to determine whether or not TlsV1 is enabled or disabled.
     * 
     */
    public Optional>> tlsV1() {
        return Optional.ofNullable(this.tlsV1);
    }

    private DomainSecuritySettingsArgs() {}

    private DomainSecuritySettingsArgs(DomainSecuritySettingsArgs $) {
        this.channelBinding = $.channelBinding;
        this.kerberosArmoring = $.kerberosArmoring;
        this.kerberosRc4Encryption = $.kerberosRc4Encryption;
        this.ldapSigning = $.ldapSigning;
        this.ntlmV1 = $.ntlmV1;
        this.syncKerberosPasswords = $.syncKerberosPasswords;
        this.syncNtlmPasswords = $.syncNtlmPasswords;
        this.syncOnPremPasswords = $.syncOnPremPasswords;
        this.tlsV1 = $.tlsV1;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(DomainSecuritySettingsArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private DomainSecuritySettingsArgs $;

        public Builder() {
            $ = new DomainSecuritySettingsArgs();
        }

        public Builder(DomainSecuritySettingsArgs defaults) {
            $ = new DomainSecuritySettingsArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param channelBinding A flag to determine whether or not ChannelBinding is enabled or disabled.
         * 
         * @return builder
         * 
         */
        public Builder channelBinding(@Nullable Output> channelBinding) {
            $.channelBinding = channelBinding;
            return this;
        }

        /**
         * @param channelBinding A flag to determine whether or not ChannelBinding is enabled or disabled.
         * 
         * @return builder
         * 
         */
        public Builder channelBinding(Either channelBinding) {
            return channelBinding(Output.of(channelBinding));
        }

        /**
         * @param channelBinding A flag to determine whether or not ChannelBinding is enabled or disabled.
         * 
         * @return builder
         * 
         */
        public Builder channelBinding(String channelBinding) {
            return channelBinding(Either.ofLeft(channelBinding));
        }

        /**
         * @param channelBinding A flag to determine whether or not ChannelBinding is enabled or disabled.
         * 
         * @return builder
         * 
         */
        public Builder channelBinding(ChannelBinding channelBinding) {
            return channelBinding(Either.ofRight(channelBinding));
        }

        /**
         * @param kerberosArmoring A flag to determine whether or not KerberosArmoring is enabled or disabled.
         * 
         * @return builder
         * 
         */
        public Builder kerberosArmoring(@Nullable Output> kerberosArmoring) {
            $.kerberosArmoring = kerberosArmoring;
            return this;
        }

        /**
         * @param kerberosArmoring A flag to determine whether or not KerberosArmoring is enabled or disabled.
         * 
         * @return builder
         * 
         */
        public Builder kerberosArmoring(Either kerberosArmoring) {
            return kerberosArmoring(Output.of(kerberosArmoring));
        }

        /**
         * @param kerberosArmoring A flag to determine whether or not KerberosArmoring is enabled or disabled.
         * 
         * @return builder
         * 
         */
        public Builder kerberosArmoring(String kerberosArmoring) {
            return kerberosArmoring(Either.ofLeft(kerberosArmoring));
        }

        /**
         * @param kerberosArmoring A flag to determine whether or not KerberosArmoring is enabled or disabled.
         * 
         * @return builder
         * 
         */
        public Builder kerberosArmoring(KerberosArmoring kerberosArmoring) {
            return kerberosArmoring(Either.ofRight(kerberosArmoring));
        }

        /**
         * @param kerberosRc4Encryption A flag to determine whether or not KerberosRc4Encryption is enabled or disabled.
         * 
         * @return builder
         * 
         */
        public Builder kerberosRc4Encryption(@Nullable Output> kerberosRc4Encryption) {
            $.kerberosRc4Encryption = kerberosRc4Encryption;
            return this;
        }

        /**
         * @param kerberosRc4Encryption A flag to determine whether or not KerberosRc4Encryption is enabled or disabled.
         * 
         * @return builder
         * 
         */
        public Builder kerberosRc4Encryption(Either kerberosRc4Encryption) {
            return kerberosRc4Encryption(Output.of(kerberosRc4Encryption));
        }

        /**
         * @param kerberosRc4Encryption A flag to determine whether or not KerberosRc4Encryption is enabled or disabled.
         * 
         * @return builder
         * 
         */
        public Builder kerberosRc4Encryption(String kerberosRc4Encryption) {
            return kerberosRc4Encryption(Either.ofLeft(kerberosRc4Encryption));
        }

        /**
         * @param kerberosRc4Encryption A flag to determine whether or not KerberosRc4Encryption is enabled or disabled.
         * 
         * @return builder
         * 
         */
        public Builder kerberosRc4Encryption(KerberosRc4Encryption kerberosRc4Encryption) {
            return kerberosRc4Encryption(Either.ofRight(kerberosRc4Encryption));
        }

        /**
         * @param ldapSigning A flag to determine whether or not LdapSigning is enabled or disabled.
         * 
         * @return builder
         * 
         */
        public Builder ldapSigning(@Nullable Output> ldapSigning) {
            $.ldapSigning = ldapSigning;
            return this;
        }

        /**
         * @param ldapSigning A flag to determine whether or not LdapSigning is enabled or disabled.
         * 
         * @return builder
         * 
         */
        public Builder ldapSigning(Either ldapSigning) {
            return ldapSigning(Output.of(ldapSigning));
        }

        /**
         * @param ldapSigning A flag to determine whether or not LdapSigning is enabled or disabled.
         * 
         * @return builder
         * 
         */
        public Builder ldapSigning(String ldapSigning) {
            return ldapSigning(Either.ofLeft(ldapSigning));
        }

        /**
         * @param ldapSigning A flag to determine whether or not LdapSigning is enabled or disabled.
         * 
         * @return builder
         * 
         */
        public Builder ldapSigning(LdapSigning ldapSigning) {
            return ldapSigning(Either.ofRight(ldapSigning));
        }

        /**
         * @param ntlmV1 A flag to determine whether or not NtlmV1 is enabled or disabled.
         * 
         * @return builder
         * 
         */
        public Builder ntlmV1(@Nullable Output> ntlmV1) {
            $.ntlmV1 = ntlmV1;
            return this;
        }

        /**
         * @param ntlmV1 A flag to determine whether or not NtlmV1 is enabled or disabled.
         * 
         * @return builder
         * 
         */
        public Builder ntlmV1(Either ntlmV1) {
            return ntlmV1(Output.of(ntlmV1));
        }

        /**
         * @param ntlmV1 A flag to determine whether or not NtlmV1 is enabled or disabled.
         * 
         * @return builder
         * 
         */
        public Builder ntlmV1(String ntlmV1) {
            return ntlmV1(Either.ofLeft(ntlmV1));
        }

        /**
         * @param ntlmV1 A flag to determine whether or not NtlmV1 is enabled or disabled.
         * 
         * @return builder
         * 
         */
        public Builder ntlmV1(NtlmV1 ntlmV1) {
            return ntlmV1(Either.ofRight(ntlmV1));
        }

        /**
         * @param syncKerberosPasswords A flag to determine whether or not SyncKerberosPasswords is enabled or disabled.
         * 
         * @return builder
         * 
         */
        public Builder syncKerberosPasswords(@Nullable Output> syncKerberosPasswords) {
            $.syncKerberosPasswords = syncKerberosPasswords;
            return this;
        }

        /**
         * @param syncKerberosPasswords A flag to determine whether or not SyncKerberosPasswords is enabled or disabled.
         * 
         * @return builder
         * 
         */
        public Builder syncKerberosPasswords(Either syncKerberosPasswords) {
            return syncKerberosPasswords(Output.of(syncKerberosPasswords));
        }

        /**
         * @param syncKerberosPasswords A flag to determine whether or not SyncKerberosPasswords is enabled or disabled.
         * 
         * @return builder
         * 
         */
        public Builder syncKerberosPasswords(String syncKerberosPasswords) {
            return syncKerberosPasswords(Either.ofLeft(syncKerberosPasswords));
        }

        /**
         * @param syncKerberosPasswords A flag to determine whether or not SyncKerberosPasswords is enabled or disabled.
         * 
         * @return builder
         * 
         */
        public Builder syncKerberosPasswords(SyncKerberosPasswords syncKerberosPasswords) {
            return syncKerberosPasswords(Either.ofRight(syncKerberosPasswords));
        }

        /**
         * @param syncNtlmPasswords A flag to determine whether or not SyncNtlmPasswords is enabled or disabled.
         * 
         * @return builder
         * 
         */
        public Builder syncNtlmPasswords(@Nullable Output> syncNtlmPasswords) {
            $.syncNtlmPasswords = syncNtlmPasswords;
            return this;
        }

        /**
         * @param syncNtlmPasswords A flag to determine whether or not SyncNtlmPasswords is enabled or disabled.
         * 
         * @return builder
         * 
         */
        public Builder syncNtlmPasswords(Either syncNtlmPasswords) {
            return syncNtlmPasswords(Output.of(syncNtlmPasswords));
        }

        /**
         * @param syncNtlmPasswords A flag to determine whether or not SyncNtlmPasswords is enabled or disabled.
         * 
         * @return builder
         * 
         */
        public Builder syncNtlmPasswords(String syncNtlmPasswords) {
            return syncNtlmPasswords(Either.ofLeft(syncNtlmPasswords));
        }

        /**
         * @param syncNtlmPasswords A flag to determine whether or not SyncNtlmPasswords is enabled or disabled.
         * 
         * @return builder
         * 
         */
        public Builder syncNtlmPasswords(SyncNtlmPasswords syncNtlmPasswords) {
            return syncNtlmPasswords(Either.ofRight(syncNtlmPasswords));
        }

        /**
         * @param syncOnPremPasswords A flag to determine whether or not SyncOnPremPasswords is enabled or disabled.
         * 
         * @return builder
         * 
         */
        public Builder syncOnPremPasswords(@Nullable Output> syncOnPremPasswords) {
            $.syncOnPremPasswords = syncOnPremPasswords;
            return this;
        }

        /**
         * @param syncOnPremPasswords A flag to determine whether or not SyncOnPremPasswords is enabled or disabled.
         * 
         * @return builder
         * 
         */
        public Builder syncOnPremPasswords(Either syncOnPremPasswords) {
            return syncOnPremPasswords(Output.of(syncOnPremPasswords));
        }

        /**
         * @param syncOnPremPasswords A flag to determine whether or not SyncOnPremPasswords is enabled or disabled.
         * 
         * @return builder
         * 
         */
        public Builder syncOnPremPasswords(String syncOnPremPasswords) {
            return syncOnPremPasswords(Either.ofLeft(syncOnPremPasswords));
        }

        /**
         * @param syncOnPremPasswords A flag to determine whether or not SyncOnPremPasswords is enabled or disabled.
         * 
         * @return builder
         * 
         */
        public Builder syncOnPremPasswords(SyncOnPremPasswords syncOnPremPasswords) {
            return syncOnPremPasswords(Either.ofRight(syncOnPremPasswords));
        }

        /**
         * @param tlsV1 A flag to determine whether or not TlsV1 is enabled or disabled.
         * 
         * @return builder
         * 
         */
        public Builder tlsV1(@Nullable Output> tlsV1) {
            $.tlsV1 = tlsV1;
            return this;
        }

        /**
         * @param tlsV1 A flag to determine whether or not TlsV1 is enabled or disabled.
         * 
         * @return builder
         * 
         */
        public Builder tlsV1(Either tlsV1) {
            return tlsV1(Output.of(tlsV1));
        }

        /**
         * @param tlsV1 A flag to determine whether or not TlsV1 is enabled or disabled.
         * 
         * @return builder
         * 
         */
        public Builder tlsV1(String tlsV1) {
            return tlsV1(Either.ofLeft(tlsV1));
        }

        /**
         * @param tlsV1 A flag to determine whether or not TlsV1 is enabled or disabled.
         * 
         * @return builder
         * 
         */
        public Builder tlsV1(TlsV1 tlsV1) {
            return tlsV1(Either.ofRight(tlsV1));
        }

        public DomainSecuritySettingsArgs build() {
            $.channelBinding = Codegen.stringProp("channelBinding").left(ChannelBinding.class).output().arg($.channelBinding).def("Disabled").getNullable();
            $.kerberosArmoring = Codegen.stringProp("kerberosArmoring").left(KerberosArmoring.class).output().arg($.kerberosArmoring).def("Disabled").getNullable();
            $.kerberosRc4Encryption = Codegen.stringProp("kerberosRc4Encryption").left(KerberosRc4Encryption.class).output().arg($.kerberosRc4Encryption).def("Enabled").getNullable();
            $.ldapSigning = Codegen.stringProp("ldapSigning").left(LdapSigning.class).output().arg($.ldapSigning).def("Disabled").getNullable();
            $.ntlmV1 = Codegen.stringProp("ntlmV1").left(NtlmV1.class).output().arg($.ntlmV1).def("Enabled").getNullable();
            $.syncKerberosPasswords = Codegen.stringProp("syncKerberosPasswords").left(SyncKerberosPasswords.class).output().arg($.syncKerberosPasswords).def("Enabled").getNullable();
            $.syncNtlmPasswords = Codegen.stringProp("syncNtlmPasswords").left(SyncNtlmPasswords.class).output().arg($.syncNtlmPasswords).def("Enabled").getNullable();
            $.syncOnPremPasswords = Codegen.stringProp("syncOnPremPasswords").left(SyncOnPremPasswords.class).output().arg($.syncOnPremPasswords).def("Enabled").getNullable();
            $.tlsV1 = Codegen.stringProp("tlsV1").left(TlsV1.class).output().arg($.tlsV1).def("Enabled").getNullable();
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy