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 ==
.