@Generated(value="software.amazon.awssdk:codegen") public final class DirectoryDescription extends Object implements StructuredPojo, 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.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
launchTime()
Specifies when the directory was created.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
name()
The fully-qualified name of the directory.
|
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.
|
static Class<? extends DirectoryDescription.Builder> |
serializableBuilderClass() |
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 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 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 DirectoryDescription.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DirectoryDescription.Builder,DirectoryDescription>
public static DirectoryDescription.Builder builder()
public static Class<? extends DirectoryDescription.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.