Struct aws_sdk_ssoadmin::operation::put_application_authentication_method::builders::PutApplicationAuthenticationMethodInputBuilder
source · #[non_exhaustive]pub struct PutApplicationAuthenticationMethodInputBuilder { /* private fields */ }
Expand description
A builder for PutApplicationAuthenticationMethodInput
.
Implementations§
source§impl PutApplicationAuthenticationMethodInputBuilder
impl PutApplicationAuthenticationMethodInputBuilder
sourcepub fn application_arn(self, input: impl Into<String>) -> Self
pub fn application_arn(self, input: impl Into<String>) -> Self
Specifies the ARN of the application with the authentication method to add or update.
This field is required.sourcepub fn set_application_arn(self, input: Option<String>) -> Self
pub fn set_application_arn(self, input: Option<String>) -> Self
Specifies the ARN of the application with the authentication method to add or update.
sourcepub fn get_application_arn(&self) -> &Option<String>
pub fn get_application_arn(&self) -> &Option<String>
Specifies the ARN of the application with the authentication method to add or update.
sourcepub fn authentication_method_type(self, input: AuthenticationMethodType) -> Self
pub fn authentication_method_type(self, input: AuthenticationMethodType) -> Self
Specifies the type of the authentication method that you want to add or update.
This field is required.sourcepub fn set_authentication_method_type(
self,
input: Option<AuthenticationMethodType>,
) -> Self
pub fn set_authentication_method_type( self, input: Option<AuthenticationMethodType>, ) -> Self
Specifies the type of the authentication method that you want to add or update.
sourcepub fn get_authentication_method_type(
&self,
) -> &Option<AuthenticationMethodType>
pub fn get_authentication_method_type( &self, ) -> &Option<AuthenticationMethodType>
Specifies the type of the authentication method that you want to add or update.
sourcepub fn authentication_method(self, input: AuthenticationMethod) -> Self
pub fn authentication_method(self, input: AuthenticationMethod) -> Self
Specifies a structure that describes the authentication method to add or update. The structure type you provide is determined by the AuthenticationMethodType
parameter.
sourcepub fn set_authentication_method(
self,
input: Option<AuthenticationMethod>,
) -> Self
pub fn set_authentication_method( self, input: Option<AuthenticationMethod>, ) -> Self
Specifies a structure that describes the authentication method to add or update. The structure type you provide is determined by the AuthenticationMethodType
parameter.
sourcepub fn get_authentication_method(&self) -> &Option<AuthenticationMethod>
pub fn get_authentication_method(&self) -> &Option<AuthenticationMethod>
Specifies a structure that describes the authentication method to add or update. The structure type you provide is determined by the AuthenticationMethodType
parameter.
sourcepub fn build(
self,
) -> Result<PutApplicationAuthenticationMethodInput, BuildError>
pub fn build( self, ) -> Result<PutApplicationAuthenticationMethodInput, BuildError>
Consumes the builder and constructs a PutApplicationAuthenticationMethodInput
.
source§impl PutApplicationAuthenticationMethodInputBuilder
impl PutApplicationAuthenticationMethodInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<PutApplicationAuthenticationMethodOutput, SdkError<PutApplicationAuthenticationMethodError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<PutApplicationAuthenticationMethodOutput, SdkError<PutApplicationAuthenticationMethodError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for PutApplicationAuthenticationMethodInputBuilder
impl Clone for PutApplicationAuthenticationMethodInputBuilder
source§fn clone(&self) -> PutApplicationAuthenticationMethodInputBuilder
fn clone(&self) -> PutApplicationAuthenticationMethodInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for PutApplicationAuthenticationMethodInputBuilder
impl Default for PutApplicationAuthenticationMethodInputBuilder
source§fn default() -> PutApplicationAuthenticationMethodInputBuilder
fn default() -> PutApplicationAuthenticationMethodInputBuilder
source§impl PartialEq for PutApplicationAuthenticationMethodInputBuilder
impl PartialEq for PutApplicationAuthenticationMethodInputBuilder
source§fn eq(&self, other: &PutApplicationAuthenticationMethodInputBuilder) -> bool
fn eq(&self, other: &PutApplicationAuthenticationMethodInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PutApplicationAuthenticationMethodInputBuilder
Auto Trait Implementations§
impl Freeze for PutApplicationAuthenticationMethodInputBuilder
impl RefUnwindSafe for PutApplicationAuthenticationMethodInputBuilder
impl Send for PutApplicationAuthenticationMethodInputBuilder
impl Sync for PutApplicationAuthenticationMethodInputBuilder
impl Unpin for PutApplicationAuthenticationMethodInputBuilder
impl UnwindSafe for PutApplicationAuthenticationMethodInputBuilder
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