Struct aws_sdk_verifiedpermissions::types::builders::OpenIdConnectAccessTokenConfigurationDetailBuilder
source · #[non_exhaustive]pub struct OpenIdConnectAccessTokenConfigurationDetailBuilder { /* private fields */ }Expand description
A builder for OpenIdConnectAccessTokenConfigurationDetail.
Implementations§
source§impl OpenIdConnectAccessTokenConfigurationDetailBuilder
impl OpenIdConnectAccessTokenConfigurationDetailBuilder
sourcepub fn principal_id_claim(self, input: impl Into<String>) -> Self
pub fn principal_id_claim(self, input: impl Into<String>) -> Self
The claim that determines the principal in OIDC access tokens. For example, sub.
sourcepub fn set_principal_id_claim(self, input: Option<String>) -> Self
pub fn set_principal_id_claim(self, input: Option<String>) -> Self
The claim that determines the principal in OIDC access tokens. For example, sub.
sourcepub fn get_principal_id_claim(&self) -> &Option<String>
pub fn get_principal_id_claim(&self) -> &Option<String>
The claim that determines the principal in OIDC access tokens. For example, sub.
sourcepub fn audiences(self, input: impl Into<String>) -> Self
pub fn audiences(self, input: impl Into<String>) -> Self
Appends an item to audiences.
To override the contents of this collection use set_audiences.
The access token aud claim values that you want to accept in your policy store. For example, https://myapp.example.com, https://myapp2.example.com.
sourcepub fn set_audiences(self, input: Option<Vec<String>>) -> Self
pub fn set_audiences(self, input: Option<Vec<String>>) -> Self
The access token aud claim values that you want to accept in your policy store. For example, https://myapp.example.com, https://myapp2.example.com.
sourcepub fn get_audiences(&self) -> &Option<Vec<String>>
pub fn get_audiences(&self) -> &Option<Vec<String>>
The access token aud claim values that you want to accept in your policy store. For example, https://myapp.example.com, https://myapp2.example.com.
sourcepub fn build(self) -> OpenIdConnectAccessTokenConfigurationDetail
pub fn build(self) -> OpenIdConnectAccessTokenConfigurationDetail
Consumes the builder and constructs a OpenIdConnectAccessTokenConfigurationDetail.
Trait Implementations§
source§impl Clone for OpenIdConnectAccessTokenConfigurationDetailBuilder
impl Clone for OpenIdConnectAccessTokenConfigurationDetailBuilder
source§fn clone(&self) -> OpenIdConnectAccessTokenConfigurationDetailBuilder
fn clone(&self) -> OpenIdConnectAccessTokenConfigurationDetailBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for OpenIdConnectAccessTokenConfigurationDetailBuilder
impl Default for OpenIdConnectAccessTokenConfigurationDetailBuilder
source§fn default() -> OpenIdConnectAccessTokenConfigurationDetailBuilder
fn default() -> OpenIdConnectAccessTokenConfigurationDetailBuilder
source§impl PartialEq for OpenIdConnectAccessTokenConfigurationDetailBuilder
impl PartialEq for OpenIdConnectAccessTokenConfigurationDetailBuilder
source§fn eq(&self, other: &OpenIdConnectAccessTokenConfigurationDetailBuilder) -> bool
fn eq(&self, other: &OpenIdConnectAccessTokenConfigurationDetailBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OpenIdConnectAccessTokenConfigurationDetailBuilder
Auto Trait Implementations§
impl Freeze for OpenIdConnectAccessTokenConfigurationDetailBuilder
impl RefUnwindSafe for OpenIdConnectAccessTokenConfigurationDetailBuilder
impl Send for OpenIdConnectAccessTokenConfigurationDetailBuilder
impl Sync for OpenIdConnectAccessTokenConfigurationDetailBuilder
impl Unpin for OpenIdConnectAccessTokenConfigurationDetailBuilder
impl UnwindSafe for OpenIdConnectAccessTokenConfigurationDetailBuilder
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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