Struct aws_sdk_verifiedpermissions::types::builders::UpdateOpenIdConnectAccessTokenConfigurationBuilder
source · #[non_exhaustive]pub struct UpdateOpenIdConnectAccessTokenConfigurationBuilder { /* private fields */ }Expand description
A builder for UpdateOpenIdConnectAccessTokenConfiguration.
Implementations§
source§impl UpdateOpenIdConnectAccessTokenConfigurationBuilder
impl UpdateOpenIdConnectAccessTokenConfigurationBuilder
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) -> UpdateOpenIdConnectAccessTokenConfiguration
pub fn build(self) -> UpdateOpenIdConnectAccessTokenConfiguration
Consumes the builder and constructs a UpdateOpenIdConnectAccessTokenConfiguration.
Trait Implementations§
source§impl Clone for UpdateOpenIdConnectAccessTokenConfigurationBuilder
impl Clone for UpdateOpenIdConnectAccessTokenConfigurationBuilder
source§fn clone(&self) -> UpdateOpenIdConnectAccessTokenConfigurationBuilder
fn clone(&self) -> UpdateOpenIdConnectAccessTokenConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for UpdateOpenIdConnectAccessTokenConfigurationBuilder
impl Default for UpdateOpenIdConnectAccessTokenConfigurationBuilder
source§fn default() -> UpdateOpenIdConnectAccessTokenConfigurationBuilder
fn default() -> UpdateOpenIdConnectAccessTokenConfigurationBuilder
source§impl PartialEq for UpdateOpenIdConnectAccessTokenConfigurationBuilder
impl PartialEq for UpdateOpenIdConnectAccessTokenConfigurationBuilder
source§fn eq(&self, other: &UpdateOpenIdConnectAccessTokenConfigurationBuilder) -> bool
fn eq(&self, other: &UpdateOpenIdConnectAccessTokenConfigurationBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpdateOpenIdConnectAccessTokenConfigurationBuilder
Auto Trait Implementations§
impl Freeze for UpdateOpenIdConnectAccessTokenConfigurationBuilder
impl RefUnwindSafe for UpdateOpenIdConnectAccessTokenConfigurationBuilder
impl Send for UpdateOpenIdConnectAccessTokenConfigurationBuilder
impl Sync for UpdateOpenIdConnectAccessTokenConfigurationBuilder
impl Unpin for UpdateOpenIdConnectAccessTokenConfigurationBuilder
impl UnwindSafe for UpdateOpenIdConnectAccessTokenConfigurationBuilder
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