Interface GetResourceOauth2TokenResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BedrockAgentCoreResponse.Builder
,Buildable
,CopyableBuilder<GetResourceOauth2TokenResponse.Builder,
,GetResourceOauth2TokenResponse> SdkBuilder<GetResourceOauth2TokenResponse.Builder,
,GetResourceOauth2TokenResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetResourceOauth2TokenResponse
@Mutable
@NotThreadSafe
public static interface GetResourceOauth2TokenResponse.Builder
extends BedrockAgentCoreResponse.Builder, SdkPojo, CopyableBuilder<GetResourceOauth2TokenResponse.Builder,GetResourceOauth2TokenResponse>
-
Method Summary
Modifier and TypeMethodDescriptionaccessToken
(String accessToken) The OAuth 2.0 access token to use.authorizationUrl
(String authorizationUrl) The URL to initiate the authorization process, provided when the access token requires user authorization.sessionStatus
(String sessionStatus) Status indicating whether the user's authorization session is in progress or has failed.sessionStatus
(SessionStatus sessionStatus) Status indicating whether the user's authorization session is in progress or has failed.sessionUri
(String sessionUri) Unique identifier for the user's authorization session for retrieving OAuth2 tokens.Methods inherited from interface software.amazon.awssdk.services.bedrockagentcore.model.BedrockAgentCoreResponse.Builder
build, responseMetadata, responseMetadata
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
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
authorizationUrl
The URL to initiate the authorization process, provided when the access token requires user authorization.
- Parameters:
authorizationUrl
- The URL to initiate the authorization process, provided when the access token requires user authorization.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessToken
The OAuth 2.0 access token to use.
- Parameters:
accessToken
- The OAuth 2.0 access token to use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionUri
Unique identifier for the user's authorization session for retrieving OAuth2 tokens. This matches the sessionId from the request and can be used to track the session state.
- Parameters:
sessionUri
- Unique identifier for the user's authorization session for retrieving OAuth2 tokens. This matches the sessionId from the request and can be used to track the session state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionStatus
Status indicating whether the user's authorization session is in progress or has failed. This helps determine the next steps in the OAuth2 authentication flow.
- Parameters:
sessionStatus
- Status indicating whether the user's authorization session is in progress or has failed. This helps determine the next steps in the OAuth2 authentication flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sessionStatus
Status indicating whether the user's authorization session is in progress or has failed. This helps determine the next steps in the OAuth2 authentication flow.
- Parameters:
sessionStatus
- Status indicating whether the user's authorization session is in progress or has failed. This helps determine the next steps in the OAuth2 authentication flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-