Interface ConnectDirectoryRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ConnectDirectoryRequest.Builder,,ConnectDirectoryRequest> DirectoryRequest.Builder,SdkBuilder<ConnectDirectoryRequest.Builder,,ConnectDirectoryRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ConnectDirectoryRequest
-
Method Summary
Modifier and TypeMethodDescriptiondefault ConnectDirectoryRequest.BuilderconnectSettings(Consumer<DirectoryConnectSettings.Builder> connectSettings) A DirectoryConnectSettings object that contains additional information for the operation.connectSettings(DirectoryConnectSettings connectSettings) A DirectoryConnectSettings object that contains additional information for the operation.description(String description) A description for the directory.The fully qualified name of your self-managed directory, such ascorp.example.com.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The password for your self-managed user account.The NetBIOS name of your self-managed directory, such asCORP.The size of the directory.size(DirectorySize size) The size of the directory.tags(Collection<Tag> tags) The tags to be assigned to AD Connector.tags(Consumer<Tag.Builder>... tags) The tags to be assigned to AD Connector.The tags to be assigned to AD Connector.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.directory.model.DirectoryRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
name
The fully qualified name of your self-managed directory, such as
corp.example.com.- Parameters:
name- The fully qualified name of your self-managed directory, such ascorp.example.com.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
shortName
The NetBIOS name of your self-managed directory, such as
CORP.- Parameters:
shortName- The NetBIOS name of your self-managed directory, such asCORP.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
password
The password for your self-managed user account.
- Parameters:
password- The password for your self-managed user account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description for the directory.
- Parameters:
description- A description for the directory.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
size
The size of the directory.
- Parameters:
size- The size of the directory.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
size
The size of the directory.
- Parameters:
size- The size of the directory.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
connectSettings
A DirectoryConnectSettings object that contains additional information for the operation.
- Parameters:
connectSettings- A DirectoryConnectSettings object that contains additional information for the operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectSettings
default ConnectDirectoryRequest.Builder connectSettings(Consumer<DirectoryConnectSettings.Builder> connectSettings) A DirectoryConnectSettings object that contains additional information for the operation.
This is a convenience method that creates an instance of theDirectoryConnectSettings.Builderavoiding the need to create one manually viaDirectoryConnectSettings.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconnectSettings(DirectoryConnectSettings).- Parameters:
connectSettings- a consumer that will call methods onDirectoryConnectSettings.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The tags to be assigned to AD Connector.
- Parameters:
tags- The tags to be assigned to AD Connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags to be assigned to AD Connector.
- Parameters:
tags- The tags to be assigned to AD Connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags to be assigned to AD Connector.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
ConnectDirectoryRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ConnectDirectoryRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-