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

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

The 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 java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final ClientPermissionsTokenExchangeScopeArgs Empty = new ClientPermissionsTokenExchangeScopeArgs();

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

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

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

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

    @Import(name="policies")
    private @Nullable Output> policies;

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

    private ClientPermissionsTokenExchangeScopeArgs() {}

    private ClientPermissionsTokenExchangeScopeArgs(ClientPermissionsTokenExchangeScopeArgs $) {
        this.decisionStrategy = $.decisionStrategy;
        this.description = $.description;
        this.policies = $.policies;
    }

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

    public static final class Builder {
        private ClientPermissionsTokenExchangeScopeArgs $;

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

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

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

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

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

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

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

        public Builder policies(List policies) {
            return policies(Output.of(policies));
        }

        public Builder policies(String... policies) {
            return policies(List.of(policies));
        }

        public ClientPermissionsTokenExchangeScopeArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy