Struct aws_sdk_directory::client::fluent_builders::AddRegion
source · [−]pub struct AddRegion { /* private fields */ }Expand description
Fluent builder constructing a request to AddRegion.
Adds two domain controllers in the specified Region for the specified directory.
Implementations
sourceimpl AddRegion
impl AddRegion
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<AddRegion, AwsResponseRetryClassifier>, SdkError<AddRegionError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<AddRegion, AwsResponseRetryClassifier>, SdkError<AddRegionError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(self) -> Result<AddRegionOutput, SdkError<AddRegionError>>
pub async fn send(self) -> Result<AddRegionOutput, SdkError<AddRegionError>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn directory_id(self, input: impl Into<String>) -> Self
pub fn directory_id(self, input: impl Into<String>) -> Self
The identifier of the directory to which you want to add Region replication.
sourcepub fn set_directory_id(self, input: Option<String>) -> Self
pub fn set_directory_id(self, input: Option<String>) -> Self
The identifier of the directory to which you want to add Region replication.
sourcepub fn region_name(self, input: impl Into<String>) -> Self
pub fn region_name(self, input: impl Into<String>) -> Self
The name of the Region where you want to add domain controllers for replication. For example, us-east-1.
sourcepub fn set_region_name(self, input: Option<String>) -> Self
pub fn set_region_name(self, input: Option<String>) -> Self
The name of the Region where you want to add domain controllers for replication. For example, us-east-1.
sourcepub fn vpc_settings(self, input: DirectoryVpcSettings) -> Self
pub fn vpc_settings(self, input: DirectoryVpcSettings) -> Self
Contains VPC information for the CreateDirectory or CreateMicrosoftAD operation.
sourcepub fn set_vpc_settings(self, input: Option<DirectoryVpcSettings>) -> Self
pub fn set_vpc_settings(self, input: Option<DirectoryVpcSettings>) -> Self
Contains VPC information for the CreateDirectory or CreateMicrosoftAD operation.