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

com.pulumi.aws.iam.inputs.GetInstanceProfilesPlainArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

The 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.aws.iam.inputs;

import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
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() {
            if ($.roleName == null) {
                throw new MissingRequiredPropertyException("GetInstanceProfilesPlainArgs", "roleName");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy