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

com.pulumi.aws.kms.inputs.CustomKeyStoreState Maven / Gradle / Ivy

Go to download

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

There is a newer version: 6.60.0-alpha.1731982519
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.aws.kms.inputs;

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;


public final class CustomKeyStoreState extends com.pulumi.resources.ResourceArgs {

    public static final CustomKeyStoreState Empty = new CustomKeyStoreState();

    /**
     * Cluster ID of CloudHSM.
     * 
     */
    @Import(name="cloudHsmClusterId")
    private @Nullable Output cloudHsmClusterId;

    /**
     * @return Cluster ID of CloudHSM.
     * 
     */
    public Optional> cloudHsmClusterId() {
        return Optional.ofNullable(this.cloudHsmClusterId);
    }

    /**
     * Unique name for Custom Key Store.
     * 
     */
    @Import(name="customKeyStoreName")
    private @Nullable Output customKeyStoreName;

    /**
     * @return Unique name for Custom Key Store.
     * 
     */
    public Optional> customKeyStoreName() {
        return Optional.ofNullable(this.customKeyStoreName);
    }

    /**
     * Password for `kmsuser` on CloudHSM.
     * 
     */
    @Import(name="keyStorePassword")
    private @Nullable Output keyStorePassword;

    /**
     * @return Password for `kmsuser` on CloudHSM.
     * 
     */
    public Optional> keyStorePassword() {
        return Optional.ofNullable(this.keyStorePassword);
    }

    /**
     * Customer certificate used for signing on CloudHSM.
     * 
     */
    @Import(name="trustAnchorCertificate")
    private @Nullable Output trustAnchorCertificate;

    /**
     * @return Customer certificate used for signing on CloudHSM.
     * 
     */
    public Optional> trustAnchorCertificate() {
        return Optional.ofNullable(this.trustAnchorCertificate);
    }

    private CustomKeyStoreState() {}

    private CustomKeyStoreState(CustomKeyStoreState $) {
        this.cloudHsmClusterId = $.cloudHsmClusterId;
        this.customKeyStoreName = $.customKeyStoreName;
        this.keyStorePassword = $.keyStorePassword;
        this.trustAnchorCertificate = $.trustAnchorCertificate;
    }

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

    public static final class Builder {
        private CustomKeyStoreState $;

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

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

        /**
         * @param cloudHsmClusterId Cluster ID of CloudHSM.
         * 
         * @return builder
         * 
         */
        public Builder cloudHsmClusterId(@Nullable Output cloudHsmClusterId) {
            $.cloudHsmClusterId = cloudHsmClusterId;
            return this;
        }

        /**
         * @param cloudHsmClusterId Cluster ID of CloudHSM.
         * 
         * @return builder
         * 
         */
        public Builder cloudHsmClusterId(String cloudHsmClusterId) {
            return cloudHsmClusterId(Output.of(cloudHsmClusterId));
        }

        /**
         * @param customKeyStoreName Unique name for Custom Key Store.
         * 
         * @return builder
         * 
         */
        public Builder customKeyStoreName(@Nullable Output customKeyStoreName) {
            $.customKeyStoreName = customKeyStoreName;
            return this;
        }

        /**
         * @param customKeyStoreName Unique name for Custom Key Store.
         * 
         * @return builder
         * 
         */
        public Builder customKeyStoreName(String customKeyStoreName) {
            return customKeyStoreName(Output.of(customKeyStoreName));
        }

        /**
         * @param keyStorePassword Password for `kmsuser` on CloudHSM.
         * 
         * @return builder
         * 
         */
        public Builder keyStorePassword(@Nullable Output keyStorePassword) {
            $.keyStorePassword = keyStorePassword;
            return this;
        }

        /**
         * @param keyStorePassword Password for `kmsuser` on CloudHSM.
         * 
         * @return builder
         * 
         */
        public Builder keyStorePassword(String keyStorePassword) {
            return keyStorePassword(Output.of(keyStorePassword));
        }

        /**
         * @param trustAnchorCertificate Customer certificate used for signing on CloudHSM.
         * 
         * @return builder
         * 
         */
        public Builder trustAnchorCertificate(@Nullable Output trustAnchorCertificate) {
            $.trustAnchorCertificate = trustAnchorCertificate;
            return this;
        }

        /**
         * @param trustAnchorCertificate Customer certificate used for signing on CloudHSM.
         * 
         * @return builder
         * 
         */
        public Builder trustAnchorCertificate(String trustAnchorCertificate) {
            return trustAnchorCertificate(Output.of(trustAnchorCertificate));
        }

        public CustomKeyStoreState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy