@Override public CompletableFuture<DescribeCertificatesResponse> nextPage(final DescribeCertificatesResponse previousPage) { if (previousPage == null) { return client.describeCertificates(firstRequest); } return client.describeCertificates(firstRequest.toBuilder().marker(previousPage.marker()).build()); } }
@Override public CompletableFuture<DescribeCertificatesResponse> nextPage(final DescribeCertificatesResponse previousPage) { if (previousPage == null) { return client.describeCertificates(firstRequest); } return client.describeCertificates(firstRequest.toBuilder().marker(previousPage.marker()).build()); } }
@Override public CompletableFuture<DescribeCertificatesResponse> nextPage(final DescribeCertificatesResponse previousPage) { if (previousPage == null) { return client.describeCertificates(firstRequest); } return client.describeCertificates(firstRequest.toBuilder().marker(previousPage.marker()).build()); } }
/** * <p> * Provides a description of the certificate. * </p> * * @return A Java Future containing the result of the DescribeCertificates operation returned by the service.<br/> * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. * <ul> * <li>ResourceNotFoundException The resource could not be found.</li> * <li>SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.</li> * <li>SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.</li> * <li>DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.</li> * </ul> * @sample DatabaseMigrationAsyncClient.DescribeCertificates * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeCertificates" target="_top">AWS API * Documentation</a> */ default CompletableFuture<DescribeCertificatesResponse> describeCertificates() { return describeCertificates(DescribeCertificatesRequest.builder().build()); }
/** * <p> * Provides a description of the certificate. * </p> * * @return A Java Future containing the result of the DescribeCertificates operation returned by the service.<br/> * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. * <ul> * <li>ResourceNotFoundException The resource could not be found.</li> * <li>SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.</li> * <li>SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.</li> * <li>DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.</li> * </ul> * @sample DatabaseMigrationAsyncClient.DescribeCertificates * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeCertificates" target="_top">AWS API * Documentation</a> */ default CompletableFuture<DescribeCertificatesResponse> describeCertificates() { return describeCertificates(DescribeCertificatesRequest.builder().build()); }
/** * <p> * Provides a description of the certificate. * </p> * * @return A Java Future containing the result of the DescribeCertificates operation returned by the service.<br/> * The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. * <ul> * <li>ResourceNotFoundException The resource could not be found.</li> * <li>SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.</li> * <li>SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.</li> * <li>DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.</li> * </ul> * @sample DatabaseMigrationAsyncClient.DescribeCertificates * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeCertificates" target="_top">AWS API * Documentation</a> */ default CompletableFuture<DescribeCertificatesResponse> describeCertificates() { return describeCertificates(DescribeCertificatesRequest.builder().build()); }
return describeCertificates(DescribeCertificatesRequest.builder().applyMutation(describeCertificatesRequest).build());
return describeCertificates(DescribeCertificatesRequest.builder().applyMutation(describeCertificatesRequest).build());
return describeCertificates(DescribeCertificatesRequest.builder().applyMutation(describeCertificatesRequest).build());