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

com.amazonaws.services.directory.model.DirectoryDescription Maven / Gradle / Ivy

Go to download

The AWS Java SDK for AWS Directory Service module holds the client classes that is used for communicating with AWS Directory Service

There is a newer version: 1.12.780
Show newest version
/*
 * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
 * the License. A copy of the License is located at
 * 
 * http://aws.amazon.com/apache2.0
 * 
 * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
 * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
 * and limitations under the License.
 */
package com.amazonaws.services.directory.model;

import java.io.Serializable;
import javax.annotation.Generated;
import com.amazonaws.protocol.StructuredPojo;
import com.amazonaws.protocol.ProtocolMarshaller;

/**
 * 

* Contains information about an AWS Directory Service directory. *

* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class DirectoryDescription implements Serializable, Cloneable, StructuredPojo { /** *

* The directory identifier. *

*/ private String directoryId; /** *

* The fully qualified name of the directory. *

*/ private String name; /** *

* The short name of the directory. *

*/ private String shortName; /** *

* The directory size. *

*/ private String size; /** *

* The edition associated with this directory. *

*/ private String edition; /** *

* The alias for the directory. If no alias has been created for the directory, the alias is the directory * identifier, such as d-XXXXXXXXXX. *

*/ private String alias; /** *

* The access URL for the directory, such as http://<alias>.awsapps.com. If no alias has been * created for the directory, <alias> is the directory identifier, such as * d-XXXXXXXXXX. *

*/ private String accessUrl; /** *

* The description for the directory. *

*/ private String description; /** *

* The IP addresses of the DNS servers for the directory. For a Simple AD or Microsoft AD directory, these are the * IP addresses of the Simple AD or Microsoft AD directory servers. For an AD Connector directory, these are the IP * addresses of the DNS servers or domain controllers in the on-premises directory to which the AD Connector is * connected. *

*/ private com.amazonaws.internal.SdkInternalList dnsIpAddrs; /** *

* The current stage of the directory. *

*/ private String stage; /** *

* Current directory status of the shared AWS Managed Microsoft AD directory. *

*/ private String shareStatus; /** *

* The method used when sharing a directory to determine whether the directory should be shared within your AWS * organization (ORGANIZATIONS) or with any AWS account by sending a shared directory request ( * HANDSHAKE). *

*/ private String shareMethod; /** *

* A directory share request that is sent by the directory owner to the directory consumer. The request includes a * typed message to help the directory consumer administrator determine whether to approve or reject the share * invitation. *

*/ private String shareNotes; /** *

* Specifies when the directory was created. *

*/ private java.util.Date launchTime; /** *

* The date and time that the stage was last updated. *

*/ private java.util.Date stageLastUpdatedDateTime; /** *

* The directory size. *

*/ private String type; /** *

* A DirectoryVpcSettingsDescription object that contains additional information about a directory. This * member is only present if the directory is a Simple AD or Managed AD directory. *

*/ private DirectoryVpcSettingsDescription vpcSettings; /** *

* A DirectoryConnectSettingsDescription object that contains additional information about an AD Connector * directory. This member is only present if the directory is an AD Connector directory. *

*/ private DirectoryConnectSettingsDescription connectSettings; /** *

* A RadiusSettings object that contains information about the RADIUS server configured for this directory. *

*/ private RadiusSettings radiusSettings; /** *

* The status of the RADIUS MFA server connection. *

*/ private String radiusStatus; /** *

* Additional information about the directory stage. *

*/ private String stageReason; /** *

* Indicates if single sign-on is enabled for the directory. For more information, see EnableSso and * DisableSso. *

*/ private Boolean ssoEnabled; /** *

* The desired number of domain controllers in the directory if the directory is Microsoft AD. *

*/ private Integer desiredNumberOfDomainControllers; /** *

* Describes the AWS Managed Microsoft AD directory in the directory owner account. *

*/ private OwnerDirectoryDescription ownerDirectoryDescription; /** *

* The directory identifier. *

* * @param directoryId * The directory identifier. */ public void setDirectoryId(String directoryId) { this.directoryId = directoryId; } /** *

* The directory identifier. *

* * @return The directory identifier. */ public String getDirectoryId() { return this.directoryId; } /** *

* The directory identifier. *

* * @param directoryId * The directory identifier. * @return Returns a reference to this object so that method calls can be chained together. */ public DirectoryDescription withDirectoryId(String directoryId) { setDirectoryId(directoryId); return this; } /** *

* The fully qualified name of the directory. *

* * @param name * The fully qualified name of the directory. */ public void setName(String name) { this.name = name; } /** *

* The fully qualified name of the directory. *

* * @return The fully qualified name of the directory. */ public String getName() { return this.name; } /** *

* The fully qualified name of the directory. *

* * @param name * The fully qualified name of the directory. * @return Returns a reference to this object so that method calls can be chained together. */ public DirectoryDescription withName(String name) { setName(name); return this; } /** *

* The short name of the directory. *

* * @param shortName * The short name of the directory. */ public void setShortName(String shortName) { this.shortName = shortName; } /** *

* The short name of the directory. *

* * @return The short name of the directory. */ public String getShortName() { return this.shortName; } /** *

* The short name of the directory. *

* * @param shortName * The short name of the directory. * @return Returns a reference to this object so that method calls can be chained together. */ public DirectoryDescription withShortName(String shortName) { setShortName(shortName); return this; } /** *

* The directory size. *

* * @param size * The directory size. * @see DirectorySize */ public void setSize(String size) { this.size = size; } /** *

* The directory size. *

* * @return The directory size. * @see DirectorySize */ public String getSize() { return this.size; } /** *

* The directory size. *

* * @param size * The directory size. * @return Returns a reference to this object so that method calls can be chained together. * @see DirectorySize */ public DirectoryDescription withSize(String size) { setSize(size); return this; } /** *

* The directory size. *

* * @param size * The directory size. * @see DirectorySize */ public void setSize(DirectorySize size) { withSize(size); } /** *

* The directory size. *

* * @param size * The directory size. * @return Returns a reference to this object so that method calls can be chained together. * @see DirectorySize */ public DirectoryDescription withSize(DirectorySize size) { this.size = size.toString(); return this; } /** *

* The edition associated with this directory. *

* * @param edition * The edition associated with this directory. * @see DirectoryEdition */ public void setEdition(String edition) { this.edition = edition; } /** *

* The edition associated with this directory. *

* * @return The edition associated with this directory. * @see DirectoryEdition */ public String getEdition() { return this.edition; } /** *

* The edition associated with this directory. *

* * @param edition * The edition associated with this directory. * @return Returns a reference to this object so that method calls can be chained together. * @see DirectoryEdition */ public DirectoryDescription withEdition(String edition) { setEdition(edition); return this; } /** *

* The edition associated with this directory. *

* * @param edition * The edition associated with this directory. * @see DirectoryEdition */ public void setEdition(DirectoryEdition edition) { withEdition(edition); } /** *

* The edition associated with this directory. *

* * @param edition * The edition associated with this directory. * @return Returns a reference to this object so that method calls can be chained together. * @see DirectoryEdition */ public DirectoryDescription withEdition(DirectoryEdition edition) { this.edition = edition.toString(); return this; } /** *

* The alias for the directory. If no alias has been created for the directory, the alias is the directory * identifier, such as d-XXXXXXXXXX. *

* * @param alias * The alias for the directory. If no alias has been created for the directory, the alias is the directory * identifier, such as d-XXXXXXXXXX. */ public void setAlias(String alias) { this.alias = alias; } /** *

* The alias for the directory. If no alias has been created for the directory, the alias is the directory * identifier, such as d-XXXXXXXXXX. *

* * @return The alias for the directory. If no alias has been created for the directory, the alias is the directory * identifier, such as d-XXXXXXXXXX. */ public String getAlias() { return this.alias; } /** *

* The alias for the directory. If no alias has been created for the directory, the alias is the directory * identifier, such as d-XXXXXXXXXX. *

* * @param alias * The alias for the directory. If no alias has been created for the directory, the alias is the directory * identifier, such as d-XXXXXXXXXX. * @return Returns a reference to this object so that method calls can be chained together. */ public DirectoryDescription withAlias(String alias) { setAlias(alias); return this; } /** *

* The access URL for the directory, such as http://<alias>.awsapps.com. If no alias has been * created for the directory, <alias> is the directory identifier, such as * d-XXXXXXXXXX. *

* * @param accessUrl * The access URL for the directory, such as http://<alias>.awsapps.com. If no alias has * been created for the directory, <alias> is the directory identifier, such as * d-XXXXXXXXXX. */ public void setAccessUrl(String accessUrl) { this.accessUrl = accessUrl; } /** *

* The access URL for the directory, such as http://<alias>.awsapps.com. If no alias has been * created for the directory, <alias> is the directory identifier, such as * d-XXXXXXXXXX. *

* * @return The access URL for the directory, such as http://<alias>.awsapps.com. If no alias has * been created for the directory, <alias> is the directory identifier, such as * d-XXXXXXXXXX. */ public String getAccessUrl() { return this.accessUrl; } /** *

* The access URL for the directory, such as http://<alias>.awsapps.com. If no alias has been * created for the directory, <alias> is the directory identifier, such as * d-XXXXXXXXXX. *

* * @param accessUrl * The access URL for the directory, such as http://<alias>.awsapps.com. If no alias has * been created for the directory, <alias> is the directory identifier, such as * d-XXXXXXXXXX. * @return Returns a reference to this object so that method calls can be chained together. */ public DirectoryDescription withAccessUrl(String accessUrl) { setAccessUrl(accessUrl); return this; } /** *

* The description for the directory. *

* * @param description * The description for the directory. */ public void setDescription(String description) { this.description = description; } /** *

* The description for the directory. *

* * @return The description for the directory. */ public String getDescription() { return this.description; } /** *

* The description for the directory. *

* * @param description * The description for the directory. * @return Returns a reference to this object so that method calls can be chained together. */ public DirectoryDescription withDescription(String description) { setDescription(description); return this; } /** *

* The IP addresses of the DNS servers for the directory. For a Simple AD or Microsoft AD directory, these are the * IP addresses of the Simple AD or Microsoft AD directory servers. For an AD Connector directory, these are the IP * addresses of the DNS servers or domain controllers in the on-premises directory to which the AD Connector is * connected. *

* * @return The IP addresses of the DNS servers for the directory. For a Simple AD or Microsoft AD directory, these * are the IP addresses of the Simple AD or Microsoft AD directory servers. For an AD Connector directory, * these are the IP addresses of the DNS servers or domain controllers in the on-premises directory to which * the AD Connector is connected. */ public java.util.List getDnsIpAddrs() { if (dnsIpAddrs == null) { dnsIpAddrs = new com.amazonaws.internal.SdkInternalList(); } return dnsIpAddrs; } /** *

* The IP addresses of the DNS servers for the directory. For a Simple AD or Microsoft AD directory, these are the * IP addresses of the Simple AD or Microsoft AD directory servers. For an AD Connector directory, these are the IP * addresses of the DNS servers or domain controllers in the on-premises directory to which the AD Connector is * connected. *

* * @param dnsIpAddrs * The IP addresses of the DNS servers for the directory. For a Simple AD or Microsoft AD directory, these * are the IP addresses of the Simple AD or Microsoft AD directory servers. For an AD Connector directory, * these are the IP addresses of the DNS servers or domain controllers in the on-premises directory to which * the AD Connector is connected. */ public void setDnsIpAddrs(java.util.Collection dnsIpAddrs) { if (dnsIpAddrs == null) { this.dnsIpAddrs = null; return; } this.dnsIpAddrs = new com.amazonaws.internal.SdkInternalList(dnsIpAddrs); } /** *

* The IP addresses of the DNS servers for the directory. For a Simple AD or Microsoft AD directory, these are the * IP addresses of the Simple AD or Microsoft AD directory servers. For an AD Connector directory, these are the IP * addresses of the DNS servers or domain controllers in the on-premises directory to which the AD Connector is * connected. *

*

* NOTE: This method appends the values to the existing list (if any). Use * {@link #setDnsIpAddrs(java.util.Collection)} or {@link #withDnsIpAddrs(java.util.Collection)} if you want to * override the existing values. *

* * @param dnsIpAddrs * The IP addresses of the DNS servers for the directory. For a Simple AD or Microsoft AD directory, these * are the IP addresses of the Simple AD or Microsoft AD directory servers. For an AD Connector directory, * these are the IP addresses of the DNS servers or domain controllers in the on-premises directory to which * the AD Connector is connected. * @return Returns a reference to this object so that method calls can be chained together. */ public DirectoryDescription withDnsIpAddrs(String... dnsIpAddrs) { if (this.dnsIpAddrs == null) { setDnsIpAddrs(new com.amazonaws.internal.SdkInternalList(dnsIpAddrs.length)); } for (String ele : dnsIpAddrs) { this.dnsIpAddrs.add(ele); } return this; } /** *

* The IP addresses of the DNS servers for the directory. For a Simple AD or Microsoft AD directory, these are the * IP addresses of the Simple AD or Microsoft AD directory servers. For an AD Connector directory, these are the IP * addresses of the DNS servers or domain controllers in the on-premises directory to which the AD Connector is * connected. *

* * @param dnsIpAddrs * The IP addresses of the DNS servers for the directory. For a Simple AD or Microsoft AD directory, these * are the IP addresses of the Simple AD or Microsoft AD directory servers. For an AD Connector directory, * these are the IP addresses of the DNS servers or domain controllers in the on-premises directory to which * the AD Connector is connected. * @return Returns a reference to this object so that method calls can be chained together. */ public DirectoryDescription withDnsIpAddrs(java.util.Collection dnsIpAddrs) { setDnsIpAddrs(dnsIpAddrs); return this; } /** *

* The current stage of the directory. *

* * @param stage * The current stage of the directory. * @see DirectoryStage */ public void setStage(String stage) { this.stage = stage; } /** *

* The current stage of the directory. *

* * @return The current stage of the directory. * @see DirectoryStage */ public String getStage() { return this.stage; } /** *

* The current stage of the directory. *

* * @param stage * The current stage of the directory. * @return Returns a reference to this object so that method calls can be chained together. * @see DirectoryStage */ public DirectoryDescription withStage(String stage) { setStage(stage); return this; } /** *

* The current stage of the directory. *

* * @param stage * The current stage of the directory. * @see DirectoryStage */ public void setStage(DirectoryStage stage) { withStage(stage); } /** *

* The current stage of the directory. *

* * @param stage * The current stage of the directory. * @return Returns a reference to this object so that method calls can be chained together. * @see DirectoryStage */ public DirectoryDescription withStage(DirectoryStage stage) { this.stage = stage.toString(); return this; } /** *

* Current directory status of the shared AWS Managed Microsoft AD directory. *

* * @param shareStatus * Current directory status of the shared AWS Managed Microsoft AD directory. * @see ShareStatus */ public void setShareStatus(String shareStatus) { this.shareStatus = shareStatus; } /** *

* Current directory status of the shared AWS Managed Microsoft AD directory. *

* * @return Current directory status of the shared AWS Managed Microsoft AD directory. * @see ShareStatus */ public String getShareStatus() { return this.shareStatus; } /** *

* Current directory status of the shared AWS Managed Microsoft AD directory. *

* * @param shareStatus * Current directory status of the shared AWS Managed Microsoft AD directory. * @return Returns a reference to this object so that method calls can be chained together. * @see ShareStatus */ public DirectoryDescription withShareStatus(String shareStatus) { setShareStatus(shareStatus); return this; } /** *

* Current directory status of the shared AWS Managed Microsoft AD directory. *

* * @param shareStatus * Current directory status of the shared AWS Managed Microsoft AD directory. * @see ShareStatus */ public void setShareStatus(ShareStatus shareStatus) { withShareStatus(shareStatus); } /** *

* Current directory status of the shared AWS Managed Microsoft AD directory. *

* * @param shareStatus * Current directory status of the shared AWS Managed Microsoft AD directory. * @return Returns a reference to this object so that method calls can be chained together. * @see ShareStatus */ public DirectoryDescription withShareStatus(ShareStatus shareStatus) { this.shareStatus = shareStatus.toString(); return this; } /** *

* The method used when sharing a directory to determine whether the directory should be shared within your AWS * organization (ORGANIZATIONS) or with any AWS account by sending a shared directory request ( * HANDSHAKE). *

* * @param shareMethod * The method used when sharing a directory to determine whether the directory should be shared within your * AWS organization (ORGANIZATIONS) or with any AWS account by sending a shared directory * request (HANDSHAKE). * @see ShareMethod */ public void setShareMethod(String shareMethod) { this.shareMethod = shareMethod; } /** *

* The method used when sharing a directory to determine whether the directory should be shared within your AWS * organization (ORGANIZATIONS) or with any AWS account by sending a shared directory request ( * HANDSHAKE). *

* * @return The method used when sharing a directory to determine whether the directory should be shared within your * AWS organization (ORGANIZATIONS) or with any AWS account by sending a shared directory * request (HANDSHAKE). * @see ShareMethod */ public String getShareMethod() { return this.shareMethod; } /** *

* The method used when sharing a directory to determine whether the directory should be shared within your AWS * organization (ORGANIZATIONS) or with any AWS account by sending a shared directory request ( * HANDSHAKE). *

* * @param shareMethod * The method used when sharing a directory to determine whether the directory should be shared within your * AWS organization (ORGANIZATIONS) or with any AWS account by sending a shared directory * request (HANDSHAKE). * @return Returns a reference to this object so that method calls can be chained together. * @see ShareMethod */ public DirectoryDescription withShareMethod(String shareMethod) { setShareMethod(shareMethod); return this; } /** *

* The method used when sharing a directory to determine whether the directory should be shared within your AWS * organization (ORGANIZATIONS) or with any AWS account by sending a shared directory request ( * HANDSHAKE). *

* * @param shareMethod * The method used when sharing a directory to determine whether the directory should be shared within your * AWS organization (ORGANIZATIONS) or with any AWS account by sending a shared directory * request (HANDSHAKE). * @see ShareMethod */ public void setShareMethod(ShareMethod shareMethod) { withShareMethod(shareMethod); } /** *

* The method used when sharing a directory to determine whether the directory should be shared within your AWS * organization (ORGANIZATIONS) or with any AWS account by sending a shared directory request ( * HANDSHAKE). *

* * @param shareMethod * The method used when sharing a directory to determine whether the directory should be shared within your * AWS organization (ORGANIZATIONS) or with any AWS account by sending a shared directory * request (HANDSHAKE). * @return Returns a reference to this object so that method calls can be chained together. * @see ShareMethod */ public DirectoryDescription withShareMethod(ShareMethod shareMethod) { this.shareMethod = shareMethod.toString(); return this; } /** *

* A directory share request that is sent by the directory owner to the directory consumer. The request includes a * typed message to help the directory consumer administrator determine whether to approve or reject the share * invitation. *

* * @param shareNotes * A directory share request that is sent by the directory owner to the directory consumer. The request * includes a typed message to help the directory consumer administrator determine whether to approve or * reject the share invitation. */ public void setShareNotes(String shareNotes) { this.shareNotes = shareNotes; } /** *

* A directory share request that is sent by the directory owner to the directory consumer. The request includes a * typed message to help the directory consumer administrator determine whether to approve or reject the share * invitation. *

* * @return A directory share request that is sent by the directory owner to the directory consumer. The request * includes a typed message to help the directory consumer administrator determine whether to approve or * reject the share invitation. */ public String getShareNotes() { return this.shareNotes; } /** *

* A directory share request that is sent by the directory owner to the directory consumer. The request includes a * typed message to help the directory consumer administrator determine whether to approve or reject the share * invitation. *

* * @param shareNotes * A directory share request that is sent by the directory owner to the directory consumer. The request * includes a typed message to help the directory consumer administrator determine whether to approve or * reject the share invitation. * @return Returns a reference to this object so that method calls can be chained together. */ public DirectoryDescription withShareNotes(String shareNotes) { setShareNotes(shareNotes); return this; } /** *

* Specifies when the directory was created. *

* * @param launchTime * Specifies when the directory was created. */ public void setLaunchTime(java.util.Date launchTime) { this.launchTime = launchTime; } /** *

* Specifies when the directory was created. *

* * @return Specifies when the directory was created. */ public java.util.Date getLaunchTime() { return this.launchTime; } /** *

* Specifies when the directory was created. *

* * @param launchTime * Specifies when the directory was created. * @return Returns a reference to this object so that method calls can be chained together. */ public DirectoryDescription withLaunchTime(java.util.Date launchTime) { setLaunchTime(launchTime); return this; } /** *

* The date and time that the stage was last updated. *

* * @param stageLastUpdatedDateTime * The date and time that the stage was last updated. */ public void setStageLastUpdatedDateTime(java.util.Date stageLastUpdatedDateTime) { this.stageLastUpdatedDateTime = stageLastUpdatedDateTime; } /** *

* The date and time that the stage was last updated. *

* * @return The date and time that the stage was last updated. */ public java.util.Date getStageLastUpdatedDateTime() { return this.stageLastUpdatedDateTime; } /** *

* The date and time that the stage was last updated. *

* * @param stageLastUpdatedDateTime * The date and time that the stage was last updated. * @return Returns a reference to this object so that method calls can be chained together. */ public DirectoryDescription withStageLastUpdatedDateTime(java.util.Date stageLastUpdatedDateTime) { setStageLastUpdatedDateTime(stageLastUpdatedDateTime); return this; } /** *

* The directory size. *

* * @param type * The directory size. * @see DirectoryType */ public void setType(String type) { this.type = type; } /** *

* The directory size. *

* * @return The directory size. * @see DirectoryType */ public String getType() { return this.type; } /** *

* The directory size. *

* * @param type * The directory size. * @return Returns a reference to this object so that method calls can be chained together. * @see DirectoryType */ public DirectoryDescription withType(String type) { setType(type); return this; } /** *

* The directory size. *

* * @param type * The directory size. * @see DirectoryType */ public void setType(DirectoryType type) { withType(type); } /** *

* The directory size. *

* * @param type * The directory size. * @return Returns a reference to this object so that method calls can be chained together. * @see DirectoryType */ public DirectoryDescription withType(DirectoryType type) { this.type = type.toString(); return this; } /** *

* A DirectoryVpcSettingsDescription object that contains additional information about a directory. This * member is only present if the directory is a Simple AD or Managed AD directory. *

* * @param vpcSettings * A DirectoryVpcSettingsDescription object that contains additional information about a directory. * This member is only present if the directory is a Simple AD or Managed AD directory. */ public void setVpcSettings(DirectoryVpcSettingsDescription vpcSettings) { this.vpcSettings = vpcSettings; } /** *

* A DirectoryVpcSettingsDescription object that contains additional information about a directory. This * member is only present if the directory is a Simple AD or Managed AD directory. *

* * @return A DirectoryVpcSettingsDescription object that contains additional information about a directory. * This member is only present if the directory is a Simple AD or Managed AD directory. */ public DirectoryVpcSettingsDescription getVpcSettings() { return this.vpcSettings; } /** *

* A DirectoryVpcSettingsDescription object that contains additional information about a directory. This * member is only present if the directory is a Simple AD or Managed AD directory. *

* * @param vpcSettings * A DirectoryVpcSettingsDescription object that contains additional information about a directory. * This member is only present if the directory is a Simple AD or Managed AD directory. * @return Returns a reference to this object so that method calls can be chained together. */ public DirectoryDescription withVpcSettings(DirectoryVpcSettingsDescription vpcSettings) { setVpcSettings(vpcSettings); return this; } /** *

* A DirectoryConnectSettingsDescription object that contains additional information about an AD Connector * directory. This member is only present if the directory is an AD Connector directory. *

* * @param connectSettings * A DirectoryConnectSettingsDescription object that contains additional information about an AD * Connector directory. This member is only present if the directory is an AD Connector directory. */ public void setConnectSettings(DirectoryConnectSettingsDescription connectSettings) { this.connectSettings = connectSettings; } /** *

* A DirectoryConnectSettingsDescription object that contains additional information about an AD Connector * directory. This member is only present if the directory is an AD Connector directory. *

* * @return A DirectoryConnectSettingsDescription object that contains additional information about an AD * Connector directory. This member is only present if the directory is an AD Connector directory. */ public DirectoryConnectSettingsDescription getConnectSettings() { return this.connectSettings; } /** *

* A DirectoryConnectSettingsDescription object that contains additional information about an AD Connector * directory. This member is only present if the directory is an AD Connector directory. *

* * @param connectSettings * A DirectoryConnectSettingsDescription object that contains additional information about an AD * Connector directory. This member is only present if the directory is an AD Connector directory. * @return Returns a reference to this object so that method calls can be chained together. */ public DirectoryDescription withConnectSettings(DirectoryConnectSettingsDescription connectSettings) { setConnectSettings(connectSettings); return this; } /** *

* A RadiusSettings object that contains information about the RADIUS server configured for this directory. *

* * @param radiusSettings * A RadiusSettings object that contains information about the RADIUS server configured for this * directory. */ public void setRadiusSettings(RadiusSettings radiusSettings) { this.radiusSettings = radiusSettings; } /** *

* A RadiusSettings object that contains information about the RADIUS server configured for this directory. *

* * @return A RadiusSettings object that contains information about the RADIUS server configured for this * directory. */ public RadiusSettings getRadiusSettings() { return this.radiusSettings; } /** *

* A RadiusSettings object that contains information about the RADIUS server configured for this directory. *

* * @param radiusSettings * A RadiusSettings object that contains information about the RADIUS server configured for this * directory. * @return Returns a reference to this object so that method calls can be chained together. */ public DirectoryDescription withRadiusSettings(RadiusSettings radiusSettings) { setRadiusSettings(radiusSettings); return this; } /** *

* The status of the RADIUS MFA server connection. *

* * @param radiusStatus * The status of the RADIUS MFA server connection. * @see RadiusStatus */ public void setRadiusStatus(String radiusStatus) { this.radiusStatus = radiusStatus; } /** *

* The status of the RADIUS MFA server connection. *

* * @return The status of the RADIUS MFA server connection. * @see RadiusStatus */ public String getRadiusStatus() { return this.radiusStatus; } /** *

* The status of the RADIUS MFA server connection. *

* * @param radiusStatus * The status of the RADIUS MFA server connection. * @return Returns a reference to this object so that method calls can be chained together. * @see RadiusStatus */ public DirectoryDescription withRadiusStatus(String radiusStatus) { setRadiusStatus(radiusStatus); return this; } /** *

* The status of the RADIUS MFA server connection. *

* * @param radiusStatus * The status of the RADIUS MFA server connection. * @see RadiusStatus */ public void setRadiusStatus(RadiusStatus radiusStatus) { withRadiusStatus(radiusStatus); } /** *

* The status of the RADIUS MFA server connection. *

* * @param radiusStatus * The status of the RADIUS MFA server connection. * @return Returns a reference to this object so that method calls can be chained together. * @see RadiusStatus */ public DirectoryDescription withRadiusStatus(RadiusStatus radiusStatus) { this.radiusStatus = radiusStatus.toString(); return this; } /** *

* Additional information about the directory stage. *

* * @param stageReason * Additional information about the directory stage. */ public void setStageReason(String stageReason) { this.stageReason = stageReason; } /** *

* Additional information about the directory stage. *

* * @return Additional information about the directory stage. */ public String getStageReason() { return this.stageReason; } /** *

* Additional information about the directory stage. *

* * @param stageReason * Additional information about the directory stage. * @return Returns a reference to this object so that method calls can be chained together. */ public DirectoryDescription withStageReason(String stageReason) { setStageReason(stageReason); return this; } /** *

* Indicates if single sign-on is enabled for the directory. For more information, see EnableSso and * DisableSso. *

* * @param ssoEnabled * Indicates if single sign-on is enabled for the directory. For more information, see EnableSso and * DisableSso. */ public void setSsoEnabled(Boolean ssoEnabled) { this.ssoEnabled = ssoEnabled; } /** *

* Indicates if single sign-on is enabled for the directory. For more information, see EnableSso and * DisableSso. *

* * @return Indicates if single sign-on is enabled for the directory. For more information, see EnableSso and * DisableSso. */ public Boolean getSsoEnabled() { return this.ssoEnabled; } /** *

* Indicates if single sign-on is enabled for the directory. For more information, see EnableSso and * DisableSso. *

* * @param ssoEnabled * Indicates if single sign-on is enabled for the directory. For more information, see EnableSso and * DisableSso. * @return Returns a reference to this object so that method calls can be chained together. */ public DirectoryDescription withSsoEnabled(Boolean ssoEnabled) { setSsoEnabled(ssoEnabled); return this; } /** *

* Indicates if single sign-on is enabled for the directory. For more information, see EnableSso and * DisableSso. *

* * @return Indicates if single sign-on is enabled for the directory. For more information, see EnableSso and * DisableSso. */ public Boolean isSsoEnabled() { return this.ssoEnabled; } /** *

* The desired number of domain controllers in the directory if the directory is Microsoft AD. *

* * @param desiredNumberOfDomainControllers * The desired number of domain controllers in the directory if the directory is Microsoft AD. */ public void setDesiredNumberOfDomainControllers(Integer desiredNumberOfDomainControllers) { this.desiredNumberOfDomainControllers = desiredNumberOfDomainControllers; } /** *

* The desired number of domain controllers in the directory if the directory is Microsoft AD. *

* * @return The desired number of domain controllers in the directory if the directory is Microsoft AD. */ public Integer getDesiredNumberOfDomainControllers() { return this.desiredNumberOfDomainControllers; } /** *

* The desired number of domain controllers in the directory if the directory is Microsoft AD. *

* * @param desiredNumberOfDomainControllers * The desired number of domain controllers in the directory if the directory is Microsoft AD. * @return Returns a reference to this object so that method calls can be chained together. */ public DirectoryDescription withDesiredNumberOfDomainControllers(Integer desiredNumberOfDomainControllers) { setDesiredNumberOfDomainControllers(desiredNumberOfDomainControllers); return this; } /** *

* Describes the AWS Managed Microsoft AD directory in the directory owner account. *

* * @param ownerDirectoryDescription * Describes the AWS Managed Microsoft AD directory in the directory owner account. */ public void setOwnerDirectoryDescription(OwnerDirectoryDescription ownerDirectoryDescription) { this.ownerDirectoryDescription = ownerDirectoryDescription; } /** *

* Describes the AWS Managed Microsoft AD directory in the directory owner account. *

* * @return Describes the AWS Managed Microsoft AD directory in the directory owner account. */ public OwnerDirectoryDescription getOwnerDirectoryDescription() { return this.ownerDirectoryDescription; } /** *

* Describes the AWS Managed Microsoft AD directory in the directory owner account. *

* * @param ownerDirectoryDescription * Describes the AWS Managed Microsoft AD directory in the directory owner account. * @return Returns a reference to this object so that method calls can be chained together. */ public DirectoryDescription withOwnerDirectoryDescription(OwnerDirectoryDescription ownerDirectoryDescription) { setOwnerDirectoryDescription(ownerDirectoryDescription); return this; } /** * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be * redacted from this string using a placeholder value. * * @return A string representation of this object. * * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getDirectoryId() != null) sb.append("DirectoryId: ").append(getDirectoryId()).append(","); if (getName() != null) sb.append("Name: ").append(getName()).append(","); if (getShortName() != null) sb.append("ShortName: ").append(getShortName()).append(","); if (getSize() != null) sb.append("Size: ").append(getSize()).append(","); if (getEdition() != null) sb.append("Edition: ").append(getEdition()).append(","); if (getAlias() != null) sb.append("Alias: ").append(getAlias()).append(","); if (getAccessUrl() != null) sb.append("AccessUrl: ").append(getAccessUrl()).append(","); if (getDescription() != null) sb.append("Description: ").append(getDescription()).append(","); if (getDnsIpAddrs() != null) sb.append("DnsIpAddrs: ").append(getDnsIpAddrs()).append(","); if (getStage() != null) sb.append("Stage: ").append(getStage()).append(","); if (getShareStatus() != null) sb.append("ShareStatus: ").append(getShareStatus()).append(","); if (getShareMethod() != null) sb.append("ShareMethod: ").append(getShareMethod()).append(","); if (getShareNotes() != null) sb.append("ShareNotes: ").append("***Sensitive Data Redacted***").append(","); if (getLaunchTime() != null) sb.append("LaunchTime: ").append(getLaunchTime()).append(","); if (getStageLastUpdatedDateTime() != null) sb.append("StageLastUpdatedDateTime: ").append(getStageLastUpdatedDateTime()).append(","); if (getType() != null) sb.append("Type: ").append(getType()).append(","); if (getVpcSettings() != null) sb.append("VpcSettings: ").append(getVpcSettings()).append(","); if (getConnectSettings() != null) sb.append("ConnectSettings: ").append(getConnectSettings()).append(","); if (getRadiusSettings() != null) sb.append("RadiusSettings: ").append(getRadiusSettings()).append(","); if (getRadiusStatus() != null) sb.append("RadiusStatus: ").append(getRadiusStatus()).append(","); if (getStageReason() != null) sb.append("StageReason: ").append(getStageReason()).append(","); if (getSsoEnabled() != null) sb.append("SsoEnabled: ").append(getSsoEnabled()).append(","); if (getDesiredNumberOfDomainControllers() != null) sb.append("DesiredNumberOfDomainControllers: ").append(getDesiredNumberOfDomainControllers()).append(","); if (getOwnerDirectoryDescription() != null) sb.append("OwnerDirectoryDescription: ").append(getOwnerDirectoryDescription()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof DirectoryDescription == false) return false; DirectoryDescription other = (DirectoryDescription) obj; if (other.getDirectoryId() == null ^ this.getDirectoryId() == null) return false; if (other.getDirectoryId() != null && other.getDirectoryId().equals(this.getDirectoryId()) == false) return false; if (other.getName() == null ^ this.getName() == null) return false; if (other.getName() != null && other.getName().equals(this.getName()) == false) return false; if (other.getShortName() == null ^ this.getShortName() == null) return false; if (other.getShortName() != null && other.getShortName().equals(this.getShortName()) == false) return false; if (other.getSize() == null ^ this.getSize() == null) return false; if (other.getSize() != null && other.getSize().equals(this.getSize()) == false) return false; if (other.getEdition() == null ^ this.getEdition() == null) return false; if (other.getEdition() != null && other.getEdition().equals(this.getEdition()) == false) return false; if (other.getAlias() == null ^ this.getAlias() == null) return false; if (other.getAlias() != null && other.getAlias().equals(this.getAlias()) == false) return false; if (other.getAccessUrl() == null ^ this.getAccessUrl() == null) return false; if (other.getAccessUrl() != null && other.getAccessUrl().equals(this.getAccessUrl()) == false) return false; if (other.getDescription() == null ^ this.getDescription() == null) return false; if (other.getDescription() != null && other.getDescription().equals(this.getDescription()) == false) return false; if (other.getDnsIpAddrs() == null ^ this.getDnsIpAddrs() == null) return false; if (other.getDnsIpAddrs() != null && other.getDnsIpAddrs().equals(this.getDnsIpAddrs()) == false) return false; if (other.getStage() == null ^ this.getStage() == null) return false; if (other.getStage() != null && other.getStage().equals(this.getStage()) == false) return false; if (other.getShareStatus() == null ^ this.getShareStatus() == null) return false; if (other.getShareStatus() != null && other.getShareStatus().equals(this.getShareStatus()) == false) return false; if (other.getShareMethod() == null ^ this.getShareMethod() == null) return false; if (other.getShareMethod() != null && other.getShareMethod().equals(this.getShareMethod()) == false) return false; if (other.getShareNotes() == null ^ this.getShareNotes() == null) return false; if (other.getShareNotes() != null && other.getShareNotes().equals(this.getShareNotes()) == false) return false; if (other.getLaunchTime() == null ^ this.getLaunchTime() == null) return false; if (other.getLaunchTime() != null && other.getLaunchTime().equals(this.getLaunchTime()) == false) return false; if (other.getStageLastUpdatedDateTime() == null ^ this.getStageLastUpdatedDateTime() == null) return false; if (other.getStageLastUpdatedDateTime() != null && other.getStageLastUpdatedDateTime().equals(this.getStageLastUpdatedDateTime()) == false) return false; if (other.getType() == null ^ this.getType() == null) return false; if (other.getType() != null && other.getType().equals(this.getType()) == false) return false; if (other.getVpcSettings() == null ^ this.getVpcSettings() == null) return false; if (other.getVpcSettings() != null && other.getVpcSettings().equals(this.getVpcSettings()) == false) return false; if (other.getConnectSettings() == null ^ this.getConnectSettings() == null) return false; if (other.getConnectSettings() != null && other.getConnectSettings().equals(this.getConnectSettings()) == false) return false; if (other.getRadiusSettings() == null ^ this.getRadiusSettings() == null) return false; if (other.getRadiusSettings() != null && other.getRadiusSettings().equals(this.getRadiusSettings()) == false) return false; if (other.getRadiusStatus() == null ^ this.getRadiusStatus() == null) return false; if (other.getRadiusStatus() != null && other.getRadiusStatus().equals(this.getRadiusStatus()) == false) return false; if (other.getStageReason() == null ^ this.getStageReason() == null) return false; if (other.getStageReason() != null && other.getStageReason().equals(this.getStageReason()) == false) return false; if (other.getSsoEnabled() == null ^ this.getSsoEnabled() == null) return false; if (other.getSsoEnabled() != null && other.getSsoEnabled().equals(this.getSsoEnabled()) == false) return false; if (other.getDesiredNumberOfDomainControllers() == null ^ this.getDesiredNumberOfDomainControllers() == null) return false; if (other.getDesiredNumberOfDomainControllers() != null && other.getDesiredNumberOfDomainControllers().equals(this.getDesiredNumberOfDomainControllers()) == false) return false; if (other.getOwnerDirectoryDescription() == null ^ this.getOwnerDirectoryDescription() == null) return false; if (other.getOwnerDirectoryDescription() != null && other.getOwnerDirectoryDescription().equals(this.getOwnerDirectoryDescription()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getDirectoryId() == null) ? 0 : getDirectoryId().hashCode()); hashCode = prime * hashCode + ((getName() == null) ? 0 : getName().hashCode()); hashCode = prime * hashCode + ((getShortName() == null) ? 0 : getShortName().hashCode()); hashCode = prime * hashCode + ((getSize() == null) ? 0 : getSize().hashCode()); hashCode = prime * hashCode + ((getEdition() == null) ? 0 : getEdition().hashCode()); hashCode = prime * hashCode + ((getAlias() == null) ? 0 : getAlias().hashCode()); hashCode = prime * hashCode + ((getAccessUrl() == null) ? 0 : getAccessUrl().hashCode()); hashCode = prime * hashCode + ((getDescription() == null) ? 0 : getDescription().hashCode()); hashCode = prime * hashCode + ((getDnsIpAddrs() == null) ? 0 : getDnsIpAddrs().hashCode()); hashCode = prime * hashCode + ((getStage() == null) ? 0 : getStage().hashCode()); hashCode = prime * hashCode + ((getShareStatus() == null) ? 0 : getShareStatus().hashCode()); hashCode = prime * hashCode + ((getShareMethod() == null) ? 0 : getShareMethod().hashCode()); hashCode = prime * hashCode + ((getShareNotes() == null) ? 0 : getShareNotes().hashCode()); hashCode = prime * hashCode + ((getLaunchTime() == null) ? 0 : getLaunchTime().hashCode()); hashCode = prime * hashCode + ((getStageLastUpdatedDateTime() == null) ? 0 : getStageLastUpdatedDateTime().hashCode()); hashCode = prime * hashCode + ((getType() == null) ? 0 : getType().hashCode()); hashCode = prime * hashCode + ((getVpcSettings() == null) ? 0 : getVpcSettings().hashCode()); hashCode = prime * hashCode + ((getConnectSettings() == null) ? 0 : getConnectSettings().hashCode()); hashCode = prime * hashCode + ((getRadiusSettings() == null) ? 0 : getRadiusSettings().hashCode()); hashCode = prime * hashCode + ((getRadiusStatus() == null) ? 0 : getRadiusStatus().hashCode()); hashCode = prime * hashCode + ((getStageReason() == null) ? 0 : getStageReason().hashCode()); hashCode = prime * hashCode + ((getSsoEnabled() == null) ? 0 : getSsoEnabled().hashCode()); hashCode = prime * hashCode + ((getDesiredNumberOfDomainControllers() == null) ? 0 : getDesiredNumberOfDomainControllers().hashCode()); hashCode = prime * hashCode + ((getOwnerDirectoryDescription() == null) ? 0 : getOwnerDirectoryDescription().hashCode()); return hashCode; } @Override public DirectoryDescription clone() { try { return (DirectoryDescription) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } @com.amazonaws.annotation.SdkInternalApi @Override public void marshall(ProtocolMarshaller protocolMarshaller) { com.amazonaws.services.directory.model.transform.DirectoryDescriptionMarshaller.getInstance().marshall(this, protocolMarshaller); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy