@Factory public class SsmClientFactory extends AwsClientFactory<software.amazon.awssdk.services.ssm.SsmClientBuilder,software.amazon.awssdk.services.ssm.SsmAsyncClientBuilder,software.amazon.awssdk.services.ssm.SsmClient,software.amazon.awssdk.services.ssm.SsmAsyncClient>
credentialsProvider, regionProvider
Modifier | Constructor and Description |
---|---|
protected |
SsmClientFactory(software.amazon.awssdk.auth.credentials.AwsCredentialsProviderChain credentialsProvider,
software.amazon.awssdk.regions.providers.AwsRegionProviderChain regionProvider)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
software.amazon.awssdk.services.ssm.SsmAsyncClientBuilder |
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.ssm.SsmAsyncClient |
asyncClient(software.amazon.awssdk.services.ssm.SsmAsyncClientBuilder builder)
Creates the async client.
|
protected software.amazon.awssdk.services.ssm.SsmAsyncClientBuilder |
createAsyncBuilder()
Implementations need to create the builder, eg:
S3AsyncClient.builder(); . |
protected software.amazon.awssdk.services.ssm.SsmClientBuilder |
createSyncBuilder()
Implementations need to create the builder, eg:
S3Client.builder(); . |
software.amazon.awssdk.services.ssm.SsmClientBuilder |
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.ssm.SsmClient |
syncClient(software.amazon.awssdk.services.ssm.SsmClientBuilder builder)
Creates the sync client.
|
protected SsmClientFactory(software.amazon.awssdk.auth.credentials.AwsCredentialsProviderChain credentialsProvider, software.amazon.awssdk.regions.providers.AwsRegionProviderChain regionProvider)
credentialsProvider
- The credentials providerregionProvider
- The region providerprotected software.amazon.awssdk.services.ssm.SsmClientBuilder createSyncBuilder()
AwsClientFactory
S3Client.builder();
.createSyncBuilder
in class AwsClientFactory<software.amazon.awssdk.services.ssm.SsmClientBuilder,software.amazon.awssdk.services.ssm.SsmAsyncClientBuilder,software.amazon.awssdk.services.ssm.SsmClient,software.amazon.awssdk.services.ssm.SsmAsyncClient>
protected software.amazon.awssdk.services.ssm.SsmAsyncClientBuilder createAsyncBuilder()
AwsClientFactory
S3AsyncClient.builder();
.createAsyncBuilder
in class AwsClientFactory<software.amazon.awssdk.services.ssm.SsmClientBuilder,software.amazon.awssdk.services.ssm.SsmAsyncClientBuilder,software.amazon.awssdk.services.ssm.SsmClient,software.amazon.awssdk.services.ssm.SsmAsyncClient>
@Singleton public software.amazon.awssdk.services.ssm.SsmClientBuilder syncBuilder(software.amazon.awssdk.http.SdkHttpClient httpClient)
AwsClientFactory
@Singleton
.syncBuilder
in class AwsClientFactory<software.amazon.awssdk.services.ssm.SsmClientBuilder,software.amazon.awssdk.services.ssm.SsmAsyncClientBuilder,software.amazon.awssdk.services.ssm.SsmClient,software.amazon.awssdk.services.ssm.SsmAsyncClient>
httpClient
- The sync HTTP client@Bean(preDestroy="close") @Singleton public software.amazon.awssdk.services.ssm.SsmClient syncClient(software.amazon.awssdk.services.ssm.SsmClientBuilder builder)
AwsClientFactory
SB
.syncClient
in class AwsClientFactory<software.amazon.awssdk.services.ssm.SsmClientBuilder,software.amazon.awssdk.services.ssm.SsmAsyncClientBuilder,software.amazon.awssdk.services.ssm.SsmClient,software.amazon.awssdk.services.ssm.SsmAsyncClient>
builder
- The sync builderAwsClientFactory.syncBuilder(SdkHttpClient)
@Singleton @Requires(beans=software.amazon.awssdk.http.async.SdkAsyncHttpClient.class) public software.amazon.awssdk.services.ssm.SsmAsyncClientBuilder asyncBuilder(software.amazon.awssdk.http.async.SdkAsyncHttpClient httpClient)
AwsClientFactory
@Singleton
.asyncBuilder
in class AwsClientFactory<software.amazon.awssdk.services.ssm.SsmClientBuilder,software.amazon.awssdk.services.ssm.SsmAsyncClientBuilder,software.amazon.awssdk.services.ssm.SsmClient,software.amazon.awssdk.services.ssm.SsmAsyncClient>
httpClient
- The async HTTP client@Bean(preDestroy="close") @Singleton @Requires(beans=software.amazon.awssdk.http.async.SdkAsyncHttpClient.class) public software.amazon.awssdk.services.ssm.SsmAsyncClient asyncClient(software.amazon.awssdk.services.ssm.SsmAsyncClientBuilder builder)
AwsClientFactory
AB
.asyncClient
in class AwsClientFactory<software.amazon.awssdk.services.ssm.SsmClientBuilder,software.amazon.awssdk.services.ssm.SsmAsyncClientBuilder,software.amazon.awssdk.services.ssm.SsmClient,software.amazon.awssdk.services.ssm.SsmAsyncClient>
builder
- The async builder