// *** 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.aws.ssoadmin.outputs;

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

@CustomType
public final class InstanceAccessControlAttributesAttributeValue {
    /**
     * @return The identity source to use when mapping a specified attribute to AWS SSO.
     * 
     */
    private List<String> sources;

    private InstanceAccessControlAttributesAttributeValue() {}
    /**
     * @return The identity source to use when mapping a specified attribute to AWS SSO.
     * 
     */
    public List<String> sources() {
        return this.sources;
    }

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

    public static Builder builder(InstanceAccessControlAttributesAttributeValue defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private List<String> sources;
        public Builder() {}
        public Builder(InstanceAccessControlAttributesAttributeValue defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.sources = defaults.sources;
        }

        @CustomType.Setter
        public Builder sources(List<String> sources) {
            this.sources = Objects.requireNonNull(sources);
            return this;
        }
        public Builder sources(String... sources) {
            return sources(List.of(sources));
        }
        public InstanceAccessControlAttributesAttributeValue build() {
            final var o = new InstanceAccessControlAttributesAttributeValue();
            o.sources = sources;
            return o;
        }
    }
}
