Interface AuthorizationCodeGrantMetadata.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AuthorizationCodeGrantMetadata.Builder,
,AuthorizationCodeGrantMetadata> SdkBuilder<AuthorizationCodeGrantMetadata.Builder,
,AuthorizationCodeGrantMetadata> SdkPojo
- Enclosing class:
AuthorizationCodeGrantMetadata
@Mutable
@NotThreadSafe
public static interface AuthorizationCodeGrantMetadata.Builder
extends SdkPojo, CopyableBuilder<AuthorizationCodeGrantMetadata.Builder,AuthorizationCodeGrantMetadata>
-
Method Summary
Modifier and TypeMethodDescriptionauthorizationCodeGrantCredentialsDetails
(Consumer<AuthorizationCodeGrantCredentialsDetails.Builder> authorizationCodeGrantCredentialsDetails) The detailed credentials configuration for authorization code grant.authorizationCodeGrantCredentialsDetails
(AuthorizationCodeGrantCredentialsDetails authorizationCodeGrantCredentialsDetails) The detailed credentials configuration for authorization code grant.authorizationCodeGrantCredentialsSource
(String authorizationCodeGrantCredentialsSource) The source of the authorization code grant credentials.authorizationCodeGrantCredentialsSource
(AuthorizationCodeGrantCredentialsSource authorizationCodeGrantCredentialsSource) The source of the authorization code grant credentials.baseEndpoint
(String baseEndpoint) The base URL endpoint for the external service.redirectUrl
(String redirectUrl) The redirect URL for the OAuth authorization flow.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
-
baseEndpoint
The base URL endpoint for the external service.
- Parameters:
baseEndpoint
- The base URL endpoint for the external service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
redirectUrl
The redirect URL for the OAuth authorization flow.
- Parameters:
redirectUrl
- The redirect URL for the OAuth authorization flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authorizationCodeGrantCredentialsSource
AuthorizationCodeGrantMetadata.Builder authorizationCodeGrantCredentialsSource(String authorizationCodeGrantCredentialsSource) The source of the authorization code grant credentials.
- Parameters:
authorizationCodeGrantCredentialsSource
- The source of the authorization code grant credentials.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
authorizationCodeGrantCredentialsSource
AuthorizationCodeGrantMetadata.Builder authorizationCodeGrantCredentialsSource(AuthorizationCodeGrantCredentialsSource authorizationCodeGrantCredentialsSource) The source of the authorization code grant credentials.
- Parameters:
authorizationCodeGrantCredentialsSource
- The source of the authorization code grant credentials.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
authorizationCodeGrantCredentialsDetails
AuthorizationCodeGrantMetadata.Builder authorizationCodeGrantCredentialsDetails(AuthorizationCodeGrantCredentialsDetails authorizationCodeGrantCredentialsDetails) The detailed credentials configuration for authorization code grant.
- Parameters:
authorizationCodeGrantCredentialsDetails
- The detailed credentials configuration for authorization code grant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authorizationCodeGrantCredentialsDetails
default AuthorizationCodeGrantMetadata.Builder authorizationCodeGrantCredentialsDetails(Consumer<AuthorizationCodeGrantCredentialsDetails.Builder> authorizationCodeGrantCredentialsDetails) The detailed credentials configuration for authorization code grant.
This is a convenience method that creates an instance of theAuthorizationCodeGrantCredentialsDetails.Builder
avoiding the need to create one manually viaAuthorizationCodeGrantCredentialsDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toauthorizationCodeGrantCredentialsDetails(AuthorizationCodeGrantCredentialsDetails)
.- Parameters:
authorizationCodeGrantCredentialsDetails
- a consumer that will call methods onAuthorizationCodeGrantCredentialsDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-