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.BuildervpcSettings(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
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
-
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.Builderavoiding the need to create one manually viaDirectoryVpcSettings.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-