Interface StartOAuthSessionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<StartOAuthSessionResponse.Builder,,StartOAuthSessionResponse> CredentialBrokerResponse.Builder,SdkBuilder<StartOAuthSessionResponse.Builder,,StartOAuthSessionResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
StartOAuthSessionResponse
@Mutable
@NotThreadSafe
public static interface StartOAuthSessionResponse.Builder
extends CredentialBrokerResponse.Builder, SdkPojo, CopyableBuilder<StartOAuthSessionResponse.Builder,StartOAuthSessionResponse>
-
Method Summary
Modifier and TypeMethodDescriptionaccessToken(String accessToken) Present only when a valid token already existed (no consent needed).authorizationUrl(String authorizationUrl) The URL to send the end user's browser to so they can grant consent.Expiry of accessToken when returned.sessionStatus(String sessionStatus) Status of the session (IN_PROGRESS when consent is required).sessionStatus(SessionStatus sessionStatus) Status of the session (IN_PROGRESS when consent is required).sessionUri(String sessionUri) Opaque handle to the pending consent session.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.credentialbroker.model.CredentialBrokerResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
authorizationUrl
The URL to send the end user's browser to so they can grant consent. Present only when consent is required; absent when a token was available and is returned instead.
- Parameters:
authorizationUrl- The URL to send the end user's browser to so they can grant consent. Present only when consent is required; absent when a token was available and is returned instead.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionUri
Opaque handle to the pending consent session. Present only when interactive consent is required (absent when accessToken is returned).
- Parameters:
sessionUri- Opaque handle to the pending consent session. Present only when interactive consent is required (absent when accessToken is returned).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionStatus
Status of the session (IN_PROGRESS when consent is required).
- Parameters:
sessionStatus- Status of the session (IN_PROGRESS when consent is required).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sessionStatus
Status of the session (IN_PROGRESS when consent is required).
- Parameters:
sessionStatus- Status of the session (IN_PROGRESS when consent is required).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
accessToken
Present only when a valid token already existed (no consent needed).
- Parameters:
accessToken- Present only when a valid token already existed (no consent needed).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expiresAt
Expiry of accessToken when returned.
- Parameters:
expiresAt- Expiry of accessToken when returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-