@Generated(value="software.amazon.awssdk:codegen") public final class DirectoryDescription extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DirectoryDescription.Builder,DirectoryDescription>
Contains information about an AWS Directory Service directory.
Modifier and Type | Class and Description |
---|---|
static interface |
DirectoryDescription.Builder |
Modifier and Type | Method and Description |
---|---|
String |
accessUrl()
The access URL for the directory, such as
http://<alias>.awsapps.com . |
String |
alias()
The alias for the directory.
|
static DirectoryDescription.Builder |
builder() |
DirectoryConnectSettingsDescription |
connectSettings()
A DirectoryConnectSettingsDescription object that contains additional information about an AD Connector
directory.
|
String |
description()
The textual description for the directory.
|
Integer |
desiredNumberOfDomainControllers()
The desired number of domain controllers in the directory if the directory is Microsoft AD.
|
String |
directoryId()
The directory identifier.
|
List<String> |
dnsIpAddrs()
The IP addresses of the DNS servers for the directory.
|
DirectoryEdition |
edition()
The edition associated with this directory.
|
String |
editionAsString()
The edition associated with this directory.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
launchTime()
Specifies when the directory was created.
|
String |
name()
The fully qualified name of the directory.
|
OwnerDirectoryDescription |
ownerDirectoryDescription()
Describes the AWS Managed Microsoft AD directory in the directory owner account.
|
RadiusSettings |
radiusSettings()
A RadiusSettings object that contains information about the RADIUS server configured for this directory.
|
RadiusStatus |
radiusStatus()
The status of the RADIUS MFA server connection.
|
String |
radiusStatusAsString()
The status of the RADIUS MFA server connection.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DirectoryDescription.Builder> |
serializableBuilderClass() |
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 ). |
String |
shareMethodAsString()
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 ). |
String |
shareNotes()
A directory share request that is sent by the directory owner to the directory consumer.
|
ShareStatus |
shareStatus()
Current directory status of the shared AWS Managed Microsoft AD directory.
|
String |
shareStatusAsString()
Current directory status of the shared AWS Managed Microsoft AD directory.
|
String |
shortName()
The short name of the directory.
|
DirectorySize |
size()
The directory size.
|
String |
sizeAsString()
The directory size.
|
Boolean |
ssoEnabled()
Indicates if single sign-on is enabled for the directory.
|
DirectoryStage |
stage()
The current stage of the directory.
|
String |
stageAsString()
The current stage of the directory.
|
Instant |
stageLastUpdatedDateTime()
The date and time that the stage was last updated.
|
String |
stageReason()
Additional information about the directory stage.
|
DirectoryDescription.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
DirectoryType |
type()
The directory size.
|
String |
typeAsString()
The directory size.
|
DirectoryVpcSettingsDescription |
vpcSettings()
A DirectoryVpcSettingsDescription object that contains additional information about a directory.
|
copy
public String directoryId()
The directory identifier.
public String name()
The fully qualified name of the directory.
public String shortName()
The short name of the directory.
public DirectorySize size()
The directory size.
If the service returns an enum value that is not available in the current SDK version, size
will return
DirectorySize.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
sizeAsString()
.
DirectorySize
public String sizeAsString()
The directory size.
If the service returns an enum value that is not available in the current SDK version, size
will return
DirectorySize.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
sizeAsString()
.
DirectorySize
public DirectoryEdition edition()
The edition associated with this directory.
If the service returns an enum value that is not available in the current SDK version, edition
will
return DirectoryEdition.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
editionAsString()
.
DirectoryEdition
public String editionAsString()
The edition associated with this directory.
If the service returns an enum value that is not available in the current SDK version, edition
will
return DirectoryEdition.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
editionAsString()
.
DirectoryEdition
public String 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
.
d-XXXXXXXXXX
.public String 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
.
http://<alias>.awsapps.com
. If no alias has
been created for the directory, <alias>
is the directory identifier, such as
d-XXXXXXXXXX
.public String description()
The textual description for the directory.
public List<String> 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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public DirectoryStage stage()
The current stage of the directory.
If the service returns an enum value that is not available in the current SDK version, stage
will return
DirectoryStage.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
stageAsString()
.
DirectoryStage
public String stageAsString()
The current stage of the directory.
If the service returns an enum value that is not available in the current SDK version, stage
will return
DirectoryStage.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
stageAsString()
.
DirectoryStage
public ShareStatus shareStatus()
Current directory status of the shared AWS Managed Microsoft AD directory.
If the service returns an enum value that is not available in the current SDK version, shareStatus
will
return ShareStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
shareStatusAsString()
.
ShareStatus
public String shareStatusAsString()
Current directory status of the shared AWS Managed Microsoft AD directory.
If the service returns an enum value that is not available in the current SDK version, shareStatus
will
return ShareStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
shareStatusAsString()
.
ShareStatus
public 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
).
If the service returns an enum value that is not available in the current SDK version, shareMethod
will
return ShareMethod.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
shareMethodAsString()
.
ORGANIZATIONS
) or with any AWS account by sending a shared directory
request (HANDSHAKE
).ShareMethod
public String shareMethodAsString()
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
).
If the service returns an enum value that is not available in the current SDK version, shareMethod
will
return ShareMethod.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
shareMethodAsString()
.
ORGANIZATIONS
) or with any AWS account by sending a shared directory
request (HANDSHAKE
).ShareMethod
public String 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 Instant launchTime()
Specifies when the directory was created.
public Instant stageLastUpdatedDateTime()
The date and time that the stage was last updated.
public DirectoryType type()
The directory size.
If the service returns an enum value that is not available in the current SDK version, type
will return
DirectoryType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
typeAsString()
.
DirectoryType
public String typeAsString()
The directory size.
If the service returns an enum value that is not available in the current SDK version, type
will return
DirectoryType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
typeAsString()
.
DirectoryType
public DirectoryVpcSettingsDescription 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 DirectoryConnectSettingsDescription 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 RadiusSettings radiusSettings()
A RadiusSettings object that contains information about the RADIUS server configured for this directory.
public RadiusStatus radiusStatus()
The status of the RADIUS MFA server connection.
If the service returns an enum value that is not available in the current SDK version, radiusStatus
will
return RadiusStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
radiusStatusAsString()
.
RadiusStatus
public String radiusStatusAsString()
The status of the RADIUS MFA server connection.
If the service returns an enum value that is not available in the current SDK version, radiusStatus
will
return RadiusStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
radiusStatusAsString()
.
RadiusStatus
public String stageReason()
Additional information about the directory stage.
public Boolean ssoEnabled()
Indicates if single sign-on is enabled for the directory. For more information, see EnableSso and DisableSso.
public Integer desiredNumberOfDomainControllers()
The desired number of domain controllers in the directory if the directory is Microsoft AD.
public OwnerDirectoryDescription ownerDirectoryDescription()
Describes the AWS Managed Microsoft AD directory in the directory owner account.
public DirectoryDescription.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DirectoryDescription.Builder,DirectoryDescription>
public static DirectoryDescription.Builder builder()
public static Class<? extends DirectoryDescription.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.