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

com.pulumi.azurenative.azurestackhci.outputs.SshConfigurationResponse Maven / Gradle / Ivy

There is a newer version: 2.78.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.azurestackhci.outputs;

import com.pulumi.azurenative.azurestackhci.outputs.SshPublicKeyResponse;
import com.pulumi.core.annotations.CustomType;
import java.util.List;
import java.util.Objects;
import javax.annotation.Nullable;

@CustomType
public final class SshConfigurationResponse {
    /**
     * @return The list of SSH public keys used to authenticate with linux based VMs.
     * 
     */
    private @Nullable List publicKeys;

    private SshConfigurationResponse() {}
    /**
     * @return The list of SSH public keys used to authenticate with linux based VMs.
     * 
     */
    public List publicKeys() {
        return this.publicKeys == null ? List.of() : this.publicKeys;
    }

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

    public static Builder builder(SshConfigurationResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable List publicKeys;
        public Builder() {}
        public Builder(SshConfigurationResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.publicKeys = defaults.publicKeys;
        }

        @CustomType.Setter
        public Builder publicKeys(@Nullable List publicKeys) {

            this.publicKeys = publicKeys;
            return this;
        }
        public Builder publicKeys(SshPublicKeyResponse... publicKeys) {
            return publicKeys(List.of(publicKeys));
        }
        public SshConfigurationResponse build() {
            final var _resultValue = new SshConfigurationResponse();
            _resultValue.publicKeys = publicKeys;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy