com.pulumi.aws.directoryservice.outputs.GetDirectoryResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud 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.aws.directoryservice.outputs;
import com.pulumi.aws.directoryservice.outputs.GetDirectoryConnectSetting;
import com.pulumi.aws.directoryservice.outputs.GetDirectoryRadiusSetting;
import com.pulumi.aws.directoryservice.outputs.GetDirectoryVpcSetting;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
@CustomType
public final class GetDirectoryResult {
/**
* @return Access URL for the directory/connector, such as http://alias.awsapps.com.
*
*/
private String accessUrl;
/**
* @return Alias for the directory/connector, such as `d-991708b282.awsapps.com`.
*
*/
private String alias;
private List connectSettings;
/**
* @return Textual description for the directory/connector.
*
*/
private String description;
private String directoryId;
/**
* @return List of IP addresses of the DNS servers for the directory/connector.
*
*/
private List dnsIpAddresses;
/**
* @return (for `MicrosoftAD`) Microsoft AD edition (`Standard` or `Enterprise`).
*
*/
private String edition;
/**
* @return Directory/connector single-sign on status.
*
*/
private Boolean enableSso;
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
private String id;
/**
* @return Fully qualified name for the directory/connector.
*
*/
private String name;
private List radiusSettings;
/**
* @return ID of the security group created by the directory/connector.
*
*/
private String securityGroupId;
/**
* @return Short name of the directory/connector, such as `CORP`.
*
*/
private String shortName;
/**
* @return (for `SimpleAD` and `ADConnector`) Size of the directory/connector (`Small` or `Large`).
*
*/
private String size;
/**
* @return A map of tags assigned to the directory/connector.
*
*/
private Map tags;
/**
* @return Directory type (`SimpleAD`, `ADConnector` or `MicrosoftAD`).
*
*/
private String type;
private List vpcSettings;
private GetDirectoryResult() {}
/**
* @return Access URL for the directory/connector, such as http://alias.awsapps.com.
*
*/
public String accessUrl() {
return this.accessUrl;
}
/**
* @return Alias for the directory/connector, such as `d-991708b282.awsapps.com`.
*
*/
public String alias() {
return this.alias;
}
public List connectSettings() {
return this.connectSettings;
}
/**
* @return Textual description for the directory/connector.
*
*/
public String description() {
return this.description;
}
public String directoryId() {
return this.directoryId;
}
/**
* @return List of IP addresses of the DNS servers for the directory/connector.
*
*/
public List dnsIpAddresses() {
return this.dnsIpAddresses;
}
/**
* @return (for `MicrosoftAD`) Microsoft AD edition (`Standard` or `Enterprise`).
*
*/
public String edition() {
return this.edition;
}
/**
* @return Directory/connector single-sign on status.
*
*/
public Boolean enableSso() {
return this.enableSso;
}
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
public String id() {
return this.id;
}
/**
* @return Fully qualified name for the directory/connector.
*
*/
public String name() {
return this.name;
}
public List radiusSettings() {
return this.radiusSettings;
}
/**
* @return ID of the security group created by the directory/connector.
*
*/
public String securityGroupId() {
return this.securityGroupId;
}
/**
* @return Short name of the directory/connector, such as `CORP`.
*
*/
public String shortName() {
return this.shortName;
}
/**
* @return (for `SimpleAD` and `ADConnector`) Size of the directory/connector (`Small` or `Large`).
*
*/
public String size() {
return this.size;
}
/**
* @return A map of tags assigned to the directory/connector.
*
*/
public Map tags() {
return this.tags;
}
/**
* @return Directory type (`SimpleAD`, `ADConnector` or `MicrosoftAD`).
*
*/
public String type() {
return this.type;
}
public List vpcSettings() {
return this.vpcSettings;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetDirectoryResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String accessUrl;
private String alias;
private List connectSettings;
private String description;
private String directoryId;
private List dnsIpAddresses;
private String edition;
private Boolean enableSso;
private String id;
private String name;
private List radiusSettings;
private String securityGroupId;
private String shortName;
private String size;
private Map tags;
private String type;
private List vpcSettings;
public Builder() {}
public Builder(GetDirectoryResult defaults) {
Objects.requireNonNull(defaults);
this.accessUrl = defaults.accessUrl;
this.alias = defaults.alias;
this.connectSettings = defaults.connectSettings;
this.description = defaults.description;
this.directoryId = defaults.directoryId;
this.dnsIpAddresses = defaults.dnsIpAddresses;
this.edition = defaults.edition;
this.enableSso = defaults.enableSso;
this.id = defaults.id;
this.name = defaults.name;
this.radiusSettings = defaults.radiusSettings;
this.securityGroupId = defaults.securityGroupId;
this.shortName = defaults.shortName;
this.size = defaults.size;
this.tags = defaults.tags;
this.type = defaults.type;
this.vpcSettings = defaults.vpcSettings;
}
@CustomType.Setter
public Builder accessUrl(String accessUrl) {
if (accessUrl == null) {
throw new MissingRequiredPropertyException("GetDirectoryResult", "accessUrl");
}
this.accessUrl = accessUrl;
return this;
}
@CustomType.Setter
public Builder alias(String alias) {
if (alias == null) {
throw new MissingRequiredPropertyException("GetDirectoryResult", "alias");
}
this.alias = alias;
return this;
}
@CustomType.Setter
public Builder connectSettings(List connectSettings) {
if (connectSettings == null) {
throw new MissingRequiredPropertyException("GetDirectoryResult", "connectSettings");
}
this.connectSettings = connectSettings;
return this;
}
public Builder connectSettings(GetDirectoryConnectSetting... connectSettings) {
return connectSettings(List.of(connectSettings));
}
@CustomType.Setter
public Builder description(String description) {
if (description == null) {
throw new MissingRequiredPropertyException("GetDirectoryResult", "description");
}
this.description = description;
return this;
}
@CustomType.Setter
public Builder directoryId(String directoryId) {
if (directoryId == null) {
throw new MissingRequiredPropertyException("GetDirectoryResult", "directoryId");
}
this.directoryId = directoryId;
return this;
}
@CustomType.Setter
public Builder dnsIpAddresses(List dnsIpAddresses) {
if (dnsIpAddresses == null) {
throw new MissingRequiredPropertyException("GetDirectoryResult", "dnsIpAddresses");
}
this.dnsIpAddresses = dnsIpAddresses;
return this;
}
public Builder dnsIpAddresses(String... dnsIpAddresses) {
return dnsIpAddresses(List.of(dnsIpAddresses));
}
@CustomType.Setter
public Builder edition(String edition) {
if (edition == null) {
throw new MissingRequiredPropertyException("GetDirectoryResult", "edition");
}
this.edition = edition;
return this;
}
@CustomType.Setter
public Builder enableSso(Boolean enableSso) {
if (enableSso == null) {
throw new MissingRequiredPropertyException("GetDirectoryResult", "enableSso");
}
this.enableSso = enableSso;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetDirectoryResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetDirectoryResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder radiusSettings(List radiusSettings) {
if (radiusSettings == null) {
throw new MissingRequiredPropertyException("GetDirectoryResult", "radiusSettings");
}
this.radiusSettings = radiusSettings;
return this;
}
public Builder radiusSettings(GetDirectoryRadiusSetting... radiusSettings) {
return radiusSettings(List.of(radiusSettings));
}
@CustomType.Setter
public Builder securityGroupId(String securityGroupId) {
if (securityGroupId == null) {
throw new MissingRequiredPropertyException("GetDirectoryResult", "securityGroupId");
}
this.securityGroupId = securityGroupId;
return this;
}
@CustomType.Setter
public Builder shortName(String shortName) {
if (shortName == null) {
throw new MissingRequiredPropertyException("GetDirectoryResult", "shortName");
}
this.shortName = shortName;
return this;
}
@CustomType.Setter
public Builder size(String size) {
if (size == null) {
throw new MissingRequiredPropertyException("GetDirectoryResult", "size");
}
this.size = size;
return this;
}
@CustomType.Setter
public Builder tags(Map tags) {
if (tags == null) {
throw new MissingRequiredPropertyException("GetDirectoryResult", "tags");
}
this.tags = tags;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("GetDirectoryResult", "type");
}
this.type = type;
return this;
}
@CustomType.Setter
public Builder vpcSettings(List vpcSettings) {
if (vpcSettings == null) {
throw new MissingRequiredPropertyException("GetDirectoryResult", "vpcSettings");
}
this.vpcSettings = vpcSettings;
return this;
}
public Builder vpcSettings(GetDirectoryVpcSetting... vpcSettings) {
return vpcSettings(List.of(vpcSettings));
}
public GetDirectoryResult build() {
final var _resultValue = new GetDirectoryResult();
_resultValue.accessUrl = accessUrl;
_resultValue.alias = alias;
_resultValue.connectSettings = connectSettings;
_resultValue.description = description;
_resultValue.directoryId = directoryId;
_resultValue.dnsIpAddresses = dnsIpAddresses;
_resultValue.edition = edition;
_resultValue.enableSso = enableSso;
_resultValue.id = id;
_resultValue.name = name;
_resultValue.radiusSettings = radiusSettings;
_resultValue.securityGroupId = securityGroupId;
_resultValue.shortName = shortName;
_resultValue.size = size;
_resultValue.tags = tags;
_resultValue.type = type;
_resultValue.vpcSettings = vpcSettings;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy