Struct aws_sdk_pcaconnectorad::operation::create_service_principal_name::builders::CreateServicePrincipalNameInputBuilder
source · #[non_exhaustive]pub struct CreateServicePrincipalNameInputBuilder { /* private fields */ }
Expand description
A builder for CreateServicePrincipalNameInput
.
Implementations§
source§impl CreateServicePrincipalNameInputBuilder
impl CreateServicePrincipalNameInputBuilder
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.
This field is required.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.
This field is required.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.
sourcepub fn build(self) -> Result<CreateServicePrincipalNameInput, BuildError>
pub fn build(self) -> Result<CreateServicePrincipalNameInput, BuildError>
Consumes the builder and constructs a CreateServicePrincipalNameInput
.
source§impl CreateServicePrincipalNameInputBuilder
impl CreateServicePrincipalNameInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<CreateServicePrincipalNameOutput, SdkError<CreateServicePrincipalNameError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<CreateServicePrincipalNameOutput, SdkError<CreateServicePrincipalNameError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateServicePrincipalNameInputBuilder
impl Clone for CreateServicePrincipalNameInputBuilder
source§fn clone(&self) -> CreateServicePrincipalNameInputBuilder
fn clone(&self) -> CreateServicePrincipalNameInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for CreateServicePrincipalNameInputBuilder
impl Default for CreateServicePrincipalNameInputBuilder
source§fn default() -> CreateServicePrincipalNameInputBuilder
fn default() -> CreateServicePrincipalNameInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CreateServicePrincipalNameInputBuilder
impl PartialEq for CreateServicePrincipalNameInputBuilder
source§fn eq(&self, other: &CreateServicePrincipalNameInputBuilder) -> bool
fn eq(&self, other: &CreateServicePrincipalNameInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateServicePrincipalNameInputBuilder
Auto Trait Implementations§
impl Freeze for CreateServicePrincipalNameInputBuilder
impl RefUnwindSafe for CreateServicePrincipalNameInputBuilder
impl Send for CreateServicePrincipalNameInputBuilder
impl Sync for CreateServicePrincipalNameInputBuilder
impl Unpin for CreateServicePrincipalNameInputBuilder
impl UnwindSafe for CreateServicePrincipalNameInputBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.