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