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

com.pulumi.azurenative.hdinsight.inputs.SshProfileArgs Maven / Gradle / Ivy

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.azurenative.hdinsight.inputs;

import com.pulumi.azurenative.hdinsight.inputs.SshPublicKeyArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * The list of SSH public keys.
 * 
 */
public final class SshProfileArgs extends com.pulumi.resources.ResourceArgs {

    public static final SshProfileArgs Empty = new SshProfileArgs();

    /**
     * The list of SSH public keys.
     * 
     */
    @Import(name="publicKeys")
    private @Nullable Output> publicKeys;

    /**
     * @return The list of SSH public keys.
     * 
     */
    public Optional>> publicKeys() {
        return Optional.ofNullable(this.publicKeys);
    }

    private SshProfileArgs() {}

    private SshProfileArgs(SshProfileArgs $) {
        this.publicKeys = $.publicKeys;
    }

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

    public static final class Builder {
        private SshProfileArgs $;

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

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

        /**
         * @param publicKeys The list of SSH public keys.
         * 
         * @return builder
         * 
         */
        public Builder publicKeys(@Nullable Output> publicKeys) {
            $.publicKeys = publicKeys;
            return this;
        }

        /**
         * @param publicKeys The list of SSH public keys.
         * 
         * @return builder
         * 
         */
        public Builder publicKeys(List publicKeys) {
            return publicKeys(Output.of(publicKeys));
        }

        /**
         * @param publicKeys The list of SSH public keys.
         * 
         * @return builder
         * 
         */
        public Builder publicKeys(SshPublicKeyArgs... publicKeys) {
            return publicKeys(List.of(publicKeys));
        }

        public SshProfileArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy