Struct aws_sdk_elasticsearch::model::cognito_options::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for CognitoOptions
.
Implementations
sourceimpl 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
.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more