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

com.pulumi.azurenative.hardwaresecuritymodules.inputs.CloudHsmPropertiesArgs 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.hardwaresecuritymodules.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;


/**
 * The Cloud HSM Properties
 * 
 */
public final class CloudHsmPropertiesArgs extends com.pulumi.resources.ResourceArgs {

    public static final CloudHsmPropertiesArgs Empty = new CloudHsmPropertiesArgs();

    /**
     * FQDN of the Cloud HSM
     * 
     */
    @Import(name="fqdn")
    private @Nullable Output fqdn;

    /**
     * @return FQDN of the Cloud HSM
     * 
     */
    public Optional> fqdn() {
        return Optional.ofNullable(this.fqdn);
    }

    /**
     * The Cloud HSM State
     * 
     */
    @Import(name="state")
    private @Nullable Output state;

    /**
     * @return The Cloud HSM State
     * 
     */
    public Optional> state() {
        return Optional.ofNullable(this.state);
    }

    /**
     * The Cloud HSM State message
     * 
     */
    @Import(name="stateMessage")
    private @Nullable Output stateMessage;

    /**
     * @return The Cloud HSM State message
     * 
     */
    public Optional> stateMessage() {
        return Optional.ofNullable(this.stateMessage);
    }

    private CloudHsmPropertiesArgs() {}

    private CloudHsmPropertiesArgs(CloudHsmPropertiesArgs $) {
        this.fqdn = $.fqdn;
        this.state = $.state;
        this.stateMessage = $.stateMessage;
    }

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

    public static final class Builder {
        private CloudHsmPropertiesArgs $;

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

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

        /**
         * @param fqdn FQDN of the Cloud HSM
         * 
         * @return builder
         * 
         */
        public Builder fqdn(@Nullable Output fqdn) {
            $.fqdn = fqdn;
            return this;
        }

        /**
         * @param fqdn FQDN of the Cloud HSM
         * 
         * @return builder
         * 
         */
        public Builder fqdn(String fqdn) {
            return fqdn(Output.of(fqdn));
        }

        /**
         * @param state The Cloud HSM State
         * 
         * @return builder
         * 
         */
        public Builder state(@Nullable Output state) {
            $.state = state;
            return this;
        }

        /**
         * @param state The Cloud HSM State
         * 
         * @return builder
         * 
         */
        public Builder state(String state) {
            return state(Output.of(state));
        }

        /**
         * @param stateMessage The Cloud HSM State message
         * 
         * @return builder
         * 
         */
        public Builder stateMessage(@Nullable Output stateMessage) {
            $.stateMessage = stateMessage;
            return this;
        }

        /**
         * @param stateMessage The Cloud HSM State message
         * 
         * @return builder
         * 
         */
        public Builder stateMessage(String stateMessage) {
            return stateMessage(Output.of(stateMessage));
        }

        public CloudHsmPropertiesArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy