Struct aws_sdk_opensearchserverless::operation::update_security_config::builders::UpdateSecurityConfigInputBuilder
source · #[non_exhaustive]pub struct UpdateSecurityConfigInputBuilder { /* private fields */ }
Expand description
A builder for UpdateSecurityConfigInput
.
Implementations§
source§impl UpdateSecurityConfigInputBuilder
impl UpdateSecurityConfigInputBuilder
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The security configuration identifier. For SAML the ID will be saml/<accountId>/<idpProviderName>
. For example, saml/123456789123/OKTADev
.
sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The security configuration identifier. For SAML the ID will be saml/<accountId>/<idpProviderName>
. For example, saml/123456789123/OKTADev
.
sourcepub fn get_id(&self) -> &Option<String>
pub fn get_id(&self) -> &Option<String>
The security configuration identifier. For SAML the ID will be saml/<accountId>/<idpProviderName>
. For example, saml/123456789123/OKTADev
.
sourcepub fn config_version(self, input: impl Into<String>) -> Self
pub fn config_version(self, input: impl Into<String>) -> Self
The version of the security configuration to be updated. You can find the most recent version of a security configuration using the GetSecurityPolicy
command.
sourcepub fn set_config_version(self, input: Option<String>) -> Self
pub fn set_config_version(self, input: Option<String>) -> Self
The version of the security configuration to be updated. You can find the most recent version of a security configuration using the GetSecurityPolicy
command.
sourcepub fn get_config_version(&self) -> &Option<String>
pub fn get_config_version(&self) -> &Option<String>
The version of the security configuration to be updated. You can find the most recent version of a security configuration using the GetSecurityPolicy
command.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description of the security configuration.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description of the security configuration.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A description of the security configuration.
sourcepub fn saml_options(self, input: SamlConfigOptions) -> Self
pub fn saml_options(self, input: SamlConfigOptions) -> Self
SAML options in in the form of a key-value map.
sourcepub fn set_saml_options(self, input: Option<SamlConfigOptions>) -> Self
pub fn set_saml_options(self, input: Option<SamlConfigOptions>) -> Self
SAML options in in the form of a key-value map.
sourcepub fn get_saml_options(&self) -> &Option<SamlConfigOptions>
pub fn get_saml_options(&self) -> &Option<SamlConfigOptions>
SAML options in in the form of a key-value map.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
Unique, case-sensitive identifier to ensure idempotency of the request.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
Unique, case-sensitive identifier to ensure idempotency of the request.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
Unique, case-sensitive identifier to ensure idempotency of the request.
sourcepub fn build(self) -> Result<UpdateSecurityConfigInput, BuildError>
pub fn build(self) -> Result<UpdateSecurityConfigInput, BuildError>
Consumes the builder and constructs a UpdateSecurityConfigInput
.
source§impl UpdateSecurityConfigInputBuilder
impl UpdateSecurityConfigInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateSecurityConfigOutput, SdkError<UpdateSecurityConfigError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateSecurityConfigOutput, SdkError<UpdateSecurityConfigError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateSecurityConfigInputBuilder
impl Clone for UpdateSecurityConfigInputBuilder
source§fn clone(&self) -> UpdateSecurityConfigInputBuilder
fn clone(&self) -> UpdateSecurityConfigInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateSecurityConfigInputBuilder
impl Default for UpdateSecurityConfigInputBuilder
source§fn default() -> UpdateSecurityConfigInputBuilder
fn default() -> UpdateSecurityConfigInputBuilder
source§impl PartialEq for UpdateSecurityConfigInputBuilder
impl PartialEq for UpdateSecurityConfigInputBuilder
source§fn eq(&self, other: &UpdateSecurityConfigInputBuilder) -> bool
fn eq(&self, other: &UpdateSecurityConfigInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateSecurityConfigInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateSecurityConfigInputBuilder
impl RefUnwindSafe for UpdateSecurityConfigInputBuilder
impl Send for UpdateSecurityConfigInputBuilder
impl Sync for UpdateSecurityConfigInputBuilder
impl Unpin for UpdateSecurityConfigInputBuilder
impl UnwindSafe for UpdateSecurityConfigInputBuilder
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