Interface ReadAuthorizationCodeGrantMetadata.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ReadAuthorizationCodeGrantMetadata.Builder,,ReadAuthorizationCodeGrantMetadata> SdkBuilder<ReadAuthorizationCodeGrantMetadata.Builder,,ReadAuthorizationCodeGrantMetadata> SdkPojo
- Enclosing class:
ReadAuthorizationCodeGrantMetadata
@Mutable
@NotThreadSafe
public static interface ReadAuthorizationCodeGrantMetadata.Builder
extends SdkPojo, CopyableBuilder<ReadAuthorizationCodeGrantMetadata.Builder,ReadAuthorizationCodeGrantMetadata>
-
Method Summary
Modifier and TypeMethodDescriptionauthorizationCodeGrantCredentialsSource(String authorizationCodeGrantCredentialsSource) The source of credentials for the authorization code grant flow.authorizationCodeGrantCredentialsSource(AuthorizationCodeGrantCredentialsSource authorizationCodeGrantCredentialsSource) The source of credentials for the authorization code grant flow.baseEndpoint(String baseEndpoint) The base endpoint URL for the OAuth2 authorization code grant flow.readAuthorizationCodeGrantCredentialsDetails(Consumer<ReadAuthorizationCodeGrantCredentialsDetails.Builder> readAuthorizationCodeGrantCredentialsDetails) The read-only credentials details for the authorization code grant flow.readAuthorizationCodeGrantCredentialsDetails(ReadAuthorizationCodeGrantCredentialsDetails readAuthorizationCodeGrantCredentialsDetails) The read-only credentials details for the authorization code grant flow.redirectUrl(String redirectUrl) The redirect URL where the authorization server will send the user after authorization.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
-
baseEndpoint
The base endpoint URL for the OAuth2 authorization code grant flow.
- Parameters:
baseEndpoint- The base endpoint URL for the OAuth2 authorization code grant flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
redirectUrl
The redirect URL where the authorization server will send the user after authorization.
- Parameters:
redirectUrl- The redirect URL where the authorization server will send the user after authorization.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
readAuthorizationCodeGrantCredentialsDetails
ReadAuthorizationCodeGrantMetadata.Builder readAuthorizationCodeGrantCredentialsDetails(ReadAuthorizationCodeGrantCredentialsDetails readAuthorizationCodeGrantCredentialsDetails) The read-only credentials details for the authorization code grant flow.
- Parameters:
readAuthorizationCodeGrantCredentialsDetails- The read-only credentials details for the authorization code grant flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
readAuthorizationCodeGrantCredentialsDetails
default ReadAuthorizationCodeGrantMetadata.Builder readAuthorizationCodeGrantCredentialsDetails(Consumer<ReadAuthorizationCodeGrantCredentialsDetails.Builder> readAuthorizationCodeGrantCredentialsDetails) The read-only credentials details for the authorization code grant flow.
This is a convenience method that creates an instance of theReadAuthorizationCodeGrantCredentialsDetails.Builderavoiding the need to create one manually viaReadAuthorizationCodeGrantCredentialsDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toreadAuthorizationCodeGrantCredentialsDetails(ReadAuthorizationCodeGrantCredentialsDetails).- Parameters:
readAuthorizationCodeGrantCredentialsDetails- a consumer that will call methods onReadAuthorizationCodeGrantCredentialsDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
authorizationCodeGrantCredentialsSource
ReadAuthorizationCodeGrantMetadata.Builder authorizationCodeGrantCredentialsSource(String authorizationCodeGrantCredentialsSource) The source of credentials for the authorization code grant flow.
- Parameters:
authorizationCodeGrantCredentialsSource- The source of credentials for the authorization code grant flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
authorizationCodeGrantCredentialsSource
ReadAuthorizationCodeGrantMetadata.Builder authorizationCodeGrantCredentialsSource(AuthorizationCodeGrantCredentialsSource authorizationCodeGrantCredentialsSource) The source of credentials for the authorization code grant flow.
- Parameters:
authorizationCodeGrantCredentialsSource- The source of credentials for the authorization code grant flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-