Struct aws_sdk_opensearch::types::builders::JwtOptionsInputBuilder
source · #[non_exhaustive]pub struct JwtOptionsInputBuilder { /* private fields */ }Expand description
A builder for JwtOptionsInput.
Implementations§
source§impl JwtOptionsInputBuilder
impl JwtOptionsInputBuilder
sourcepub fn enabled(self, input: bool) -> Self
pub fn enabled(self, input: bool) -> Self
True to enable JWT authentication and authorization for a domain.
sourcepub fn set_enabled(self, input: Option<bool>) -> Self
pub fn set_enabled(self, input: Option<bool>) -> Self
True to enable JWT authentication and authorization for a domain.
sourcepub fn get_enabled(&self) -> &Option<bool>
pub fn get_enabled(&self) -> &Option<bool>
True to enable JWT authentication and authorization for a domain.
sourcepub fn subject_key(self, input: impl Into<String>) -> Self
pub fn subject_key(self, input: impl Into<String>) -> Self
Element of the JWT assertion to use for the user name.
sourcepub fn set_subject_key(self, input: Option<String>) -> Self
pub fn set_subject_key(self, input: Option<String>) -> Self
Element of the JWT assertion to use for the user name.
sourcepub fn get_subject_key(&self) -> &Option<String>
pub fn get_subject_key(&self) -> &Option<String>
Element of the JWT assertion to use for the user name.
sourcepub fn roles_key(self, input: impl Into<String>) -> Self
pub fn roles_key(self, input: impl Into<String>) -> Self
Element of the JWT assertion to use for roles.
sourcepub fn set_roles_key(self, input: Option<String>) -> Self
pub fn set_roles_key(self, input: Option<String>) -> Self
Element of the JWT assertion to use for roles.
sourcepub fn get_roles_key(&self) -> &Option<String>
pub fn get_roles_key(&self) -> &Option<String>
Element of the JWT assertion to use for roles.
sourcepub fn public_key(self, input: impl Into<String>) -> Self
pub fn public_key(self, input: impl Into<String>) -> Self
Element of the JWT assertion used by the cluster to verify JWT signatures.
sourcepub fn set_public_key(self, input: Option<String>) -> Self
pub fn set_public_key(self, input: Option<String>) -> Self
Element of the JWT assertion used by the cluster to verify JWT signatures.
sourcepub fn get_public_key(&self) -> &Option<String>
pub fn get_public_key(&self) -> &Option<String>
Element of the JWT assertion used by the cluster to verify JWT signatures.
sourcepub fn build(self) -> JwtOptionsInput
pub fn build(self) -> JwtOptionsInput
Consumes the builder and constructs a JwtOptionsInput.
Trait Implementations§
source§impl Clone for JwtOptionsInputBuilder
impl Clone for JwtOptionsInputBuilder
source§fn clone(&self) -> JwtOptionsInputBuilder
fn clone(&self) -> JwtOptionsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for JwtOptionsInputBuilder
impl Debug for JwtOptionsInputBuilder
source§impl Default for JwtOptionsInputBuilder
impl Default for JwtOptionsInputBuilder
source§fn default() -> JwtOptionsInputBuilder
fn default() -> JwtOptionsInputBuilder
source§impl PartialEq for JwtOptionsInputBuilder
impl PartialEq for JwtOptionsInputBuilder
source§fn eq(&self, other: &JwtOptionsInputBuilder) -> bool
fn eq(&self, other: &JwtOptionsInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for JwtOptionsInputBuilder
Auto Trait Implementations§
impl Freeze for JwtOptionsInputBuilder
impl RefUnwindSafe for JwtOptionsInputBuilder
impl Send for JwtOptionsInputBuilder
impl Sync for JwtOptionsInputBuilder
impl Unpin for JwtOptionsInputBuilder
impl UnwindSafe for JwtOptionsInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more