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) OAuth2 token ready for useauthorizationUrl
(String authorizationUrl) The URL for the authorization process, provided if 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 for the authorization process, provided if the Access token requires user Authorization.
- Parameters:
authorizationUrl
- The URL for the authorization process, provided if the Access token requires user Authorization.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessToken
OAuth2 token ready for use
- Parameters:
accessToken
- OAuth2 token ready for use- Returns:
- Returns a reference to this object so that method calls can be chained together.
-