public class AwsClientBuilderTest extends Object
| Constructor and Description | 
|---|
| AwsClientBuilderTest() | 
public void syncClientBuilder()
public void credentialsNotExplicitlySet_UsesDefaultCredentialChain()
                                                            throws Exception
Exceptionpublic void regionProvidedExplicitly_WhenRegionNotFoundInMetadata_ThrowsIllegalArgumentException()
                                                                                          throws Exception
Exceptionpublic void regionProvidedByChain_WhenRegionNotFoundInMetadata_ThrowsIllegalArgumentException()
AwsRegionProvider implementation. We mock the provider to yield consistent
 results for the tests.public void credentialsExplicitlySet_UsesExplicitCredentials()
                                                      throws Exception
Exceptionpublic void metricCollectorNotExplicitlySet_UsesNullMetricsCollector()
                                                              throws Exception
Exceptionpublic void metricsCollectorExplicitlySet_UsesExplicitMetricsCollector()
                                                                throws Exception
Exceptionpublic void clientConfigurationNotExplicitlySet_UsesServiceDefaultClientConfiguration()
public void clientConfigurationExplicitlySet_UsesExplicitConfiguration()
public void explicitRegionIsSet_UsesRegionToConstructEndpoint()
public void noRegionProvidedExplicitlyOrImplicitly_ThrowsException()
AwsRegionProvider implementation then the builder should fail to build clients. We mock the
 provider to yield consistent results for the tests.public void regionImplicitlyProvided_UsesRegionToConstructEndpoint()
AwsRegionProvider implementation. We mock the provider to yield consistent
 results for the tests.public void customRegionUrlEncodesString()
public void endpointAndSigningRegionCanBeUsedInPlaceOfSetRegion()
public void cannotSetBothEndpointConfigurationAndRegionOnBuilder()
public void defaultClientConfigAndNoExplicitExecutor_UsesDefaultExecutorBasedOnMaxConns()
public void customMaxConnsAndNoExplicitExecutor_UsesDefaultExecutorBasedOnMaxConns()
public void customMaxConnsAndExplicitExecutor_UsesExplicitExecutor()
                                                            throws Exception
Exceptionpublic void noRequestHandlersExplicitlySet_UsesEmptyRequestHandlerList()
                                                                throws Exception
Exceptionpublic void requestHandlersExplicitlySet_UsesClonedListOfExplicitRequestHandlers()
                                                                          throws Exception
ExceptionCopyright © 2022. All rights reserved.