Struct aws_sdk_workspaces::operation::modify_saml_properties::builders::ModifySamlPropertiesInputBuilder
source · #[non_exhaustive]pub struct ModifySamlPropertiesInputBuilder { /* private fields */ }
Expand description
A builder for ModifySamlPropertiesInput
.
Implementations§
source§impl ModifySamlPropertiesInputBuilder
impl ModifySamlPropertiesInputBuilder
sourcepub fn resource_id(self, input: impl Into<String>) -> Self
pub fn resource_id(self, input: impl Into<String>) -> Self
The directory identifier for which you want to configure SAML properties.
This field is required.sourcepub fn set_resource_id(self, input: Option<String>) -> Self
pub fn set_resource_id(self, input: Option<String>) -> Self
The directory identifier for which you want to configure SAML properties.
sourcepub fn get_resource_id(&self) -> &Option<String>
pub fn get_resource_id(&self) -> &Option<String>
The directory identifier for which you want to configure SAML properties.
sourcepub fn saml_properties(self, input: SamlProperties) -> Self
pub fn saml_properties(self, input: SamlProperties) -> Self
The properties for configuring SAML 2.0 authentication.
sourcepub fn set_saml_properties(self, input: Option<SamlProperties>) -> Self
pub fn set_saml_properties(self, input: Option<SamlProperties>) -> Self
The properties for configuring SAML 2.0 authentication.
sourcepub fn get_saml_properties(&self) -> &Option<SamlProperties>
pub fn get_saml_properties(&self) -> &Option<SamlProperties>
The properties for configuring SAML 2.0 authentication.
sourcepub fn properties_to_delete(self, input: DeletableSamlProperty) -> Self
pub fn properties_to_delete(self, input: DeletableSamlProperty) -> Self
Appends an item to properties_to_delete
.
To override the contents of this collection use set_properties_to_delete
.
The SAML properties to delete as part of your request.
Specify one of the following options:
-
SAML_PROPERTIES_USER_ACCESS_URL
to delete the user access URL. -
SAML_PROPERTIES_RELAY_STATE_PARAMETER_NAME
to delete the relay state parameter name.
sourcepub fn set_properties_to_delete(
self,
input: Option<Vec<DeletableSamlProperty>>
) -> Self
pub fn set_properties_to_delete( self, input: Option<Vec<DeletableSamlProperty>> ) -> Self
The SAML properties to delete as part of your request.
Specify one of the following options:
-
SAML_PROPERTIES_USER_ACCESS_URL
to delete the user access URL. -
SAML_PROPERTIES_RELAY_STATE_PARAMETER_NAME
to delete the relay state parameter name.
sourcepub fn get_properties_to_delete(&self) -> &Option<Vec<DeletableSamlProperty>>
pub fn get_properties_to_delete(&self) -> &Option<Vec<DeletableSamlProperty>>
The SAML properties to delete as part of your request.
Specify one of the following options:
-
SAML_PROPERTIES_USER_ACCESS_URL
to delete the user access URL. -
SAML_PROPERTIES_RELAY_STATE_PARAMETER_NAME
to delete the relay state parameter name.
sourcepub fn build(self) -> Result<ModifySamlPropertiesInput, BuildError>
pub fn build(self) -> Result<ModifySamlPropertiesInput, BuildError>
Consumes the builder and constructs a ModifySamlPropertiesInput
.
source§impl ModifySamlPropertiesInputBuilder
impl ModifySamlPropertiesInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ModifySamlPropertiesOutput, SdkError<ModifySamlPropertiesError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ModifySamlPropertiesOutput, SdkError<ModifySamlPropertiesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ModifySamlPropertiesInputBuilder
impl Clone for ModifySamlPropertiesInputBuilder
source§fn clone(&self) -> ModifySamlPropertiesInputBuilder
fn clone(&self) -> ModifySamlPropertiesInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ModifySamlPropertiesInputBuilder
impl Default for ModifySamlPropertiesInputBuilder
source§fn default() -> ModifySamlPropertiesInputBuilder
fn default() -> ModifySamlPropertiesInputBuilder
source§impl PartialEq for ModifySamlPropertiesInputBuilder
impl PartialEq for ModifySamlPropertiesInputBuilder
source§fn eq(&self, other: &ModifySamlPropertiesInputBuilder) -> bool
fn eq(&self, other: &ModifySamlPropertiesInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ModifySamlPropertiesInputBuilder
Auto Trait Implementations§
impl Freeze for ModifySamlPropertiesInputBuilder
impl RefUnwindSafe for ModifySamlPropertiesInputBuilder
impl Send for ModifySamlPropertiesInputBuilder
impl Sync for ModifySamlPropertiesInputBuilder
impl Unpin for ModifySamlPropertiesInputBuilder
impl UnwindSafe for ModifySamlPropertiesInputBuilder
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