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

com.pulumi.okta.outputs.GetAppGroupAssignmentsResult Maven / Gradle / Ivy

There is a newer version: 4.13.0-alpha.1732774005
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.okta.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;

@CustomType
public final class GetAppGroupAssignmentsResult {
    /**
     * @return List of groups IDs assigned to the app
     * 
     */
    private List groups;
    /**
     * @return ID of the Okta App being queried for groups
     * 
     */
    private String id;

    private GetAppGroupAssignmentsResult() {}
    /**
     * @return List of groups IDs assigned to the app
     * 
     */
    public List groups() {
        return this.groups;
    }
    /**
     * @return ID of the Okta App being queried for groups
     * 
     */
    public String id() {
        return this.id;
    }

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

    public static Builder builder(GetAppGroupAssignmentsResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private List groups;
        private String id;
        public Builder() {}
        public Builder(GetAppGroupAssignmentsResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.groups = defaults.groups;
    	      this.id = defaults.id;
        }

        @CustomType.Setter
        public Builder groups(List groups) {
            if (groups == null) {
              throw new MissingRequiredPropertyException("GetAppGroupAssignmentsResult", "groups");
            }
            this.groups = groups;
            return this;
        }
        public Builder groups(String... groups) {
            return groups(List.of(groups));
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetAppGroupAssignmentsResult", "id");
            }
            this.id = id;
            return this;
        }
        public GetAppGroupAssignmentsResult build() {
            final var _resultValue = new GetAppGroupAssignmentsResult();
            _resultValue.groups = groups;
            _resultValue.id = id;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy