Interface OriginIdentity.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<OriginIdentity.Builder,,OriginIdentity> SdkBuilder<OriginIdentity.Builder,,OriginIdentity> SdkPojo
- Enclosing class:
OriginIdentity
@Mutable
@NotThreadSafe
public static interface OriginIdentity.Builder
extends SdkPojo, CopyableBuilder<OriginIdentity.Builder,OriginIdentity>
-
Method Summary
Modifier and TypeMethodDescriptionfederatedProviderArn(String federatedProviderArn) The value of theaws:OriginIdentity/FederatedProviderArnkey: the ARN of the IAM identity provider that the request federated through.The value of theaws:OriginIdentity/Issuerkey.The value of theaws:OriginIdentity/Subjectkey: the end user's identifier, taken from the token claim that the context provider maps as the subject.subjectType(String subjectType) The value of theaws:OriginIdentity/SubjectTypekey, which indicates whether the end user is a person (user) or a non-human caller such as an application or service (workload).Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
subject
The value of the
aws:OriginIdentity/Subjectkey: the end user's identifier, taken from the token claim that the context provider maps as the subject.- Parameters:
subject- The value of theaws:OriginIdentity/Subjectkey: the end user's identifier, taken from the token claim that the context provider maps as the subject.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subjectType
The value of the
aws:OriginIdentity/SubjectTypekey, which indicates whether the end user is a person (user) or a non-human caller such as an application or service (workload).- Parameters:
subjectType- The value of theaws:OriginIdentity/SubjectTypekey, which indicates whether the end user is a person (user) or a non-human caller such as an application or service (workload).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
issuer
The value of the
aws:OriginIdentity/Issuerkey. ForAssumeRoleWithWebIdentity, this is theissclaim of the token without thehttps://prefix. ForAssumeRoleWithSAML, this is a hash of the key that signed the SAML assertion, not theIssuerelement of the assertion.- Parameters:
issuer- The value of theaws:OriginIdentity/Issuerkey. ForAssumeRoleWithWebIdentity, this is theissclaim of the token without thehttps://prefix. ForAssumeRoleWithSAML, this is a hash of the key that signed the SAML assertion, not theIssuerelement of the assertion.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
federatedProviderArn
The value of the
aws:OriginIdentity/FederatedProviderArnkey: the ARN of the IAM identity provider that the request federated through.- Parameters:
federatedProviderArn- The value of theaws:OriginIdentity/FederatedProviderArnkey: the ARN of the IAM identity provider that the request federated through.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-