
com.pulumi.aws.appstream.inputs.DirectoryConfigServiceAccountCredentialsArgs Maven / Gradle / Ivy
// *** 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.aws.appstream.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class DirectoryConfigServiceAccountCredentialsArgs extends com.pulumi.resources.ResourceArgs {
public static final DirectoryConfigServiceAccountCredentialsArgs Empty = new DirectoryConfigServiceAccountCredentialsArgs();
/**
* User name of the account. This account must have the following privileges: create computer objects, join computers to the domain, and change/reset the password on descendant computer objects for the organizational units specified.
*
*/
@Import(name="accountName", required=true)
private Output accountName;
/**
* @return User name of the account. This account must have the following privileges: create computer objects, join computers to the domain, and change/reset the password on descendant computer objects for the organizational units specified.
*
*/
public Output accountName() {
return this.accountName;
}
/**
* Password for the account.
*
*/
@Import(name="accountPassword", required=true)
private Output accountPassword;
/**
* @return Password for the account.
*
*/
public Output accountPassword() {
return this.accountPassword;
}
private DirectoryConfigServiceAccountCredentialsArgs() {}
private DirectoryConfigServiceAccountCredentialsArgs(DirectoryConfigServiceAccountCredentialsArgs $) {
this.accountName = $.accountName;
this.accountPassword = $.accountPassword;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(DirectoryConfigServiceAccountCredentialsArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private DirectoryConfigServiceAccountCredentialsArgs $;
public Builder() {
$ = new DirectoryConfigServiceAccountCredentialsArgs();
}
public Builder(DirectoryConfigServiceAccountCredentialsArgs defaults) {
$ = new DirectoryConfigServiceAccountCredentialsArgs(Objects.requireNonNull(defaults));
}
/**
* @param accountName User name of the account. This account must have the following privileges: create computer objects, join computers to the domain, and change/reset the password on descendant computer objects for the organizational units specified.
*
* @return builder
*
*/
public Builder accountName(Output accountName) {
$.accountName = accountName;
return this;
}
/**
* @param accountName User name of the account. This account must have the following privileges: create computer objects, join computers to the domain, and change/reset the password on descendant computer objects for the organizational units specified.
*
* @return builder
*
*/
public Builder accountName(String accountName) {
return accountName(Output.of(accountName));
}
/**
* @param accountPassword Password for the account.
*
* @return builder
*
*/
public Builder accountPassword(Output accountPassword) {
$.accountPassword = accountPassword;
return this;
}
/**
* @param accountPassword Password for the account.
*
* @return builder
*
*/
public Builder accountPassword(String accountPassword) {
return accountPassword(Output.of(accountPassword));
}
public DirectoryConfigServiceAccountCredentialsArgs build() {
if ($.accountName == null) {
throw new MissingRequiredPropertyException("DirectoryConfigServiceAccountCredentialsArgs", "accountName");
}
if ($.accountPassword == null) {
throw new MissingRequiredPropertyException("DirectoryConfigServiceAccountCredentialsArgs", "accountPassword");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy