Interface OnBehalfOfTokenExchangeConfigurationInput.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<OnBehalfOfTokenExchangeConfigurationInput.Builder,,OnBehalfOfTokenExchangeConfigurationInput> SdkBuilder<OnBehalfOfTokenExchangeConfigurationInput.Builder,,OnBehalfOfTokenExchangeConfigurationInput> SdkPojo
- Enclosing class:
OnBehalfOfTokenExchangeConfigurationInput
-
Method Summary
Modifier and TypeMethodDescriptionsubjectTokenSource(Consumer<SubjectTokenSourceConfiguration.Builder> subjectTokenSource) Where an on-behalf-of token exchange gets the subject token.subjectTokenSource(SubjectTokenSourceConfiguration subjectTokenSource) Where an on-behalf-of token exchange gets the subject token.tokenExchangeActorConfiguration(Consumer<TokenExchangeActorConfigurationInput.Builder> tokenExchangeActorConfiguration) The actor presented alongside the subject in a token exchange, the party acting on the user's behalf.tokenExchangeActorConfiguration(TokenExchangeActorConfigurationInput tokenExchangeActorConfiguration) The actor presented alongside the subject in a token exchange, the party acting on the user's behalf.tokenExchangeRequesterConfiguration(Consumer<TokenExchangeRequesterConfigurationInput.Builder> tokenExchangeRequesterConfiguration) How the provider authenticates to the authorization server when making the token exchange request.tokenExchangeRequesterConfiguration(TokenExchangeRequesterConfigurationInput tokenExchangeRequesterConfiguration) How the provider authenticates to the authorization server when making the token exchange request.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
-
subjectTokenSource
OnBehalfOfTokenExchangeConfigurationInput.Builder subjectTokenSource(SubjectTokenSourceConfiguration subjectTokenSource) Where an on-behalf-of token exchange gets the subject token. The token identifying the user the exchanged token will represent. Set exactly one member.
- Parameters:
subjectTokenSource- Where an on-behalf-of token exchange gets the subject token. The token identifying the user the exchanged token will represent. Set exactly one member.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subjectTokenSource
default OnBehalfOfTokenExchangeConfigurationInput.Builder subjectTokenSource(Consumer<SubjectTokenSourceConfiguration.Builder> subjectTokenSource) Where an on-behalf-of token exchange gets the subject token. The token identifying the user the exchanged token will represent. Set exactly one member.
This is a convenience method that creates an instance of theSubjectTokenSourceConfiguration.Builderavoiding the need to create one manually viaSubjectTokenSourceConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosubjectTokenSource(SubjectTokenSourceConfiguration).- Parameters:
subjectTokenSource- a consumer that will call methods onSubjectTokenSourceConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tokenExchangeActorConfiguration
OnBehalfOfTokenExchangeConfigurationInput.Builder tokenExchangeActorConfiguration(TokenExchangeActorConfigurationInput tokenExchangeActorConfiguration) The actor presented alongside the subject in a token exchange, the party acting on the user's behalf. Omit to send no actor token.
- Parameters:
tokenExchangeActorConfiguration- The actor presented alongside the subject in a token exchange, the party acting on the user's behalf. Omit to send no actor token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tokenExchangeActorConfiguration
default OnBehalfOfTokenExchangeConfigurationInput.Builder tokenExchangeActorConfiguration(Consumer<TokenExchangeActorConfigurationInput.Builder> tokenExchangeActorConfiguration) The actor presented alongside the subject in a token exchange, the party acting on the user's behalf. Omit to send no actor token.
This is a convenience method that creates an instance of theTokenExchangeActorConfigurationInput.Builderavoiding the need to create one manually viaTokenExchangeActorConfigurationInput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totokenExchangeActorConfiguration(TokenExchangeActorConfigurationInput).- Parameters:
tokenExchangeActorConfiguration- a consumer that will call methods onTokenExchangeActorConfigurationInput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tokenExchangeRequesterConfiguration
OnBehalfOfTokenExchangeConfigurationInput.Builder tokenExchangeRequesterConfiguration(TokenExchangeRequesterConfigurationInput tokenExchangeRequesterConfiguration) How the provider authenticates to the authorization server when making the token exchange request. Set exactly one member. This is separate from the provider's main client, so an exchange can present a different client than the one used to obtain the subject token.
- Parameters:
tokenExchangeRequesterConfiguration- How the provider authenticates to the authorization server when making the token exchange request. Set exactly one member. This is separate from the provider's main client, so an exchange can present a different client than the one used to obtain the subject token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tokenExchangeRequesterConfiguration
default OnBehalfOfTokenExchangeConfigurationInput.Builder tokenExchangeRequesterConfiguration(Consumer<TokenExchangeRequesterConfigurationInput.Builder> tokenExchangeRequesterConfiguration) How the provider authenticates to the authorization server when making the token exchange request. Set exactly one member. This is separate from the provider's main client, so an exchange can present a different client than the one used to obtain the subject token.
This is a convenience method that creates an instance of theTokenExchangeRequesterConfigurationInput.Builderavoiding the need to create one manually viaTokenExchangeRequesterConfigurationInput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totokenExchangeRequesterConfiguration(TokenExchangeRequesterConfigurationInput).- Parameters:
tokenExchangeRequesterConfiguration- a consumer that will call methods onTokenExchangeRequesterConfigurationInput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-