Interface OnBehalfOfTokenExchangeConfigurationOutput.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<OnBehalfOfTokenExchangeConfigurationOutput.Builder,,OnBehalfOfTokenExchangeConfigurationOutput> SdkBuilder<OnBehalfOfTokenExchangeConfigurationOutput.Builder,,OnBehalfOfTokenExchangeConfigurationOutput> SdkPojo
- Enclosing class:
OnBehalfOfTokenExchangeConfigurationOutput
-
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<TokenExchangeActorConfigurationOutput.Builder> tokenExchangeActorConfiguration) The actor presented alongside the subject in a token exchange, the party acting on the user's behalf.tokenExchangeActorConfiguration(TokenExchangeActorConfigurationOutput tokenExchangeActorConfiguration) The actor presented alongside the subject in a token exchange, the party acting on the user's behalf.tokenExchangeRequesterConfiguration(Consumer<TokenExchangeRequesterConfigurationOutput.Builder> tokenExchangeRequesterConfiguration) How the provider authenticates to the authorization server when making the token exchange request.tokenExchangeRequesterConfiguration(TokenExchangeRequesterConfigurationOutput 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
OnBehalfOfTokenExchangeConfigurationOutput.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 OnBehalfOfTokenExchangeConfigurationOutput.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
OnBehalfOfTokenExchangeConfigurationOutput.Builder tokenExchangeActorConfiguration(TokenExchangeActorConfigurationOutput 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 OnBehalfOfTokenExchangeConfigurationOutput.Builder tokenExchangeActorConfiguration(Consumer<TokenExchangeActorConfigurationOutput.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 theTokenExchangeActorConfigurationOutput.Builderavoiding the need to create one manually viaTokenExchangeActorConfigurationOutput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totokenExchangeActorConfiguration(TokenExchangeActorConfigurationOutput).- Parameters:
tokenExchangeActorConfiguration- a consumer that will call methods onTokenExchangeActorConfigurationOutput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tokenExchangeRequesterConfiguration
OnBehalfOfTokenExchangeConfigurationOutput.Builder tokenExchangeRequesterConfiguration(TokenExchangeRequesterConfigurationOutput 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 OnBehalfOfTokenExchangeConfigurationOutput.Builder tokenExchangeRequesterConfiguration(Consumer<TokenExchangeRequesterConfigurationOutput.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 theTokenExchangeRequesterConfigurationOutput.Builderavoiding the need to create one manually viaTokenExchangeRequesterConfigurationOutput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totokenExchangeRequesterConfiguration(TokenExchangeRequesterConfigurationOutput).- Parameters:
tokenExchangeRequesterConfiguration- a consumer that will call methods onTokenExchangeRequesterConfigurationOutput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-