Interface StartOAuthSessionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<StartOAuthSessionRequest.Builder,,StartOAuthSessionRequest> CredentialBrokerRequest.Builder,SdkBuilder<StartOAuthSessionRequest.Builder,,StartOAuthSessionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
StartOAuthSessionRequest
-
Method Summary
Modifier and TypeMethodDescriptionAudience values (RFC 8693) naming the intended recipients of this token.audiences(Collection<String> audiences) Audience values (RFC 8693) naming the intended recipients of this token.credentialProviderArn(String credentialProviderArn) Amazon Resource Name of the credential provider the user is granting consent for.customParameters(Map<String, String> customParameters) Extra parameters to include in the request to the authorization server, for vendor extensions.customState(String customState) An opaque string of your own that is sent back to your session-binding URL unchanged.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Resource indicators (RFC 8707) naming the APIs this token is for.resources(Collection<String> resources) Resource indicators (RFC 8707) naming the APIs this token is for.The OAuth scopes to request from the authorization server.scopes(Collection<String> scopes) The OAuth scopes to request from the authorization server.sessionBindingUrl(String sessionBindingUrl) The URL the end user's browser is returned to once they have responded to the consent prompt.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.credentialbroker.model.CredentialBrokerRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
credentialProviderArn
Amazon Resource Name of the credential provider the user is granting consent for.
- Parameters:
credentialProviderArn- Amazon Resource Name of the credential provider the user is granting consent for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scopes
The OAuth scopes to request from the authorization server.
- Parameters:
scopes- The OAuth scopes to request from the authorization server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scopes
The OAuth scopes to request from the authorization server.
- Parameters:
scopes- The OAuth scopes to request from the authorization server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionBindingUrl
The URL the end user's browser is returned to once they have responded to the consent prompt. Must match one of the session-binding URLs allowed on the provider.
- Parameters:
sessionBindingUrl- The URL the end user's browser is returned to once they have responded to the consent prompt. Must match one of the session-binding URLs allowed on the provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
Resource indicators (RFC 8707) naming the APIs this token is for. Omit unless the authorization server requires them.
- Parameters:
resources- Resource indicators (RFC 8707) naming the APIs this token is for. Omit unless the authorization server requires them.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
Resource indicators (RFC 8707) naming the APIs this token is for. Omit unless the authorization server requires them.
- Parameters:
resources- Resource indicators (RFC 8707) naming the APIs this token is for. Omit unless the authorization server requires them.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
audiences
Audience values (RFC 8693) naming the intended recipients of this token. Omit unless the authorization server requires them.
- Parameters:
audiences- Audience values (RFC 8693) naming the intended recipients of this token. Omit unless the authorization server requires them.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
audiences
Audience values (RFC 8693) naming the intended recipients of this token. Omit unless the authorization server requires them.
- Parameters:
audiences- Audience values (RFC 8693) naming the intended recipients of this token. Omit unless the authorization server requires them.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customParameters
Extra parameters to include in the request to the authorization server, for vendor extensions. Added to the standard OAuth parameters; they never override them.
- Parameters:
customParameters- Extra parameters to include in the request to the authorization server, for vendor extensions. Added to the standard OAuth parameters; they never override them.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customState
An opaque string of your own that is sent back to your session-binding URL unchanged. Use it to tie the response to the request you issued, so your handler can reject a response it did not initiate.
- Parameters:
customState- An opaque string of your own that is sent back to your session-binding URL unchanged. Use it to tie the response to the request you issued, so your handler can reject a response it did not initiate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
StartOAuthSessionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
StartOAuthSessionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-