Interface TokenExchangeRequesterConfigurationInput.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TokenExchangeRequesterConfigurationInput.Builder,,TokenExchangeRequesterConfigurationInput> SdkBuilder<TokenExchangeRequesterConfigurationInput.Builder,,TokenExchangeRequesterConfigurationInput> SdkPojo
- Enclosing class:
TokenExchangeRequesterConfigurationInput
@Mutable
@NotThreadSafe
public static interface TokenExchangeRequesterConfigurationInput.Builder
extends SdkPojo, CopyableBuilder<TokenExchangeRequesterConfigurationInput.Builder,TokenExchangeRequesterConfigurationInput>
-
Method Summary
Modifier and TypeMethodDescriptionnoClient(Consumer<Unit.Builder> noClient) Send no client credentials on the exchange request.Send no client credentials on the exchange request.requesterClientAuthenticationConfiguration(Consumer<ClientAuthenticationConfigurationInput.Builder> requesterClientAuthenticationConfiguration) Authenticate the exchange request with these client credentials.requesterClientAuthenticationConfiguration(ClientAuthenticationConfigurationInput requesterClientAuthenticationConfiguration) Authenticate the exchange request with these client credentials.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
-
requesterClientAuthenticationConfiguration
TokenExchangeRequesterConfigurationInput.Builder requesterClientAuthenticationConfiguration(ClientAuthenticationConfigurationInput requesterClientAuthenticationConfiguration) Authenticate the exchange request with these client credentials.
- Parameters:
requesterClientAuthenticationConfiguration- Authenticate the exchange request with these client credentials.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requesterClientAuthenticationConfiguration
default TokenExchangeRequesterConfigurationInput.Builder requesterClientAuthenticationConfiguration(Consumer<ClientAuthenticationConfigurationInput.Builder> requesterClientAuthenticationConfiguration) Authenticate the exchange request with these client credentials.
This is a convenience method that creates an instance of theClientAuthenticationConfigurationInput.Builderavoiding the need to create one manually viaClientAuthenticationConfigurationInput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torequesterClientAuthenticationConfiguration(ClientAuthenticationConfigurationInput).- Parameters:
requesterClientAuthenticationConfiguration- a consumer that will call methods onClientAuthenticationConfigurationInput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
noClient
Send no client credentials on the exchange request. Takes no parameters.
- Parameters:
noClient- Send no client credentials on the exchange request. Takes no parameters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
noClient
Send no client credentials on the exchange request. Takes no parameters.
This is a convenience method that creates an instance of theUnit.Builderavoiding the need to create one manually viaUnit.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonoClient(Unit).- Parameters:
noClient- a consumer that will call methods onUnit.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-