
com.pulumi.azurenative.machinelearningservices.outputs.UserAccountCredentialsResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** 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.machinelearningservices.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class UserAccountCredentialsResponse {
/**
* @return Name of the administrator user account which can be used to SSH to nodes.
*
*/
private String adminUserName;
/**
* @return Password of the administrator user account.
*
*/
private @Nullable String adminUserPassword;
/**
* @return SSH public key of the administrator user account.
*
*/
private @Nullable String adminUserSshPublicKey;
private UserAccountCredentialsResponse() {}
/**
* @return Name of the administrator user account which can be used to SSH to nodes.
*
*/
public String adminUserName() {
return this.adminUserName;
}
/**
* @return Password of the administrator user account.
*
*/
public Optional adminUserPassword() {
return Optional.ofNullable(this.adminUserPassword);
}
/**
* @return SSH public key of the administrator user account.
*
*/
public Optional adminUserSshPublicKey() {
return Optional.ofNullable(this.adminUserSshPublicKey);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(UserAccountCredentialsResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String adminUserName;
private @Nullable String adminUserPassword;
private @Nullable String adminUserSshPublicKey;
public Builder() {}
public Builder(UserAccountCredentialsResponse defaults) {
Objects.requireNonNull(defaults);
this.adminUserName = defaults.adminUserName;
this.adminUserPassword = defaults.adminUserPassword;
this.adminUserSshPublicKey = defaults.adminUserSshPublicKey;
}
@CustomType.Setter
public Builder adminUserName(String adminUserName) {
if (adminUserName == null) {
throw new MissingRequiredPropertyException("UserAccountCredentialsResponse", "adminUserName");
}
this.adminUserName = adminUserName;
return this;
}
@CustomType.Setter
public Builder adminUserPassword(@Nullable String adminUserPassword) {
this.adminUserPassword = adminUserPassword;
return this;
}
@CustomType.Setter
public Builder adminUserSshPublicKey(@Nullable String adminUserSshPublicKey) {
this.adminUserSshPublicKey = adminUserSshPublicKey;
return this;
}
public UserAccountCredentialsResponse build() {
final var _resultValue = new UserAccountCredentialsResponse();
_resultValue.adminUserName = adminUserName;
_resultValue.adminUserPassword = adminUserPassword;
_resultValue.adminUserSshPublicKey = adminUserSshPublicKey;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy