@Override public DescribeCertificatesResponse nextPage(DescribeCertificatesResponse previousPage) { if (previousPage == null) { return client.describeCertificates(firstRequest); } return client.describeCertificates(firstRequest.toBuilder().marker(previousPage.marker()).build()); } }
@Override public DescribeCertificatesResponse nextPage(DescribeCertificatesResponse previousPage) { if (previousPage == null) { return client.describeCertificates(firstRequest); } return client.describeCertificates(firstRequest.toBuilder().marker(previousPage.marker()).build()); } }
@Override public DescribeCertificatesResponse nextPage(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 Result of the DescribeCertificates operation returned by the service. * @throws ResourceNotFoundException * The resource could not be found. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DatabaseMigrationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DatabaseMigrationClient.DescribeCertificates * @see #describeCertificates(DescribeCertificatesRequest) * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeCertificates" target="_top">AWS API * Documentation</a> */ default DescribeCertificatesResponse describeCertificates() throws ResourceNotFoundException, AwsServiceException, SdkClientException, DatabaseMigrationException { return describeCertificates(DescribeCertificatesRequest.builder().build()); }
/** * <p> * Provides a description of the certificate. * </p> * * @return Result of the DescribeCertificates operation returned by the service. * @throws ResourceNotFoundException * The resource could not be found. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DatabaseMigrationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DatabaseMigrationClient.DescribeCertificates * @see #describeCertificates(DescribeCertificatesRequest) * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeCertificates" target="_top">AWS API * Documentation</a> */ default DescribeCertificatesResponse describeCertificates() throws ResourceNotFoundException, AwsServiceException, SdkClientException, DatabaseMigrationException { return describeCertificates(DescribeCertificatesRequest.builder().build()); }
/** * <p> * Provides a description of the certificate. * </p> * * @return Result of the DescribeCertificates operation returned by the service. * @throws ResourceNotFoundException * The resource could not be found. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws DatabaseMigrationException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample DatabaseMigrationClient.DescribeCertificates * @see #describeCertificates(DescribeCertificatesRequest) * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeCertificates" target="_top">AWS API * Documentation</a> */ default DescribeCertificatesResponse describeCertificates() throws ResourceNotFoundException, AwsServiceException, SdkClientException, DatabaseMigrationException { return describeCertificates(DescribeCertificatesRequest.builder().build()); }
Consumer<DescribeCertificatesRequest.Builder> describeCertificatesRequest) throws ResourceNotFoundException, AwsServiceException, SdkClientException, DatabaseMigrationException { return describeCertificates(DescribeCertificatesRequest.builder().applyMutation(describeCertificatesRequest).build());
Consumer<DescribeCertificatesRequest.Builder> describeCertificatesRequest) throws ResourceNotFoundException, AwsServiceException, SdkClientException, DatabaseMigrationException { return describeCertificates(DescribeCertificatesRequest.builder().applyMutation(describeCertificatesRequest).build());
Consumer<DescribeCertificatesRequest.Builder> describeCertificatesRequest) throws ResourceNotFoundException, AwsServiceException, SdkClientException, DatabaseMigrationException { return describeCertificates(DescribeCertificatesRequest.builder().applyMutation(describeCertificatesRequest).build());