@Override public CompletableFuture<DescribeReplicationSubnetGroupsResponse> nextPage( final DescribeReplicationSubnetGroupsResponse previousPage) { if (previousPage == null) { return client.describeReplicationSubnetGroups(firstRequest); } return client.describeReplicationSubnetGroups(firstRequest.toBuilder().marker(previousPage.marker()).build()); } }
@Override public CompletableFuture<DescribeReplicationSubnetGroupsResponse> nextPage( final DescribeReplicationSubnetGroupsResponse previousPage) { if (previousPage == null) { return client.describeReplicationSubnetGroups(firstRequest); } return client.describeReplicationSubnetGroups(firstRequest.toBuilder().marker(previousPage.marker()).build()); } }
@Override public CompletableFuture<DescribeReplicationSubnetGroupsResponse> nextPage( final DescribeReplicationSubnetGroupsResponse previousPage) { if (previousPage == null) { return client.describeReplicationSubnetGroups(firstRequest); } return client.describeReplicationSubnetGroups(firstRequest.toBuilder().marker(previousPage.marker()).build()); } }
/** * <p> * Returns information about the replication subnet groups. * </p> * * @return A Java Future containing the result of the DescribeReplicationSubnetGroups 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.DescribeReplicationSubnetGroups * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationSubnetGroups" * target="_top">AWS API Documentation</a> */ default CompletableFuture<DescribeReplicationSubnetGroupsResponse> describeReplicationSubnetGroups() { return describeReplicationSubnetGroups(DescribeReplicationSubnetGroupsRequest.builder().build()); }
/** * <p> * Returns information about the replication subnet groups. * </p> * * @return A Java Future containing the result of the DescribeReplicationSubnetGroups 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.DescribeReplicationSubnetGroups * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationSubnetGroups" * target="_top">AWS API Documentation</a> */ default CompletableFuture<DescribeReplicationSubnetGroupsResponse> describeReplicationSubnetGroups() { return describeReplicationSubnetGroups(DescribeReplicationSubnetGroupsRequest.builder().build()); }
/** * <p> * Returns information about the replication subnet groups. * </p> * * @return A Java Future containing the result of the DescribeReplicationSubnetGroups 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.DescribeReplicationSubnetGroups * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationSubnetGroups" * target="_top">AWS API Documentation</a> */ default CompletableFuture<DescribeReplicationSubnetGroupsResponse> describeReplicationSubnetGroups() { return describeReplicationSubnetGroups(DescribeReplicationSubnetGroupsRequest.builder().build()); }
return describeReplicationSubnetGroups(DescribeReplicationSubnetGroupsRequest.builder() .applyMutation(describeReplicationSubnetGroupsRequest).build());
return describeReplicationSubnetGroups(DescribeReplicationSubnetGroupsRequest.builder() .applyMutation(describeReplicationSubnetGroupsRequest).build());
return describeReplicationSubnetGroups(DescribeReplicationSubnetGroupsRequest.builder() .applyMutation(describeReplicationSubnetGroupsRequest).build());