Struct aws_sdk_opensearch::types::builders::CognitoOptionsBuilder
source · #[non_exhaustive]pub struct CognitoOptionsBuilder { /* private fields */ }
Expand description
A builder for CognitoOptions
.
Implementations§
source§impl CognitoOptionsBuilder
impl CognitoOptionsBuilder
sourcepub fn enabled(self, input: bool) -> Self
pub fn enabled(self, input: bool) -> Self
Whether to enable or disable Amazon Cognito authentication for OpenSearch Dashboards.
sourcepub fn set_enabled(self, input: Option<bool>) -> Self
pub fn set_enabled(self, input: Option<bool>) -> Self
Whether to enable or disable Amazon Cognito authentication for OpenSearch Dashboards.
sourcepub fn get_enabled(&self) -> &Option<bool>
pub fn get_enabled(&self) -> &Option<bool>
Whether to enable or disable Amazon Cognito authentication for OpenSearch Dashboards.
sourcepub fn user_pool_id(self, input: impl Into<String>) -> Self
pub fn user_pool_id(self, input: impl Into<String>) -> Self
The Amazon Cognito user pool ID that you want OpenSearch Service to use for OpenSearch Dashboards authentication.
sourcepub fn set_user_pool_id(self, input: Option<String>) -> Self
pub fn set_user_pool_id(self, input: Option<String>) -> Self
The Amazon Cognito user pool ID that you want OpenSearch Service to use for OpenSearch Dashboards authentication.
sourcepub fn get_user_pool_id(&self) -> &Option<String>
pub fn get_user_pool_id(&self) -> &Option<String>
The Amazon Cognito user pool ID that you want OpenSearch Service to use for OpenSearch Dashboards authentication.
sourcepub fn identity_pool_id(self, input: impl Into<String>) -> Self
pub fn identity_pool_id(self, input: impl Into<String>) -> Self
The Amazon Cognito identity pool ID that you want OpenSearch Service to use for OpenSearch Dashboards authentication.
sourcepub fn set_identity_pool_id(self, input: Option<String>) -> Self
pub fn set_identity_pool_id(self, input: Option<String>) -> Self
The Amazon Cognito identity pool ID that you want OpenSearch Service to use for OpenSearch Dashboards authentication.
sourcepub fn get_identity_pool_id(&self) -> &Option<String>
pub fn get_identity_pool_id(&self) -> &Option<String>
The Amazon Cognito identity pool ID that you want OpenSearch Service to use for OpenSearch Dashboards authentication.
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
The AmazonOpenSearchServiceCognitoAccess
role that allows OpenSearch Service to configure your user pool and identity pool.
sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
The AmazonOpenSearchServiceCognitoAccess
role that allows OpenSearch Service to configure your user pool and identity pool.
sourcepub fn get_role_arn(&self) -> &Option<String>
pub fn get_role_arn(&self) -> &Option<String>
The AmazonOpenSearchServiceCognitoAccess
role that allows OpenSearch Service to configure your user pool and identity pool.
sourcepub fn build(self) -> CognitoOptions
pub fn build(self) -> CognitoOptions
Consumes the builder and constructs a CognitoOptions
.
Trait Implementations§
source§impl Clone for CognitoOptionsBuilder
impl Clone for CognitoOptionsBuilder
source§fn clone(&self) -> CognitoOptionsBuilder
fn clone(&self) -> CognitoOptionsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CognitoOptionsBuilder
impl Debug for CognitoOptionsBuilder
source§impl Default for CognitoOptionsBuilder
impl Default for CognitoOptionsBuilder
source§fn default() -> CognitoOptionsBuilder
fn default() -> CognitoOptionsBuilder
source§impl PartialEq for CognitoOptionsBuilder
impl PartialEq for CognitoOptionsBuilder
source§fn eq(&self, other: &CognitoOptionsBuilder) -> bool
fn eq(&self, other: &CognitoOptionsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.