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

com.pulumi.azurenative.scvmm.inputs.GuestCredentialArgs 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.scvmm.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;


/**
 * Username / Password Credentials to connect to guest.
 * 
 */
public final class GuestCredentialArgs extends com.pulumi.resources.ResourceArgs {

    public static final GuestCredentialArgs Empty = new GuestCredentialArgs();

    /**
     * Gets or sets the password to connect with the guest.
     * 
     */
    @Import(name="password")
    private @Nullable Output password;

    /**
     * @return Gets or sets the password to connect with the guest.
     * 
     */
    public Optional> password() {
        return Optional.ofNullable(this.password);
    }

    /**
     * Gets or sets username to connect with the guest.
     * 
     */
    @Import(name="username")
    private @Nullable Output username;

    /**
     * @return Gets or sets username to connect with the guest.
     * 
     */
    public Optional> username() {
        return Optional.ofNullable(this.username);
    }

    private GuestCredentialArgs() {}

    private GuestCredentialArgs(GuestCredentialArgs $) {
        this.password = $.password;
        this.username = $.username;
    }

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

    public static final class Builder {
        private GuestCredentialArgs $;

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

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

        /**
         * @param password Gets or sets the password to connect with the guest.
         * 
         * @return builder
         * 
         */
        public Builder password(@Nullable Output password) {
            $.password = password;
            return this;
        }

        /**
         * @param password Gets or sets the password to connect with the guest.
         * 
         * @return builder
         * 
         */
        public Builder password(String password) {
            return password(Output.of(password));
        }

        /**
         * @param username Gets or sets username to connect with the guest.
         * 
         * @return builder
         * 
         */
        public Builder username(@Nullable Output username) {
            $.username = username;
            return this;
        }

        /**
         * @param username Gets or sets username to connect with the guest.
         * 
         * @return builder
         * 
         */
        public Builder username(String username) {
            return username(Output.of(username));
        }

        public GuestCredentialArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy