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.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.
-