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

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

import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class GroupPermissionsViewMembersScope {
    private @Nullable String decisionStrategy;
    private @Nullable String description;
    private @Nullable List policies;

    private GroupPermissionsViewMembersScope() {}
    public Optional decisionStrategy() {
        return Optional.ofNullable(this.decisionStrategy);
    }
    public Optional description() {
        return Optional.ofNullable(this.description);
    }
    public List policies() {
        return this.policies == null ? List.of() : this.policies;
    }

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

    public static Builder builder(GroupPermissionsViewMembersScope defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String decisionStrategy;
        private @Nullable String description;
        private @Nullable List policies;
        public Builder() {}
        public Builder(GroupPermissionsViewMembersScope defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.decisionStrategy = defaults.decisionStrategy;
    	      this.description = defaults.description;
    	      this.policies = defaults.policies;
        }

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

            this.decisionStrategy = decisionStrategy;
            return this;
        }
        @CustomType.Setter
        public Builder description(@Nullable String description) {

            this.description = description;
            return this;
        }
        @CustomType.Setter
        public Builder policies(@Nullable List policies) {

            this.policies = policies;
            return this;
        }
        public Builder policies(String... policies) {
            return policies(List.of(policies));
        }
        public GroupPermissionsViewMembersScope build() {
            final var _resultValue = new GroupPermissionsViewMembersScope();
            _resultValue.decisionStrategy = decisionStrategy;
            _resultValue.description = description;
            _resultValue.policies = policies;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy