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

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


public final class GetInstanceProfilesPlainArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetInstanceProfilesPlainArgs Empty = new GetInstanceProfilesPlainArgs();

    /**
     * IAM role name.
     * 
     */
    @Import(name="roleName", required=true)
    private String roleName;

    /**
     * @return IAM role name.
     * 
     */
    public String roleName() {
        return this.roleName;
    }

    private GetInstanceProfilesPlainArgs() {}

    private GetInstanceProfilesPlainArgs(GetInstanceProfilesPlainArgs $) {
        this.roleName = $.roleName;
    }

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

    public static final class Builder {
        private GetInstanceProfilesPlainArgs $;

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

        public Builder(GetInstanceProfilesPlainArgs defaults) {
            $ = new GetInstanceProfilesPlainArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param roleName IAM role name.
         * 
         * @return builder
         * 
         */
        public Builder roleName(String roleName) {
            $.roleName = roleName;
            return this;
        }

        public GetInstanceProfilesPlainArgs build() {
            $.roleName = Objects.requireNonNull($.roleName, "expected parameter 'roleName' to be non-null");
            return $;
        }
    }

}
