#[non_exhaustive]pub struct OriginIdentityBuilder { /* private fields */ }Expand description
A builder for OriginIdentity.
Implementations§
Source§impl OriginIdentityBuilder
impl OriginIdentityBuilder
Sourcepub fn subject(self, input: impl Into<String>) -> Self
pub fn subject(self, input: impl Into<String>) -> Self
The value of the aws:OriginIdentity/Subject key: the end user's identifier, taken from the token claim that the context provider maps as the subject.
Sourcepub fn set_subject(self, input: Option<String>) -> Self
pub fn set_subject(self, input: Option<String>) -> Self
The value of the aws:OriginIdentity/Subject key: the end user's identifier, taken from the token claim that the context provider maps as the subject.
Sourcepub fn get_subject(&self) -> &Option<String>
pub fn get_subject(&self) -> &Option<String>
The value of the aws:OriginIdentity/Subject key: the end user's identifier, taken from the token claim that the context provider maps as the subject.
Sourcepub fn subject_type(self, input: impl Into<String>) -> Self
pub fn subject_type(self, input: impl Into<String>) -> Self
The value of the aws:OriginIdentity/SubjectType key, which indicates whether the end user is a person (user) or a non-human caller such as an application or service (workload).
Sourcepub fn set_subject_type(self, input: Option<String>) -> Self
pub fn set_subject_type(self, input: Option<String>) -> Self
The value of the aws:OriginIdentity/SubjectType key, which indicates whether the end user is a person (user) or a non-human caller such as an application or service (workload).
Sourcepub fn get_subject_type(&self) -> &Option<String>
pub fn get_subject_type(&self) -> &Option<String>
The value of the aws:OriginIdentity/SubjectType key, which indicates whether the end user is a person (user) or a non-human caller such as an application or service (workload).
Sourcepub fn issuer(self, input: impl Into<String>) -> Self
pub fn issuer(self, input: impl Into<String>) -> Self
The value of the aws:OriginIdentity/Issuer key. For AssumeRoleWithWebIdentity, this is the iss claim of the token without the https:// prefix. For AssumeRoleWithSAML, this is a hash of the key that signed the SAML assertion, not the Issuer element of the assertion.
Sourcepub fn set_issuer(self, input: Option<String>) -> Self
pub fn set_issuer(self, input: Option<String>) -> Self
The value of the aws:OriginIdentity/Issuer key. For AssumeRoleWithWebIdentity, this is the iss claim of the token without the https:// prefix. For AssumeRoleWithSAML, this is a hash of the key that signed the SAML assertion, not the Issuer element of the assertion.
Sourcepub fn get_issuer(&self) -> &Option<String>
pub fn get_issuer(&self) -> &Option<String>
The value of the aws:OriginIdentity/Issuer key. For AssumeRoleWithWebIdentity, this is the iss claim of the token without the https:// prefix. For AssumeRoleWithSAML, this is a hash of the key that signed the SAML assertion, not the Issuer element of the assertion.
Sourcepub fn federated_provider_arn(self, input: impl Into<String>) -> Self
pub fn federated_provider_arn(self, input: impl Into<String>) -> Self
The value of the aws:OriginIdentity/FederatedProviderArn key: the ARN of the IAM identity provider that the request federated through.
Sourcepub fn set_federated_provider_arn(self, input: Option<String>) -> Self
pub fn set_federated_provider_arn(self, input: Option<String>) -> Self
The value of the aws:OriginIdentity/FederatedProviderArn key: the ARN of the IAM identity provider that the request federated through.
Sourcepub fn get_federated_provider_arn(&self) -> &Option<String>
pub fn get_federated_provider_arn(&self) -> &Option<String>
The value of the aws:OriginIdentity/FederatedProviderArn key: the ARN of the IAM identity provider that the request federated through.
Sourcepub fn build(self) -> OriginIdentity
pub fn build(self) -> OriginIdentity
Consumes the builder and constructs a OriginIdentity.
Trait Implementations§
Source§impl Clone for OriginIdentityBuilder
impl Clone for OriginIdentityBuilder
Source§fn clone(&self) -> OriginIdentityBuilder
fn clone(&self) -> OriginIdentityBuilder
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for OriginIdentityBuilder
impl Debug for OriginIdentityBuilder
Source§impl Default for OriginIdentityBuilder
impl Default for OriginIdentityBuilder
Source§fn default() -> OriginIdentityBuilder
fn default() -> OriginIdentityBuilder
Source§impl PartialEq for OriginIdentityBuilder
impl PartialEq for OriginIdentityBuilder
impl StructuralPartialEq for OriginIdentityBuilder
Auto Trait Implementations§
impl Freeze for OriginIdentityBuilder
impl RefUnwindSafe for OriginIdentityBuilder
impl Send for OriginIdentityBuilder
impl Sync for OriginIdentityBuilder
impl Unpin for OriginIdentityBuilder
impl UnsafeUnpin for OriginIdentityBuilder
impl UnwindSafe for OriginIdentityBuilder
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§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