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

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

@CustomType
public final class GetInstanceProfilesResult {
    /**
     * @return Set of ARNs of instance profiles.
     * 
     */
    private List<String> arns;
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    private String id;
    /**
     * @return Set of IAM instance profile names.
     * 
     */
    private List<String> names;
    /**
     * @return Set of IAM instance profile paths.
     * 
     */
    private List<String> paths;
    private String roleName;

    private GetInstanceProfilesResult() {}
    /**
     * @return Set of ARNs of instance profiles.
     * 
     */
    public List<String> arns() {
        return this.arns;
    }
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return Set of IAM instance profile names.
     * 
     */
    public List<String> names() {
        return this.names;
    }
    /**
     * @return Set of IAM instance profile paths.
     * 
     */
    public List<String> paths() {
        return this.paths;
    }
    public String roleName() {
        return this.roleName;
    }

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

    public static Builder builder(GetInstanceProfilesResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private List<String> arns;
        private String id;
        private List<String> names;
        private List<String> paths;
        private String roleName;
        public Builder() {}
        public Builder(GetInstanceProfilesResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.arns = defaults.arns;
    	      this.id = defaults.id;
    	      this.names = defaults.names;
    	      this.paths = defaults.paths;
    	      this.roleName = defaults.roleName;
        }

        @CustomType.Setter
        public Builder arns(List<String> arns) {
            this.arns = Objects.requireNonNull(arns);
            return this;
        }
        public Builder arns(String... arns) {
            return arns(List.of(arns));
        }
        @CustomType.Setter
        public Builder id(String id) {
            this.id = Objects.requireNonNull(id);
            return this;
        }
        @CustomType.Setter
        public Builder names(List<String> names) {
            this.names = Objects.requireNonNull(names);
            return this;
        }
        public Builder names(String... names) {
            return names(List.of(names));
        }
        @CustomType.Setter
        public Builder paths(List<String> paths) {
            this.paths = Objects.requireNonNull(paths);
            return this;
        }
        public Builder paths(String... paths) {
            return paths(List.of(paths));
        }
        @CustomType.Setter
        public Builder roleName(String roleName) {
            this.roleName = Objects.requireNonNull(roleName);
            return this;
        }
        public GetInstanceProfilesResult build() {
            final var o = new GetInstanceProfilesResult();
            o.arns = arns;
            o.id = id;
            o.names = names;
            o.paths = paths;
            o.roleName = roleName;
            return o;
        }
    }
}
