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

com.pulumi.keycloak.openid.inputs.ClientAuthorizationArgs Maven / Gradle / Ivy

There is a newer version: 5.4.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.keycloak.openid.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class ClientAuthorizationArgs extends com.pulumi.resources.ResourceArgs {

    public static final ClientAuthorizationArgs Empty = new ClientAuthorizationArgs();

    @Import(name="allowRemoteResourceManagement")
    private @Nullable Output allowRemoteResourceManagement;

    public Optional> allowRemoteResourceManagement() {
        return Optional.ofNullable(this.allowRemoteResourceManagement);
    }

    @Import(name="decisionStrategy")
    private @Nullable Output decisionStrategy;

    public Optional> decisionStrategy() {
        return Optional.ofNullable(this.decisionStrategy);
    }

    @Import(name="keepDefaults")
    private @Nullable Output keepDefaults;

    public Optional> keepDefaults() {
        return Optional.ofNullable(this.keepDefaults);
    }

    @Import(name="policyEnforcementMode", required=true)
    private Output policyEnforcementMode;

    public Output policyEnforcementMode() {
        return this.policyEnforcementMode;
    }

    private ClientAuthorizationArgs() {}

    private ClientAuthorizationArgs(ClientAuthorizationArgs $) {
        this.allowRemoteResourceManagement = $.allowRemoteResourceManagement;
        this.decisionStrategy = $.decisionStrategy;
        this.keepDefaults = $.keepDefaults;
        this.policyEnforcementMode = $.policyEnforcementMode;
    }

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

    public static final class Builder {
        private ClientAuthorizationArgs $;

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

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

        public Builder allowRemoteResourceManagement(@Nullable Output allowRemoteResourceManagement) {
            $.allowRemoteResourceManagement = allowRemoteResourceManagement;
            return this;
        }

        public Builder allowRemoteResourceManagement(Boolean allowRemoteResourceManagement) {
            return allowRemoteResourceManagement(Output.of(allowRemoteResourceManagement));
        }

        public Builder decisionStrategy(@Nullable Output decisionStrategy) {
            $.decisionStrategy = decisionStrategy;
            return this;
        }

        public Builder decisionStrategy(String decisionStrategy) {
            return decisionStrategy(Output.of(decisionStrategy));
        }

        public Builder keepDefaults(@Nullable Output keepDefaults) {
            $.keepDefaults = keepDefaults;
            return this;
        }

        public Builder keepDefaults(Boolean keepDefaults) {
            return keepDefaults(Output.of(keepDefaults));
        }

        public Builder policyEnforcementMode(Output policyEnforcementMode) {
            $.policyEnforcementMode = policyEnforcementMode;
            return this;
        }

        public Builder policyEnforcementMode(String policyEnforcementMode) {
            return policyEnforcementMode(Output.of(policyEnforcementMode));
        }

        public ClientAuthorizationArgs build() {
            if ($.policyEnforcementMode == null) {
                throw new MissingRequiredPropertyException("ClientAuthorizationArgs", "policyEnforcementMode");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy