@Override public DescribeConnectionsResponse nextPage(DescribeConnectionsResponse previousPage) { if (previousPage == null) { return client.describeConnections(firstRequest); } return client.describeConnections(firstRequest.toBuilder().marker(previousPage.marker()).build()); } }
@Override public DescribeConnectionsResponse nextPage(DescribeConnectionsResponse previousPage) { if (previousPage == null) { return client.describeConnections(firstRequest); } return client.describeConnections(firstRequest.toBuilder().marker(previousPage.marker()).build()); } }
@Override public DescribeConnectionsResponse nextPage(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 Result of the DescribeConnections 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.DescribeConnections * @see #describeConnections(DescribeConnectionsRequest) * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeConnections" target="_top">AWS API * Documentation</a> */ default DescribeConnectionsResponse describeConnections() throws ResourceNotFoundException, AwsServiceException, SdkClientException, DatabaseMigrationException { 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 Result of the DescribeConnections 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.DescribeConnections * @see #describeConnections(DescribeConnectionsRequest) * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeConnections" target="_top">AWS API * Documentation</a> */ default DescribeConnectionsResponse describeConnections() throws ResourceNotFoundException, AwsServiceException, SdkClientException, DatabaseMigrationException { 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 Result of the DescribeConnections 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.DescribeConnections * @see #describeConnections(DescribeConnectionsRequest) * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeConnections" target="_top">AWS API * Documentation</a> */ default DescribeConnectionsResponse describeConnections() throws ResourceNotFoundException, AwsServiceException, SdkClientException, DatabaseMigrationException { return describeConnections(DescribeConnectionsRequest.builder().build()); }
Consumer<DescribeConnectionsRequest.Builder> describeConnectionsRequest) throws ResourceNotFoundException, AwsServiceException, SdkClientException, DatabaseMigrationException { return describeConnections(DescribeConnectionsRequest.builder().applyMutation(describeConnectionsRequest).build());
Consumer<DescribeConnectionsRequest.Builder> describeConnectionsRequest) throws ResourceNotFoundException, AwsServiceException, SdkClientException, DatabaseMigrationException { return describeConnections(DescribeConnectionsRequest.builder().applyMutation(describeConnectionsRequest).build());
Consumer<DescribeConnectionsRequest.Builder> describeConnectionsRequest) throws ResourceNotFoundException, AwsServiceException, SdkClientException, DatabaseMigrationException { return describeConnections(DescribeConnectionsRequest.builder().applyMutation(describeConnectionsRequest).build());