Struct aws_sdk_pcaconnectorad::operation::create_service_principal_name::builders::CreateServicePrincipalNameFluentBuilder
source · pub struct CreateServicePrincipalNameFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateServicePrincipalName
.
Creates a service principal name (SPN) for the service account in Active Directory. Kerberos authentication uses SPNs to associate a service instance with a service sign-in account.
Implementations§
source§impl CreateServicePrincipalNameFluentBuilder
impl CreateServicePrincipalNameFluentBuilder
sourcepub fn as_input(&self) -> &CreateServicePrincipalNameInputBuilder
pub fn as_input(&self) -> &CreateServicePrincipalNameInputBuilder
Access the CreateServicePrincipalName as a reference.
sourcepub async fn send(
self
) -> Result<CreateServicePrincipalNameOutput, SdkError<CreateServicePrincipalNameError, HttpResponse>>
pub async fn send( self ) -> Result<CreateServicePrincipalNameOutput, SdkError<CreateServicePrincipalNameError, HttpResponse>>
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 customize(
self
) -> CustomizableOperation<CreateServicePrincipalNameOutput, CreateServicePrincipalNameError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateServicePrincipalNameOutput, CreateServicePrincipalNameError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn directory_registration_arn(self, input: impl Into<String>) -> Self
pub fn directory_registration_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) that was returned when you called CreateDirectoryRegistration.
sourcepub fn set_directory_registration_arn(self, input: Option<String>) -> Self
pub fn set_directory_registration_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) that was returned when you called CreateDirectoryRegistration.
sourcepub fn get_directory_registration_arn(&self) -> &Option<String>
pub fn get_directory_registration_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) that was returned when you called CreateDirectoryRegistration.
sourcepub fn connector_arn(self, input: impl Into<String>) -> Self
pub fn connector_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) that was returned when you called CreateConnector.
sourcepub fn set_connector_arn(self, input: Option<String>) -> Self
pub fn set_connector_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) that was returned when you called CreateConnector.
sourcepub fn get_connector_arn(&self) -> &Option<String>
pub fn get_connector_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) that was returned when you called CreateConnector.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
Idempotency token.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
Idempotency token.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
Idempotency token.
Trait Implementations§
source§impl Clone for CreateServicePrincipalNameFluentBuilder
impl Clone for CreateServicePrincipalNameFluentBuilder
source§fn clone(&self) -> CreateServicePrincipalNameFluentBuilder
fn clone(&self) -> CreateServicePrincipalNameFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for CreateServicePrincipalNameFluentBuilder
impl !RefUnwindSafe for CreateServicePrincipalNameFluentBuilder
impl Send for CreateServicePrincipalNameFluentBuilder
impl Sync for CreateServicePrincipalNameFluentBuilder
impl Unpin for CreateServicePrincipalNameFluentBuilder
impl !UnwindSafe for CreateServicePrincipalNameFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more