Interface DirectoryDescription.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DirectoryDescription.Builder,
,DirectoryDescription> SdkBuilder<DirectoryDescription.Builder,
,DirectoryDescription> SdkPojo
- Enclosing class:
DirectoryDescription
-
Method Summary
Modifier and TypeMethodDescriptionThe access URL for the directory, such ashttp://<alias>.awsapps.com
.The alias for the directory.default DirectoryDescription.Builder
connectSettings
(Consumer<DirectoryConnectSettingsDescription.Builder> connectSettings) A DirectoryConnectSettingsDescription object that contains additional information about an AD Connector directory.connectSettings
(DirectoryConnectSettingsDescription connectSettings) A DirectoryConnectSettingsDescription object that contains additional information about an AD Connector directory.description
(String description) The description for the directory.desiredNumberOfDomainControllers
(Integer desiredNumberOfDomainControllers) The desired number of domain controllers in the directory if the directory is Microsoft AD.directoryId
(String directoryId) The directory identifier.dnsIpAddrs
(String... dnsIpAddrs) The IP addresses of the DNS servers for the directory.dnsIpAddrs
(Collection<String> dnsIpAddrs) The IP addresses of the DNS servers for the directory.The edition associated with this directory.edition
(DirectoryEdition edition) The edition associated with this directory.launchTime
(Instant launchTime) Specifies when the directory was created.The fully qualified name of the directory.The operating system (OS) version of the directory.The operating system (OS) version of the directory.default DirectoryDescription.Builder
ownerDirectoryDescription
(Consumer<OwnerDirectoryDescription.Builder> ownerDirectoryDescription) Describes the Managed Microsoft AD directory in the directory owner account.ownerDirectoryDescription
(OwnerDirectoryDescription ownerDirectoryDescription) Describes the Managed Microsoft AD directory in the directory owner account.default DirectoryDescription.Builder
radiusSettings
(Consumer<RadiusSettings.Builder> radiusSettings) A RadiusSettings object that contains information about the RADIUS server configured for this directory.radiusSettings
(RadiusSettings radiusSettings) A RadiusSettings object that contains information about the RADIUS server configured for this directory.radiusStatus
(String radiusStatus) The status of the RADIUS MFA server connection.radiusStatus
(RadiusStatus radiusStatus) The status of the RADIUS MFA server connection.default DirectoryDescription.Builder
regionsInfo
(Consumer<RegionsInfo.Builder> regionsInfo) Lists the Regions where the directory has replicated.regionsInfo
(RegionsInfo regionsInfo) Lists the Regions where the directory has replicated.shareMethod
(String shareMethod) The method used when sharing a directory to determine whether the directory should be shared within your Amazon Web Services organization (ORGANIZATIONS
) or with any Amazon Web Services account by sending a shared directory request (HANDSHAKE
).shareMethod
(ShareMethod shareMethod) The method used when sharing a directory to determine whether the directory should be shared within your Amazon Web Services organization (ORGANIZATIONS
) or with any Amazon Web Services account by sending a shared directory request (HANDSHAKE
).shareNotes
(String shareNotes) A directory share request that is sent by the directory owner to the directory consumer.shareStatus
(String shareStatus) Current directory status of the shared Managed Microsoft AD directory.shareStatus
(ShareStatus shareStatus) Current directory status of the shared Managed Microsoft AD directory.The short name of the directory.The directory size.size
(DirectorySize size) The directory size.ssoEnabled
(Boolean ssoEnabled) Indicates if single sign-on is enabled for the directory.The current stage of the directory.stage
(DirectoryStage stage) The current stage of the directory.stageLastUpdatedDateTime
(Instant stageLastUpdatedDateTime) The date and time that the stage was last updated.stageReason
(String stageReason) Additional information about the directory stage.The directory type.type
(DirectoryType type) The directory type.default DirectoryDescription.Builder
vpcSettings
(Consumer<DirectoryVpcSettingsDescription.Builder> vpcSettings) A DirectoryVpcSettingsDescription object that contains additional information about a directory.vpcSettings
(DirectoryVpcSettingsDescription vpcSettings) A DirectoryVpcSettingsDescription object that contains additional information about a directory.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
directoryId
The directory identifier.
- Parameters:
directoryId
- The directory identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The fully qualified name of the directory.
- Parameters:
name
- The fully qualified name of the directory.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
shortName
The short name of the directory.
- Parameters:
shortName
- The short name of the directory.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
size
The directory size.
- Parameters:
size
- The directory size.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
size
The directory size.
- Parameters:
size
- The directory size.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
edition
The edition associated with this directory.
- Parameters:
edition
- The edition associated with this directory.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
edition
The edition associated with this directory.
- Parameters:
edition
- The edition associated with this directory.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
.- Parameters:
alias
- The alias for the directory. If no alias has been created for the directory, the alias is the directory identifier, such asd-XXXXXXXXXX
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 asd-XXXXXXXXXX
.- Parameters:
accessUrl
- The access URL for the directory, such ashttp://<alias>.awsapps.com
. If no alias has been created for the directory,<alias>
is the directory identifier, such asd-XXXXXXXXXX
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description for the directory.
- Parameters:
description
- The description for the directory.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 your self-managed directory to which the AD Connector is connected.
- Parameters:
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 your self-managed directory to which the AD Connector is connected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 your self-managed directory to which the AD Connector is connected.
- Parameters:
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 your self-managed directory to which the AD Connector is connected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stage
The current stage of the directory.
- Parameters:
stage
- The current stage of the directory.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
stage
The current stage of the directory.
- Parameters:
stage
- The current stage of the directory.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
launchTime
Specifies when the directory was created.
- Parameters:
launchTime
- Specifies when the directory was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stageLastUpdatedDateTime
The date and time that the stage was last updated.
- Parameters:
stageLastUpdatedDateTime
- The date and time that the stage was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The directory type.
- Parameters:
type
- The directory type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The directory type.
- Parameters:
type
- The directory type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 Microsoft AD directory.
- Parameters:
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 Microsoft AD directory.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcSettings
default DirectoryDescription.Builder vpcSettings(Consumer<DirectoryVpcSettingsDescription.Builder> 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 Microsoft AD directory.
This is a convenience method that creates an instance of theDirectoryVpcSettingsDescription.Builder
avoiding the need to create one manually viaDirectoryVpcSettingsDescription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovpcSettings(DirectoryVpcSettingsDescription)
.- Parameters:
vpcSettings
- a consumer that will call methods onDirectoryVpcSettingsDescription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectSettings
default DirectoryDescription.Builder connectSettings(Consumer<DirectoryConnectSettingsDescription.Builder> 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.
This is a convenience method that creates an instance of theDirectoryConnectSettingsDescription.Builder
avoiding the need to create one manually viaDirectoryConnectSettingsDescription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconnectSettings(DirectoryConnectSettingsDescription)
.- Parameters:
connectSettings
- a consumer that will call methods onDirectoryConnectSettingsDescription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
radiusSettings
A RadiusSettings object that contains information about the RADIUS server configured for this directory.
- Parameters:
radiusSettings
- A RadiusSettings object that contains information about the RADIUS server configured for this directory.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
radiusSettings
default DirectoryDescription.Builder radiusSettings(Consumer<RadiusSettings.Builder> radiusSettings) A RadiusSettings object that contains information about the RADIUS server configured for this directory.
This is a convenience method that creates an instance of theRadiusSettings.Builder
avoiding the need to create one manually viaRadiusSettings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toradiusSettings(RadiusSettings)
.- Parameters:
radiusSettings
- a consumer that will call methods onRadiusSettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
radiusStatus
The status of the RADIUS MFA server connection.
- Parameters:
radiusStatus
- The status of the RADIUS MFA server connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
radiusStatus
The status of the RADIUS MFA server connection.
- Parameters:
radiusStatus
- The status of the RADIUS MFA server connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
stageReason
Additional information about the directory stage.
- Parameters:
stageReason
- Additional information about the directory stage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ssoEnabled
Indicates if single sign-on is enabled for the directory. For more information, see EnableSso and DisableSso.
- Parameters:
ssoEnabled
- Indicates if single sign-on is enabled for the directory. For more information, see EnableSso and DisableSso.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
desiredNumberOfDomainControllers
DirectoryDescription.Builder desiredNumberOfDomainControllers(Integer desiredNumberOfDomainControllers) The desired number of domain controllers in the directory if the directory is Microsoft AD.
- Parameters:
desiredNumberOfDomainControllers
- The desired number of domain controllers in the directory if the directory is Microsoft AD.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ownerDirectoryDescription
DirectoryDescription.Builder ownerDirectoryDescription(OwnerDirectoryDescription ownerDirectoryDescription) Describes the Managed Microsoft AD directory in the directory owner account.
- Parameters:
ownerDirectoryDescription
- Describes the Managed Microsoft AD directory in the directory owner account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ownerDirectoryDescription
default DirectoryDescription.Builder ownerDirectoryDescription(Consumer<OwnerDirectoryDescription.Builder> ownerDirectoryDescription) Describes the Managed Microsoft AD directory in the directory owner account.
This is a convenience method that creates an instance of theOwnerDirectoryDescription.Builder
avoiding the need to create one manually viaOwnerDirectoryDescription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toownerDirectoryDescription(OwnerDirectoryDescription)
.- Parameters:
ownerDirectoryDescription
- a consumer that will call methods onOwnerDirectoryDescription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
regionsInfo
Lists the Regions where the directory has replicated.
- Parameters:
regionsInfo
- Lists the Regions where the directory has replicated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regionsInfo
Lists the Regions where the directory has replicated.
This is a convenience method that creates an instance of theRegionsInfo.Builder
avoiding the need to create one manually viaRegionsInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toregionsInfo(RegionsInfo)
.- Parameters:
regionsInfo
- a consumer that will call methods onRegionsInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
osVersion
The operating system (OS) version of the directory.
- Parameters:
osVersion
- The operating system (OS) version of the directory.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
osVersion
The operating system (OS) version of the directory.
- Parameters:
osVersion
- The operating system (OS) version of the directory.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-