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

com.pulumi.aws.iam.inputs.GetInstanceProfilesArgs 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.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


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

    public static final GetInstanceProfilesArgs Empty = new GetInstanceProfilesArgs();

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

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

    private GetInstanceProfilesArgs() {}

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

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

    public static final class Builder {
        private GetInstanceProfilesArgs $;

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

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

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

        /**
         * @param roleName IAM role name.
         * 
         * @return builder
         * 
         */
        public Builder roleName(String roleName) {
            return roleName(Output.of(roleName));
        }

        public GetInstanceProfilesArgs build() {
            if ($.roleName == null) {
                throw new MissingRequiredPropertyException("GetInstanceProfilesArgs", "roleName");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy