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

com.pulumi.azurenative.awsconnector.inputs.AwsIamAccessKeyMetadataPropertiesArgs Maven / Gradle / Ivy

There is a newer version: 2.82.0
Show 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.azurenative.awsconnector.inputs;

import com.pulumi.azurenative.awsconnector.inputs.StatusTypeEnumValueArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Definition of awsIamAccessKeyMetadata
 * 
 */
public final class AwsIamAccessKeyMetadataPropertiesArgs extends com.pulumi.resources.ResourceArgs {

    public static final AwsIamAccessKeyMetadataPropertiesArgs Empty = new AwsIamAccessKeyMetadataPropertiesArgs();

    /**
     * <p>The ID for this access key.</p>
     * 
     */
    @Import(name="accessKeyId")
    private @Nullable Output accessKeyId;

    /**
     * @return <p>The ID for this access key.</p>
     * 
     */
    public Optional> accessKeyId() {
        return Optional.ofNullable(this.accessKeyId);
    }

    /**
     * <p>The date when the access key was created.</p>
     * 
     */
    @Import(name="createDate")
    private @Nullable Output createDate;

    /**
     * @return <p>The date when the access key was created.</p>
     * 
     */
    public Optional> createDate() {
        return Optional.ofNullable(this.createDate);
    }

    /**
     * <p>The status of the access key. <code>Active</code> means that the key is valid for API calls; <code>Inactive</code> means it is not.</p>
     * 
     */
    @Import(name="status")
    private @Nullable Output status;

    /**
     * @return <p>The status of the access key. <code>Active</code> means that the key is valid for API calls; <code>Inactive</code> means it is not.</p>
     * 
     */
    public Optional> status() {
        return Optional.ofNullable(this.status);
    }

    /**
     * <p>The name of the IAM user that the key is associated with.</p>
     * 
     */
    @Import(name="userName")
    private @Nullable Output userName;

    /**
     * @return <p>The name of the IAM user that the key is associated with.</p>
     * 
     */
    public Optional> userName() {
        return Optional.ofNullable(this.userName);
    }

    private AwsIamAccessKeyMetadataPropertiesArgs() {}

    private AwsIamAccessKeyMetadataPropertiesArgs(AwsIamAccessKeyMetadataPropertiesArgs $) {
        this.accessKeyId = $.accessKeyId;
        this.createDate = $.createDate;
        this.status = $.status;
        this.userName = $.userName;
    }

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

    public static final class Builder {
        private AwsIamAccessKeyMetadataPropertiesArgs $;

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

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

        /**
         * @param accessKeyId <p>The ID for this access key.</p>
         * 
         * @return builder
         * 
         */
        public Builder accessKeyId(@Nullable Output accessKeyId) {
            $.accessKeyId = accessKeyId;
            return this;
        }

        /**
         * @param accessKeyId <p>The ID for this access key.</p>
         * 
         * @return builder
         * 
         */
        public Builder accessKeyId(String accessKeyId) {
            return accessKeyId(Output.of(accessKeyId));
        }

        /**
         * @param createDate <p>The date when the access key was created.</p>
         * 
         * @return builder
         * 
         */
        public Builder createDate(@Nullable Output createDate) {
            $.createDate = createDate;
            return this;
        }

        /**
         * @param createDate <p>The date when the access key was created.</p>
         * 
         * @return builder
         * 
         */
        public Builder createDate(String createDate) {
            return createDate(Output.of(createDate));
        }

        /**
         * @param status <p>The status of the access key. <code>Active</code> means that the key is valid for API calls; <code>Inactive</code> means it is not.</p>
         * 
         * @return builder
         * 
         */
        public Builder status(@Nullable Output status) {
            $.status = status;
            return this;
        }

        /**
         * @param status <p>The status of the access key. <code>Active</code> means that the key is valid for API calls; <code>Inactive</code> means it is not.</p>
         * 
         * @return builder
         * 
         */
        public Builder status(StatusTypeEnumValueArgs status) {
            return status(Output.of(status));
        }

        /**
         * @param userName <p>The name of the IAM user that the key is associated with.</p>
         * 
         * @return builder
         * 
         */
        public Builder userName(@Nullable Output userName) {
            $.userName = userName;
            return this;
        }

        /**
         * @param userName <p>The name of the IAM user that the key is associated with.</p>
         * 
         * @return builder
         * 
         */
        public Builder userName(String userName) {
            return userName(Output.of(userName));
        }

        public AwsIamAccessKeyMetadataPropertiesArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy