Class ApiGatewayManagementApiClientFactory
java.lang.Object
io.micronaut.aws.sdk.v2.service.AwsClientFactory<software.amazon.awssdk.services.apigatewaymanagementapi.ApiGatewayManagementApiClientBuilder,software.amazon.awssdk.services.apigatewaymanagementapi.ApiGatewayManagementApiAsyncClientBuilder,software.amazon.awssdk.services.apigatewaymanagementapi.ApiGatewayManagementApiClient,software.amazon.awssdk.services.apigatewaymanagementapi.ApiGatewayManagementApiAsyncClient>
io.micronaut.aws.sdk.v2.service.gatewaymanagement.ApiGatewayManagementApiClientFactory
@Factory
public class ApiGatewayManagementApiClientFactory
extends AwsClientFactory<software.amazon.awssdk.services.apigatewaymanagementapi.ApiGatewayManagementApiClientBuilder,software.amazon.awssdk.services.apigatewaymanagementapi.ApiGatewayManagementApiAsyncClientBuilder,software.amazon.awssdk.services.apigatewaymanagementapi.ApiGatewayManagementApiClient,software.amazon.awssdk.services.apigatewaymanagementapi.ApiGatewayManagementApiAsyncClient>
Factory that creates an Api Gateway client.
- Since:
- 3.5.2
- Author:
- Sergio del Amo
-
Field Summary
Fields inherited from class io.micronaut.aws.sdk.v2.service.AwsClientFactory
configuration, credentialsProvider, regionProvider, userAgentProvider
-
Constructor Summary
ModifierConstructorDescriptionprotected
ApiGatewayManagementApiClientFactory
(software.amazon.awssdk.auth.credentials.AwsCredentialsProviderChain credentialsProvider, software.amazon.awssdk.regions.providers.AwsRegionProviderChain regionProvider, @Nullable UserAgentProvider userAgentProvider, @Nullable AWSServiceConfiguration awsServiceConfiguration) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionsoftware.amazon.awssdk.services.apigatewaymanagementapi.ApiGatewayManagementApiAsyncClientBuilder
asyncBuilder
(software.amazon.awssdk.http.async.SdkAsyncHttpClient httpClient) Configures the builder so that it uses the appropriate HTTP client, credentials and region providers.software.amazon.awssdk.services.apigatewaymanagementapi.ApiGatewayManagementApiAsyncClient
asyncClient
(software.amazon.awssdk.services.apigatewaymanagementapi.ApiGatewayManagementApiAsyncClientBuilder builder) Creates the async client.protected software.amazon.awssdk.services.apigatewaymanagementapi.ApiGatewayManagementApiAsyncClientBuilder
Implementations need to create the builder, eg:S3AsyncClient.builder();
.protected software.amazon.awssdk.services.apigatewaymanagementapi.ApiGatewayManagementApiClientBuilder
Implementations need to create the builder, eg:S3Client.builder();
.software.amazon.awssdk.services.apigatewaymanagementapi.ApiGatewayManagementApiClientBuilder
syncBuilder
(software.amazon.awssdk.http.SdkHttpClient httpClient) Configures the builder so that it uses the appropriate HTTP client, credentials and region providers.software.amazon.awssdk.services.apigatewaymanagementapi.ApiGatewayManagementApiClient
syncClient
(software.amazon.awssdk.services.apigatewaymanagementapi.ApiGatewayManagementApiClientBuilder builder) Creates the sync client.
-
Constructor Details
-
ApiGatewayManagementApiClientFactory
protected ApiGatewayManagementApiClientFactory(software.amazon.awssdk.auth.credentials.AwsCredentialsProviderChain credentialsProvider, software.amazon.awssdk.regions.providers.AwsRegionProviderChain regionProvider, @Nullable @Nullable UserAgentProvider userAgentProvider, @Nullable @Named("execute-api") @Nullable AWSServiceConfiguration awsServiceConfiguration) Constructor.- Parameters:
credentialsProvider
- The credentials providerregionProvider
- The region provideruserAgentProvider
- User-Agent ProviderawsServiceConfiguration
- AWS Service Configuration
-
-
Method Details
-
createSyncBuilder
protected software.amazon.awssdk.services.apigatewaymanagementapi.ApiGatewayManagementApiClientBuilder createSyncBuilder()Description copied from class:AwsClientFactory
Implementations need to create the builder, eg:S3Client.builder();
.- Specified by:
createSyncBuilder
in classAwsClientFactory<software.amazon.awssdk.services.apigatewaymanagementapi.ApiGatewayManagementApiClientBuilder,
software.amazon.awssdk.services.apigatewaymanagementapi.ApiGatewayManagementApiAsyncClientBuilder, software.amazon.awssdk.services.apigatewaymanagementapi.ApiGatewayManagementApiClient, software.amazon.awssdk.services.apigatewaymanagementapi.ApiGatewayManagementApiAsyncClient> - Returns:
- The sync builder
-
createAsyncBuilder
protected software.amazon.awssdk.services.apigatewaymanagementapi.ApiGatewayManagementApiAsyncClientBuilder createAsyncBuilder()Description copied from class:AwsClientFactory
Implementations need to create the builder, eg:S3AsyncClient.builder();
.- Specified by:
createAsyncBuilder
in classAwsClientFactory<software.amazon.awssdk.services.apigatewaymanagementapi.ApiGatewayManagementApiClientBuilder,
software.amazon.awssdk.services.apigatewaymanagementapi.ApiGatewayManagementApiAsyncClientBuilder, software.amazon.awssdk.services.apigatewaymanagementapi.ApiGatewayManagementApiClient, software.amazon.awssdk.services.apigatewaymanagementapi.ApiGatewayManagementApiAsyncClient> - Returns:
- The async builder
-
syncBuilder
@Singleton public software.amazon.awssdk.services.apigatewaymanagementapi.ApiGatewayManagementApiClientBuilder syncBuilder(software.amazon.awssdk.http.SdkHttpClient httpClient) Description copied from class:AwsClientFactory
Configures the builder so that it uses the appropriate HTTP client, credentials and region providers. Subclasses may want to override this method and annotate it with@Singleton
.- Overrides:
syncBuilder
in classAwsClientFactory<software.amazon.awssdk.services.apigatewaymanagementapi.ApiGatewayManagementApiClientBuilder,
software.amazon.awssdk.services.apigatewaymanagementapi.ApiGatewayManagementApiAsyncClientBuilder, software.amazon.awssdk.services.apigatewaymanagementapi.ApiGatewayManagementApiClient, software.amazon.awssdk.services.apigatewaymanagementapi.ApiGatewayManagementApiAsyncClient> - Parameters:
httpClient
- The sync HTTP client- Returns:
- The sync builder
-
syncClient
@Bean(preDestroy="close") @Singleton public software.amazon.awssdk.services.apigatewaymanagementapi.ApiGatewayManagementApiClient syncClient(software.amazon.awssdk.services.apigatewaymanagementapi.ApiGatewayManagementApiClientBuilder builder) Description copied from class:AwsClientFactory
Creates the sync client. It requires a bean of typeSB
.- Overrides:
syncClient
in classAwsClientFactory<software.amazon.awssdk.services.apigatewaymanagementapi.ApiGatewayManagementApiClientBuilder,
software.amazon.awssdk.services.apigatewaymanagementapi.ApiGatewayManagementApiAsyncClientBuilder, software.amazon.awssdk.services.apigatewaymanagementapi.ApiGatewayManagementApiClient, software.amazon.awssdk.services.apigatewaymanagementapi.ApiGatewayManagementApiAsyncClient> - Parameters:
builder
- The sync builder- Returns:
- The sync AWS client
- See Also:
-
asyncBuilder
@Singleton @Requires(beans=software.amazon.awssdk.http.async.SdkAsyncHttpClient.class) public software.amazon.awssdk.services.apigatewaymanagementapi.ApiGatewayManagementApiAsyncClientBuilder asyncBuilder(software.amazon.awssdk.http.async.SdkAsyncHttpClient httpClient) Description copied from class:AwsClientFactory
Configures the builder so that it uses the appropriate HTTP client, credentials and region providers. Subclasses may want to override this method and annotate it with@Singleton
.- Overrides:
asyncBuilder
in classAwsClientFactory<software.amazon.awssdk.services.apigatewaymanagementapi.ApiGatewayManagementApiClientBuilder,
software.amazon.awssdk.services.apigatewaymanagementapi.ApiGatewayManagementApiAsyncClientBuilder, software.amazon.awssdk.services.apigatewaymanagementapi.ApiGatewayManagementApiClient, software.amazon.awssdk.services.apigatewaymanagementapi.ApiGatewayManagementApiAsyncClient> - Parameters:
httpClient
- The async HTTP client- Returns:
- The async builder
-
asyncClient
@Bean(preDestroy="close") @Singleton @Requires(beans=software.amazon.awssdk.http.async.SdkAsyncHttpClient.class) public software.amazon.awssdk.services.apigatewaymanagementapi.ApiGatewayManagementApiAsyncClient asyncClient(software.amazon.awssdk.services.apigatewaymanagementapi.ApiGatewayManagementApiAsyncClientBuilder builder) Description copied from class:AwsClientFactory
Creates the async client. It requires a bean of typeAB
.- Overrides:
asyncClient
in classAwsClientFactory<software.amazon.awssdk.services.apigatewaymanagementapi.ApiGatewayManagementApiClientBuilder,
software.amazon.awssdk.services.apigatewaymanagementapi.ApiGatewayManagementApiAsyncClientBuilder, software.amazon.awssdk.services.apigatewaymanagementapi.ApiGatewayManagementApiClient, software.amazon.awssdk.services.apigatewaymanagementapi.ApiGatewayManagementApiAsyncClient> - Parameters:
builder
- The async builder- Returns:
- The async AWS client
-