Interface TrustedIdentityPropagationContext.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TrustedIdentityPropagationContext.Builder,,TrustedIdentityPropagationContext> SdkBuilder<TrustedIdentityPropagationContext.Builder,,TrustedIdentityPropagationContext> SdkPojo
- Enclosing class:
TrustedIdentityPropagationContext
@Mutable
@NotThreadSafe
public static interface TrustedIdentityPropagationContext.Builder
extends SdkPojo, CopyableBuilder<TrustedIdentityPropagationContext.Builder,TrustedIdentityPropagationContext>
-
Method Summary
Modifier and TypeMethodDescriptionoriginIdentity(Consumer<OriginIdentity.Builder> originIdentity) The identity of the end user on whose behalf the session acts.originIdentity(OriginIdentity originIdentity) The identity of the end user on whose behalf the session acts.transactionContext(Consumer<TransactionContext.Builder> transactionContext) Additional claims about the request that the identity provider asserted.transactionContext(TransactionContext transactionContext) Additional claims about the request that the identity provider asserted.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
-
originIdentity
The identity of the end user on whose behalf the session acts.
- Parameters:
originIdentity- The identity of the end user on whose behalf the session acts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
originIdentity
default TrustedIdentityPropagationContext.Builder originIdentity(Consumer<OriginIdentity.Builder> originIdentity) The identity of the end user on whose behalf the session acts.
This is a convenience method that creates an instance of theOriginIdentity.Builderavoiding the need to create one manually viaOriginIdentity.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooriginIdentity(OriginIdentity).- Parameters:
originIdentity- a consumer that will call methods onOriginIdentity.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
transactionContext
Additional claims about the request that the identity provider asserted.
- Parameters:
transactionContext- Additional claims about the request that the identity provider asserted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transactionContext
default TrustedIdentityPropagationContext.Builder transactionContext(Consumer<TransactionContext.Builder> transactionContext) Additional claims about the request that the identity provider asserted.
This is a convenience method that creates an instance of theTransactionContext.Builderavoiding the need to create one manually viaTransactionContext.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totransactionContext(TransactionContext).- Parameters:
transactionContext- a consumer that will call methods onTransactionContext.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-