Interface AuthorizationCodeGrantCredentialsDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AuthorizationCodeGrantCredentialsDetails.Builder,
,AuthorizationCodeGrantCredentialsDetails> SdkBuilder<AuthorizationCodeGrantCredentialsDetails.Builder,
,AuthorizationCodeGrantCredentialsDetails> SdkPojo
- Enclosing class:
AuthorizationCodeGrantCredentialsDetails
@Mutable
@NotThreadSafe
public static interface AuthorizationCodeGrantCredentialsDetails.Builder
extends SdkPojo, CopyableBuilder<AuthorizationCodeGrantCredentialsDetails.Builder,AuthorizationCodeGrantCredentialsDetails>
-
Method Summary
Modifier and TypeMethodDescriptionauthorizationCodeGrantDetails
(Consumer<AuthorizationCodeGrantDetails.Builder> authorizationCodeGrantDetails) The authorization code grant configuration details.authorizationCodeGrantDetails
(AuthorizationCodeGrantDetails authorizationCodeGrantDetails) The authorization code grant configuration details.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
authorizationCodeGrantDetails
AuthorizationCodeGrantCredentialsDetails.Builder authorizationCodeGrantDetails(AuthorizationCodeGrantDetails authorizationCodeGrantDetails) The authorization code grant configuration details.
- Parameters:
authorizationCodeGrantDetails
- The authorization code grant configuration details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authorizationCodeGrantDetails
default AuthorizationCodeGrantCredentialsDetails.Builder authorizationCodeGrantDetails(Consumer<AuthorizationCodeGrantDetails.Builder> authorizationCodeGrantDetails) The authorization code grant configuration details.
This is a convenience method that creates an instance of theAuthorizationCodeGrantDetails.Builder
avoiding the need to create one manually viaAuthorizationCodeGrantDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toauthorizationCodeGrantDetails(AuthorizationCodeGrantDetails)
.- Parameters:
authorizationCodeGrantDetails
- a consumer that will call methods onAuthorizationCodeGrantDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-