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

com.pulumi.azurenative.awsconnector.outputs.AdvancedSecurityOptionsResponse Maven / Gradle / Ivy

There is a newer version: 2.89.2
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.awsconnector.outputs;

import com.pulumi.azurenative.awsconnector.outputs.SAMLOptionsOutputResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class AdvancedSecurityOptionsResponse {
    /**
     * @return <p>Date and time when the migration period will be disabled. Only necessary when <a href='https://docs.aws.amazon.com/opensearch-service/latest/developerguide/fgac.html#fgac-enabling-existing'>enabling fine-grained access control on an existing domain</a>.</p>
     * 
     */
    private @Nullable String anonymousAuthDisableDate;
    /**
     * @return <p>True if a 30-day migration period is enabled, during which administrators can create role mappings. Only necessary when <a href='https://docs.aws.amazon.com/opensearch-service/latest/developerguide/fgac.html#fgac-enabling-existing'>enabling fine-grained access control on an existing domain</a>.</p>
     * 
     */
    private @Nullable Boolean anonymousAuthEnabled;
    /**
     * @return <p>True if fine-grained access control is enabled.</p>
     * 
     */
    private @Nullable Boolean enabled;
    /**
     * @return <p>True if the internal user database is enabled.</p>
     * 
     */
    private @Nullable Boolean internalUserDatabaseEnabled;
    /**
     * @return <p>Container for information about the SAML configuration for OpenSearch Dashboards.</p>
     * 
     */
    private @Nullable SAMLOptionsOutputResponse samlOptions;

    private AdvancedSecurityOptionsResponse() {}
    /**
     * @return <p>Date and time when the migration period will be disabled. Only necessary when <a href='https://docs.aws.amazon.com/opensearch-service/latest/developerguide/fgac.html#fgac-enabling-existing'>enabling fine-grained access control on an existing domain</a>.</p>
     * 
     */
    public Optional anonymousAuthDisableDate() {
        return Optional.ofNullable(this.anonymousAuthDisableDate);
    }
    /**
     * @return <p>True if a 30-day migration period is enabled, during which administrators can create role mappings. Only necessary when <a href='https://docs.aws.amazon.com/opensearch-service/latest/developerguide/fgac.html#fgac-enabling-existing'>enabling fine-grained access control on an existing domain</a>.</p>
     * 
     */
    public Optional anonymousAuthEnabled() {
        return Optional.ofNullable(this.anonymousAuthEnabled);
    }
    /**
     * @return <p>True if fine-grained access control is enabled.</p>
     * 
     */
    public Optional enabled() {
        return Optional.ofNullable(this.enabled);
    }
    /**
     * @return <p>True if the internal user database is enabled.</p>
     * 
     */
    public Optional internalUserDatabaseEnabled() {
        return Optional.ofNullable(this.internalUserDatabaseEnabled);
    }
    /**
     * @return <p>Container for information about the SAML configuration for OpenSearch Dashboards.</p>
     * 
     */
    public Optional samlOptions() {
        return Optional.ofNullable(this.samlOptions);
    }

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

    public static Builder builder(AdvancedSecurityOptionsResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String anonymousAuthDisableDate;
        private @Nullable Boolean anonymousAuthEnabled;
        private @Nullable Boolean enabled;
        private @Nullable Boolean internalUserDatabaseEnabled;
        private @Nullable SAMLOptionsOutputResponse samlOptions;
        public Builder() {}
        public Builder(AdvancedSecurityOptionsResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.anonymousAuthDisableDate = defaults.anonymousAuthDisableDate;
    	      this.anonymousAuthEnabled = defaults.anonymousAuthEnabled;
    	      this.enabled = defaults.enabled;
    	      this.internalUserDatabaseEnabled = defaults.internalUserDatabaseEnabled;
    	      this.samlOptions = defaults.samlOptions;
        }

        @CustomType.Setter
        public Builder anonymousAuthDisableDate(@Nullable String anonymousAuthDisableDate) {

            this.anonymousAuthDisableDate = anonymousAuthDisableDate;
            return this;
        }
        @CustomType.Setter
        public Builder anonymousAuthEnabled(@Nullable Boolean anonymousAuthEnabled) {

            this.anonymousAuthEnabled = anonymousAuthEnabled;
            return this;
        }
        @CustomType.Setter
        public Builder enabled(@Nullable Boolean enabled) {

            this.enabled = enabled;
            return this;
        }
        @CustomType.Setter
        public Builder internalUserDatabaseEnabled(@Nullable Boolean internalUserDatabaseEnabled) {

            this.internalUserDatabaseEnabled = internalUserDatabaseEnabled;
            return this;
        }
        @CustomType.Setter
        public Builder samlOptions(@Nullable SAMLOptionsOutputResponse samlOptions) {

            this.samlOptions = samlOptions;
            return this;
        }
        public AdvancedSecurityOptionsResponse build() {
            final var _resultValue = new AdvancedSecurityOptionsResponse();
            _resultValue.anonymousAuthDisableDate = anonymousAuthDisableDate;
            _resultValue.anonymousAuthEnabled = anonymousAuthEnabled;
            _resultValue.enabled = enabled;
            _resultValue.internalUserDatabaseEnabled = internalUserDatabaseEnabled;
            _resultValue.samlOptions = samlOptions;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy