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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AddRegionRequest.BuilderdirectoryId(String directoryId)The identifier of the directory to which you want to add Region replication.AddRegionRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)AddRegionRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)AddRegionRequest.BuilderregionName(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.AddRegionRequest.BuildervpcSettings(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
directoryId
AddRegionRequest.Builder directoryId(String 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
AddRegionRequest.Builder regionName(String 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
AddRegionRequest.Builder vpcSettings(DirectoryVpcSettings 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
default AddRegionRequest.Builder vpcSettings(Consumer<DirectoryVpcSettings.Builder> 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:
vpcSettings(DirectoryVpcSettings)
-
overrideConfiguration
AddRegionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
AddRegionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-