Struct aws_sdk_elasticsearch::model::cognito_options::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for CognitoOptions
.
Implementations§
source§impl Builder
impl Builder
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
.