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

com.pulumi.keycloak.outputs.RealmSecurityDefenses 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.keycloak.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.keycloak.outputs.RealmSecurityDefensesBruteForceDetection;
import com.pulumi.keycloak.outputs.RealmSecurityDefensesHeaders;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class RealmSecurityDefenses {
    private @Nullable RealmSecurityDefensesBruteForceDetection bruteForceDetection;
    private @Nullable RealmSecurityDefensesHeaders headers;

    private RealmSecurityDefenses() {}
    public Optional bruteForceDetection() {
        return Optional.ofNullable(this.bruteForceDetection);
    }
    public Optional headers() {
        return Optional.ofNullable(this.headers);
    }

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

    public static Builder builder(RealmSecurityDefenses defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable RealmSecurityDefensesBruteForceDetection bruteForceDetection;
        private @Nullable RealmSecurityDefensesHeaders headers;
        public Builder() {}
        public Builder(RealmSecurityDefenses defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.bruteForceDetection = defaults.bruteForceDetection;
    	      this.headers = defaults.headers;
        }

        @CustomType.Setter
        public Builder bruteForceDetection(@Nullable RealmSecurityDefensesBruteForceDetection bruteForceDetection) {

            this.bruteForceDetection = bruteForceDetection;
            return this;
        }
        @CustomType.Setter
        public Builder headers(@Nullable RealmSecurityDefensesHeaders headers) {

            this.headers = headers;
            return this;
        }
        public RealmSecurityDefenses build() {
            final var _resultValue = new RealmSecurityDefenses();
            _resultValue.bruteForceDetection = bruteForceDetection;
            _resultValue.headers = headers;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy