#[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
Specifies the option to enable Cognito for Kibana authentication.
sourcepub fn set_enabled(self, input: Option<bool>) -> Self
pub fn set_enabled(self, input: Option<bool>) -> Self
Specifies the option to enable Cognito for Kibana authentication.
sourcepub fn user_pool_id(self, input: impl Into<String>) -> Self
pub fn user_pool_id(self, input: impl Into<String>) -> Self
Specifies the Cognito user pool ID for Kibana authentication.
sourcepub fn set_user_pool_id(self, input: Option<String>) -> Self
pub fn set_user_pool_id(self, input: Option<String>) -> Self
Specifies the Cognito user pool ID for Kibana authentication.
sourcepub fn identity_pool_id(self, input: impl Into<String>) -> Self
pub fn identity_pool_id(self, input: impl Into<String>) -> Self
Specifies the Cognito identity pool ID for Kibana authentication.
sourcepub fn set_identity_pool_id(self, input: Option<String>) -> Self
pub fn set_identity_pool_id(self, input: Option<String>) -> Self
Specifies the Cognito identity pool ID for Kibana authentication.
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
Specifies the role ARN that provides Elasticsearch permissions for accessing Cognito resources.
sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
Specifies the role ARN that provides Elasticsearch permissions for accessing Cognito resources.
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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
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
Returns the “default value” for a type. Read more
source§impl PartialEq<CognitoOptionsBuilder> for CognitoOptionsBuilder
impl PartialEq<CognitoOptionsBuilder> for CognitoOptionsBuilder
source§fn eq(&self, other: &CognitoOptionsBuilder) -> bool
fn eq(&self, other: &CognitoOptionsBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.