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

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

// *** 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 GetAccessKeysPlainArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetAccessKeysPlainArgs Empty = new GetAccessKeysPlainArgs();

    /**
     * Name of the IAM user associated with the access keys.
     * 
     */
    @Import(name="user", required=true)
    private String user;

    /**
     * @return Name of the IAM user associated with the access keys.
     * 
     */
    public String user() {
        return this.user;
    }

    private GetAccessKeysPlainArgs() {}

    private GetAccessKeysPlainArgs(GetAccessKeysPlainArgs $) {
        this.user = $.user;
    }

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

    public static final class Builder {
        private GetAccessKeysPlainArgs $;

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

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

        /**
         * @param user Name of the IAM user associated with the access keys.
         * 
         * @return builder
         * 
         */
        public Builder user(String user) {
            $.user = user;
            return this;
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy