Interface ConnectAppAuthorizationRequest.Builder
- All Superinterfaces:
AppFabricRequest.Builder
,AwsRequest.Builder
,Buildable
,CopyableBuilder<ConnectAppAuthorizationRequest.Builder,
,ConnectAppAuthorizationRequest> SdkBuilder<ConnectAppAuthorizationRequest.Builder,
,ConnectAppAuthorizationRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ConnectAppAuthorizationRequest
-
Method Summary
Modifier and TypeMethodDescriptionappAuthorizationIdentifier
(String appAuthorizationIdentifier) The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app authorization to use for the request.appBundleIdentifier
(String appBundleIdentifier) The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle that contains the app authorization to use for the request.authRequest
(Consumer<AuthRequest.Builder> authRequest) Contains OAuth2 authorization information.authRequest
(AuthRequest authRequest) Contains OAuth2 authorization information.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.services.appfabric.model.AppFabricRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
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
-
Method Details
-
appBundleIdentifier
The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle that contains the app authorization to use for the request.
- Parameters:
appBundleIdentifier
- The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle that contains the app authorization to use for the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
appAuthorizationIdentifier
ConnectAppAuthorizationRequest.Builder appAuthorizationIdentifier(String appAuthorizationIdentifier) The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app authorization to use for the request.
- Parameters:
appAuthorizationIdentifier
- The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app authorization to use for the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authRequest
Contains OAuth2 authorization information.
This is required if the app authorization for the request is configured with an OAuth2 (
oauth2
) authorization type.- Parameters:
authRequest
- Contains OAuth2 authorization information.This is required if the app authorization for the request is configured with an OAuth2 (
oauth2
) authorization type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authRequest
default ConnectAppAuthorizationRequest.Builder authRequest(Consumer<AuthRequest.Builder> authRequest) Contains OAuth2 authorization information.
This is required if the app authorization for the request is configured with an OAuth2 (
This is a convenience method that creates an instance of theoauth2
) authorization type.AuthRequest.Builder
avoiding the need to create one manually viaAuthRequest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toauthRequest(AuthRequest)
.- Parameters:
authRequest
- a consumer that will call methods onAuthRequest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
ConnectAppAuthorizationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ConnectAppAuthorizationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-