// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`CreateTrust`](crate::operation::create_trust::builders::CreateTrustFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`directory_id(impl ::std::convert::Into<String>)`](crate::operation::create_trust::builders::CreateTrustFluentBuilder::directory_id) / [`set_directory_id(Option<String>)`](crate::operation::create_trust::builders::CreateTrustFluentBuilder::set_directory_id): <p>The Directory ID of the Managed Microsoft AD directory for which to establish the trust relationship.</p>
/// - [`remote_domain_name(impl ::std::convert::Into<String>)`](crate::operation::create_trust::builders::CreateTrustFluentBuilder::remote_domain_name) / [`set_remote_domain_name(Option<String>)`](crate::operation::create_trust::builders::CreateTrustFluentBuilder::set_remote_domain_name): <p>The Fully Qualified Domain Name (FQDN) of the external domain for which to create the trust relationship.</p>
/// - [`trust_password(impl ::std::convert::Into<String>)`](crate::operation::create_trust::builders::CreateTrustFluentBuilder::trust_password) / [`set_trust_password(Option<String>)`](crate::operation::create_trust::builders::CreateTrustFluentBuilder::set_trust_password): <p>The trust password. The must be the same password that was used when creating the trust relationship on the external domain.</p>
/// - [`trust_direction(TrustDirection)`](crate::operation::create_trust::builders::CreateTrustFluentBuilder::trust_direction) / [`set_trust_direction(Option<TrustDirection>)`](crate::operation::create_trust::builders::CreateTrustFluentBuilder::set_trust_direction): <p>The direction of the trust relationship.</p>
/// - [`trust_type(TrustType)`](crate::operation::create_trust::builders::CreateTrustFluentBuilder::trust_type) / [`set_trust_type(Option<TrustType>)`](crate::operation::create_trust::builders::CreateTrustFluentBuilder::set_trust_type): <p>The trust relationship type. <code>Forest</code> is the default.</p>
/// - [`conditional_forwarder_ip_addrs(Vec<String>)`](crate::operation::create_trust::builders::CreateTrustFluentBuilder::conditional_forwarder_ip_addrs) / [`set_conditional_forwarder_ip_addrs(Option<Vec<String>>)`](crate::operation::create_trust::builders::CreateTrustFluentBuilder::set_conditional_forwarder_ip_addrs): <p>The IP addresses of the remote DNS server associated with RemoteDomainName.</p>
/// - [`selective_auth(SelectiveAuth)`](crate::operation::create_trust::builders::CreateTrustFluentBuilder::selective_auth) / [`set_selective_auth(Option<SelectiveAuth>)`](crate::operation::create_trust::builders::CreateTrustFluentBuilder::set_selective_auth): <p>Optional parameter to enable selective authentication for the trust.</p>
/// - On success, responds with [`CreateTrustOutput`](crate::operation::create_trust::CreateTrustOutput) with field(s):
/// - [`trust_id(Option<String>)`](crate::operation::create_trust::CreateTrustOutput::trust_id): <p>A unique identifier for the trust relationship that was created.</p>
/// - On failure, responds with [`SdkError<CreateTrustError>`](crate::operation::create_trust::CreateTrustError)
pub fn create_trust(&self) -> crate::operation::create_trust::builders::CreateTrustFluentBuilder {
crate::operation::create_trust::builders::CreateTrustFluentBuilder::new(self.handle.clone())
}
}