Interface AddRegionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<AddRegionRequest.Builder,
,AddRegionRequest> DirectoryRequest.Builder
,SdkBuilder<AddRegionRequest.Builder,
,AddRegionRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
AddRegionRequest
public static interface AddRegionRequest.Builder
extends DirectoryRequest.Builder, SdkPojo, CopyableBuilder<AddRegionRequest.Builder,AddRegionRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondirectoryId
(String directoryId) The identifier of the directory to which you want to add Region replication.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.regionName
(String regionName) The name of the Region where you want to add domain controllers for replication.default AddRegionRequest.Builder
vpcSettings
(Consumer<DirectoryVpcSettings.Builder> vpcSettings) Sets the value of the VPCSettings property for this object.vpcSettings
(DirectoryVpcSettings vpcSettings) Sets the value of the VPCSettings property for this object.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.directory.model.DirectoryRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
directoryId
The identifier of the directory to which you want to add Region replication.
- Parameters:
directoryId
- The identifier of the directory to which you want to add Region replication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regionName
The name of the Region where you want to add domain controllers for replication. For example,
us-east-1
.- Parameters:
regionName
- The name of the Region where you want to add domain controllers for replication. For example,us-east-1
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcSettings
Sets the value of the VPCSettings property for this object.- Parameters:
vpcSettings
- The new value for the VPCSettings property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcSettings
Sets the value of the VPCSettings property for this object. This is a convenience method that creates an instance of theDirectoryVpcSettings.Builder
avoiding the need to create one manually viaDirectoryVpcSettings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovpcSettings(DirectoryVpcSettings)
.- Parameters:
vpcSettings
- a consumer that will call methods onDirectoryVpcSettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
AddRegionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
AddRegionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-