@Override public CompletableFuture<DescribeConnectionsResponse> nextPage(final DescribeConnectionsResponse previousPage) { if (previousPage == null) { return client.describeConnections(firstRequest); } return client.describeConnections(firstRequest.toBuilder().marker(previousPage.marker()).build()); } }
@Override public CompletableFuture<DescribeConnectionsResponse> nextPage(final DescribeConnectionsResponse previousPage) { if (previousPage == null) { return client.describeConnections(firstRequest); } return client.describeConnections(firstRequest.toBuilder().marker(previousPage.marker()).build()); } }
@Override public CompletableFuture<DescribeConnectionsResponse> nextPage(final DescribeConnectionsResponse previousPage) { if (previousPage == null) { return client.describeConnections(firstRequest); } return client.describeConnections(firstRequest.toBuilder().marker(previousPage.marker()).build()); } }
/** * <p> * Describes the status of the connections that have been made between the replication instance and an endpoint. * Connections are created when you test an endpoint. * </p> * * @return A Java Future containing the result of the DescribeConnections 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.DescribeConnections * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeConnections" target="_top">AWS API * Documentation</a> */ default CompletableFuture<DescribeConnectionsResponse> describeConnections() { return describeConnections(DescribeConnectionsRequest.builder().build()); }
/** * <p> * Describes the status of the connections that have been made between the replication instance and an endpoint. * Connections are created when you test an endpoint. * </p> * * @return A Java Future containing the result of the DescribeConnections 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.DescribeConnections * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeConnections" target="_top">AWS API * Documentation</a> */ default CompletableFuture<DescribeConnectionsResponse> describeConnections() { return describeConnections(DescribeConnectionsRequest.builder().build()); }
/** * <p> * Describes the status of the connections that have been made between the replication instance and an endpoint. * Connections are created when you test an endpoint. * </p> * * @return A Java Future containing the result of the DescribeConnections 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.DescribeConnections * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeConnections" target="_top">AWS API * Documentation</a> */ default CompletableFuture<DescribeConnectionsResponse> describeConnections() { return describeConnections(DescribeConnectionsRequest.builder().build()); }
return describeConnections(DescribeConnectionsRequest.builder().applyMutation(describeConnectionsRequest).build());
return describeConnections(DescribeConnectionsRequest.builder().applyMutation(describeConnectionsRequest).build());
return describeConnections(DescribeConnectionsRequest.builder().applyMutation(describeConnectionsRequest).build());