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

com.pulumi.keycloak.openid.inputs.ClientGroupPolicyState 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.keycloak.openid.inputs.ClientGroupPolicyGroupArgs;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final ClientGroupPolicyState Empty = new ClientGroupPolicyState();

    @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="groups")
    private @Nullable Output> groups;

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

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

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

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

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

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

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

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

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

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

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

    private ClientGroupPolicyState() {}

    private ClientGroupPolicyState(ClientGroupPolicyState $) {
        this.decisionStrategy = $.decisionStrategy;
        this.description = $.description;
        this.groups = $.groups;
        this.groupsClaim = $.groupsClaim;
        this.logic = $.logic;
        this.name = $.name;
        this.realmId = $.realmId;
        this.resourceServerId = $.resourceServerId;
    }

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

    public static final class Builder {
        private ClientGroupPolicyState $;

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

        public Builder(ClientGroupPolicyState defaults) {
            $ = new ClientGroupPolicyState(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 groups(@Nullable Output> groups) {
            $.groups = groups;
            return this;
        }

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

        public Builder groups(ClientGroupPolicyGroupArgs... groups) {
            return groups(List.of(groups));
        }

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

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

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

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

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

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

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

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

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

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

        public ClientGroupPolicyState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy