Struct aws_sdk_ec2::types::builders::OidcOptionsBuilder
source · #[non_exhaustive]pub struct OidcOptionsBuilder { /* private fields */ }
Expand description
A builder for OidcOptions
.
Implementations§
source§impl OidcOptionsBuilder
impl OidcOptionsBuilder
sourcepub fn set_issuer(self, input: Option<String>) -> Self
pub fn set_issuer(self, input: Option<String>) -> Self
The OIDC issuer.
sourcepub fn get_issuer(&self) -> &Option<String>
pub fn get_issuer(&self) -> &Option<String>
The OIDC issuer.
The OIDC authorization endpoint.
The OIDC authorization endpoint.
The OIDC authorization endpoint.
sourcepub fn token_endpoint(self, input: impl Into<String>) -> Self
pub fn token_endpoint(self, input: impl Into<String>) -> Self
The OIDC token endpoint.
sourcepub fn set_token_endpoint(self, input: Option<String>) -> Self
pub fn set_token_endpoint(self, input: Option<String>) -> Self
The OIDC token endpoint.
sourcepub fn get_token_endpoint(&self) -> &Option<String>
pub fn get_token_endpoint(&self) -> &Option<String>
The OIDC token endpoint.
sourcepub fn user_info_endpoint(self, input: impl Into<String>) -> Self
pub fn user_info_endpoint(self, input: impl Into<String>) -> Self
The OIDC user info endpoint.
sourcepub fn set_user_info_endpoint(self, input: Option<String>) -> Self
pub fn set_user_info_endpoint(self, input: Option<String>) -> Self
The OIDC user info endpoint.
sourcepub fn get_user_info_endpoint(&self) -> &Option<String>
pub fn get_user_info_endpoint(&self) -> &Option<String>
The OIDC user info endpoint.
sourcepub fn set_client_id(self, input: Option<String>) -> Self
pub fn set_client_id(self, input: Option<String>) -> Self
The client identifier.
sourcepub fn get_client_id(&self) -> &Option<String>
pub fn get_client_id(&self) -> &Option<String>
The client identifier.
sourcepub fn client_secret(self, input: impl Into<String>) -> Self
pub fn client_secret(self, input: impl Into<String>) -> Self
The client secret.
sourcepub fn set_client_secret(self, input: Option<String>) -> Self
pub fn set_client_secret(self, input: Option<String>) -> Self
The client secret.
sourcepub fn get_client_secret(&self) -> &Option<String>
pub fn get_client_secret(&self) -> &Option<String>
The client secret.
sourcepub fn scope(self, input: impl Into<String>) -> Self
pub fn scope(self, input: impl Into<String>) -> Self
The OpenID Connect (OIDC) scope specified.
sourcepub fn set_scope(self, input: Option<String>) -> Self
pub fn set_scope(self, input: Option<String>) -> Self
The OpenID Connect (OIDC) scope specified.
sourcepub fn build(self) -> OidcOptions
pub fn build(self) -> OidcOptions
Consumes the builder and constructs a OidcOptions
.
Trait Implementations§
source§impl Clone for OidcOptionsBuilder
impl Clone for OidcOptionsBuilder
source§fn clone(&self) -> OidcOptionsBuilder
fn clone(&self) -> OidcOptionsBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for OidcOptionsBuilder
impl Debug for OidcOptionsBuilder
source§impl Default for OidcOptionsBuilder
impl Default for OidcOptionsBuilder
source§fn default() -> OidcOptionsBuilder
fn default() -> OidcOptionsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for OidcOptionsBuilder
impl PartialEq for OidcOptionsBuilder
source§fn eq(&self, other: &OidcOptionsBuilder) -> bool
fn eq(&self, other: &OidcOptionsBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for OidcOptionsBuilder
Auto Trait Implementations§
impl Freeze for OidcOptionsBuilder
impl RefUnwindSafe for OidcOptionsBuilder
impl Send for OidcOptionsBuilder
impl Sync for OidcOptionsBuilder
impl Unpin for OidcOptionsBuilder
impl UnwindSafe for OidcOptionsBuilder
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
Mutably borrows from an owned value. Read more
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)
🔬This is a nightly-only experimental API. (
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.