Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.pulumi.aws.storagegateway.inputs.GatewaySmbActiveDirectorySettingsArgs 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.storagegateway.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
public final class GatewaySmbActiveDirectorySettingsArgs extends com.pulumi.resources.ResourceArgs {
public static final GatewaySmbActiveDirectorySettingsArgs Empty = new GatewaySmbActiveDirectorySettingsArgs();
@Import(name="activeDirectoryStatus")
private @Nullable Output activeDirectoryStatus;
public Optional> activeDirectoryStatus() {
return Optional.ofNullable(this.activeDirectoryStatus);
}
/**
* List of IPv4 addresses, NetBIOS names, or host names of your domain server.
* If you need to specify the port number include it after the colon (“:”). For example, `mydc.mydomain.com:389`.
*
*/
@Import(name="domainControllers")
private @Nullable Output> domainControllers;
/**
* @return List of IPv4 addresses, NetBIOS names, or host names of your domain server.
* If you need to specify the port number include it after the colon (“:”). For example, `mydc.mydomain.com:389`.
*
*/
public Optional>> domainControllers() {
return Optional.ofNullable(this.domainControllers);
}
/**
* The name of the domain that you want the gateway to join.
*
*/
@Import(name="domainName", required=true)
private Output domainName;
/**
* @return The name of the domain that you want the gateway to join.
*
*/
public Output domainName() {
return this.domainName;
}
/**
* The organizational unit (OU) is a container in an Active Directory that can hold users, groups,
* computers, and other OUs and this parameter specifies the OU that the gateway will join within the AD domain.
*
*/
@Import(name="organizationalUnit")
private @Nullable Output organizationalUnit;
/**
* @return The organizational unit (OU) is a container in an Active Directory that can hold users, groups,
* computers, and other OUs and this parameter specifies the OU that the gateway will join within the AD domain.
*
*/
public Optional> organizationalUnit() {
return Optional.ofNullable(this.organizationalUnit);
}
/**
* The password of the user who has permission to add the gateway to the Active Directory domain.
*
*/
@Import(name="password", required=true)
private Output password;
/**
* @return The password of the user who has permission to add the gateway to the Active Directory domain.
*
*/
public Output password() {
return this.password;
}
/**
* Specifies the time in seconds, in which the JoinDomain operation must complete. The default is `20` seconds.
*
*/
@Import(name="timeoutInSeconds")
private @Nullable Output timeoutInSeconds;
/**
* @return Specifies the time in seconds, in which the JoinDomain operation must complete. The default is `20` seconds.
*
*/
public Optional> timeoutInSeconds() {
return Optional.ofNullable(this.timeoutInSeconds);
}
/**
* The user name of user who has permission to add the gateway to the Active Directory domain.
*
*/
@Import(name="username", required=true)
private Output username;
/**
* @return The user name of user who has permission to add the gateway to the Active Directory domain.
*
*/
public Output username() {
return this.username;
}
private GatewaySmbActiveDirectorySettingsArgs() {}
private GatewaySmbActiveDirectorySettingsArgs(GatewaySmbActiveDirectorySettingsArgs $) {
this.activeDirectoryStatus = $.activeDirectoryStatus;
this.domainControllers = $.domainControllers;
this.domainName = $.domainName;
this.organizationalUnit = $.organizationalUnit;
this.password = $.password;
this.timeoutInSeconds = $.timeoutInSeconds;
this.username = $.username;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GatewaySmbActiveDirectorySettingsArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GatewaySmbActiveDirectorySettingsArgs $;
public Builder() {
$ = new GatewaySmbActiveDirectorySettingsArgs();
}
public Builder(GatewaySmbActiveDirectorySettingsArgs defaults) {
$ = new GatewaySmbActiveDirectorySettingsArgs(Objects.requireNonNull(defaults));
}
public Builder activeDirectoryStatus(@Nullable Output activeDirectoryStatus) {
$.activeDirectoryStatus = activeDirectoryStatus;
return this;
}
public Builder activeDirectoryStatus(String activeDirectoryStatus) {
return activeDirectoryStatus(Output.of(activeDirectoryStatus));
}
/**
* @param domainControllers List of IPv4 addresses, NetBIOS names, or host names of your domain server.
* If you need to specify the port number include it after the colon (“:”). For example, `mydc.mydomain.com:389`.
*
* @return builder
*
*/
public Builder domainControllers(@Nullable Output> domainControllers) {
$.domainControllers = domainControllers;
return this;
}
/**
* @param domainControllers List of IPv4 addresses, NetBIOS names, or host names of your domain server.
* If you need to specify the port number include it after the colon (“:”). For example, `mydc.mydomain.com:389`.
*
* @return builder
*
*/
public Builder domainControllers(List domainControllers) {
return domainControllers(Output.of(domainControllers));
}
/**
* @param domainControllers List of IPv4 addresses, NetBIOS names, or host names of your domain server.
* If you need to specify the port number include it after the colon (“:”). For example, `mydc.mydomain.com:389`.
*
* @return builder
*
*/
public Builder domainControllers(String... domainControllers) {
return domainControllers(List.of(domainControllers));
}
/**
* @param domainName The name of the domain that you want the gateway to join.
*
* @return builder
*
*/
public Builder domainName(Output domainName) {
$.domainName = domainName;
return this;
}
/**
* @param domainName The name of the domain that you want the gateway to join.
*
* @return builder
*
*/
public Builder domainName(String domainName) {
return domainName(Output.of(domainName));
}
/**
* @param organizationalUnit The organizational unit (OU) is a container in an Active Directory that can hold users, groups,
* computers, and other OUs and this parameter specifies the OU that the gateway will join within the AD domain.
*
* @return builder
*
*/
public Builder organizationalUnit(@Nullable Output organizationalUnit) {
$.organizationalUnit = organizationalUnit;
return this;
}
/**
* @param organizationalUnit The organizational unit (OU) is a container in an Active Directory that can hold users, groups,
* computers, and other OUs and this parameter specifies the OU that the gateway will join within the AD domain.
*
* @return builder
*
*/
public Builder organizationalUnit(String organizationalUnit) {
return organizationalUnit(Output.of(organizationalUnit));
}
/**
* @param password The password of the user who has permission to add the gateway to the Active Directory domain.
*
* @return builder
*
*/
public Builder password(Output password) {
$.password = password;
return this;
}
/**
* @param password The password of the user who has permission to add the gateway to the Active Directory domain.
*
* @return builder
*
*/
public Builder password(String password) {
return password(Output.of(password));
}
/**
* @param timeoutInSeconds Specifies the time in seconds, in which the JoinDomain operation must complete. The default is `20` seconds.
*
* @return builder
*
*/
public Builder timeoutInSeconds(@Nullable Output timeoutInSeconds) {
$.timeoutInSeconds = timeoutInSeconds;
return this;
}
/**
* @param timeoutInSeconds Specifies the time in seconds, in which the JoinDomain operation must complete. The default is `20` seconds.
*
* @return builder
*
*/
public Builder timeoutInSeconds(Integer timeoutInSeconds) {
return timeoutInSeconds(Output.of(timeoutInSeconds));
}
/**
* @param username The user name of user who has permission to add the gateway to the Active Directory domain.
*
* @return builder
*
*/
public Builder username(Output username) {
$.username = username;
return this;
}
/**
* @param username The user name of user who has permission to add the gateway to the Active Directory domain.
*
* @return builder
*
*/
public Builder username(String username) {
return username(Output.of(username));
}
public GatewaySmbActiveDirectorySettingsArgs build() {
if ($.domainName == null) {
throw new MissingRequiredPropertyException("GatewaySmbActiveDirectorySettingsArgs", "domainName");
}
if ($.password == null) {
throw new MissingRequiredPropertyException("GatewaySmbActiveDirectorySettingsArgs", "password");
}
if ($.username == null) {
throw new MissingRequiredPropertyException("GatewaySmbActiveDirectorySettingsArgs", "username");
}
return $;
}
}
}