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

com.pulumi.azurenative.hdinsight.outputs.LinuxOperatingSystemProfileResponse Maven / Gradle / Ivy

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

import com.pulumi.azurenative.hdinsight.outputs.SshProfileResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class LinuxOperatingSystemProfileResponse {
    /**
     * @return The password.
     * 
     */
    private @Nullable String password;
    /**
     * @return The SSH profile.
     * 
     */
    private @Nullable SshProfileResponse sshProfile;
    /**
     * @return The username.
     * 
     */
    private @Nullable String username;

    private LinuxOperatingSystemProfileResponse() {}
    /**
     * @return The password.
     * 
     */
    public Optional password() {
        return Optional.ofNullable(this.password);
    }
    /**
     * @return The SSH profile.
     * 
     */
    public Optional sshProfile() {
        return Optional.ofNullable(this.sshProfile);
    }
    /**
     * @return The username.
     * 
     */
    public Optional username() {
        return Optional.ofNullable(this.username);
    }

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

    public static Builder builder(LinuxOperatingSystemProfileResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String password;
        private @Nullable SshProfileResponse sshProfile;
        private @Nullable String username;
        public Builder() {}
        public Builder(LinuxOperatingSystemProfileResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.password = defaults.password;
    	      this.sshProfile = defaults.sshProfile;
    	      this.username = defaults.username;
        }

        @CustomType.Setter
        public Builder password(@Nullable String password) {

            this.password = password;
            return this;
        }
        @CustomType.Setter
        public Builder sshProfile(@Nullable SshProfileResponse sshProfile) {

            this.sshProfile = sshProfile;
            return this;
        }
        @CustomType.Setter
        public Builder username(@Nullable String username) {

            this.username = username;
            return this;
        }
        public LinuxOperatingSystemProfileResponse build() {
            final var _resultValue = new LinuxOperatingSystemProfileResponse();
            _resultValue.password = password;
            _resultValue.sshProfile = sshProfile;
            _resultValue.username = username;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy