@Override public DescribeEndpointTypesResponse nextPage(DescribeEndpointTypesResponse previousPage) { if (previousPage == null) { return client.describeEndpointTypes(firstRequest); } return client.describeEndpointTypes(firstRequest.toBuilder().marker(previousPage.marker()).build()); } }
@Override public DescribeEndpointTypesResponse nextPage(DescribeEndpointTypesResponse previousPage) { if (previousPage == null) { return client.describeEndpointTypes(firstRequest); } return client.describeEndpointTypes(firstRequest.toBuilder().marker(previousPage.marker()).build()); } }
@Override public DescribeEndpointTypesResponse nextPage(DescribeEndpointTypesResponse previousPage) { if (previousPage == null) { return client.describeEndpointTypes(firstRequest); } return client.describeEndpointTypes(firstRequest.toBuilder().marker(previousPage.marker()).build()); } }
/** * <p> * Returns information about the type of endpoints available. * </p> * * @return Result of the DescribeEndpointTypes operation returned by the service. * @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.DescribeEndpointTypes * @see #describeEndpointTypes(DescribeEndpointTypesRequest) * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEndpointTypes" target="_top">AWS API * Documentation</a> */ default DescribeEndpointTypesResponse describeEndpointTypes() throws AwsServiceException, SdkClientException, DatabaseMigrationException { return describeEndpointTypes(DescribeEndpointTypesRequest.builder().build()); }
/** * <p> * Returns information about the type of endpoints available. * </p> * * @return Result of the DescribeEndpointTypes operation returned by the service. * @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.DescribeEndpointTypes * @see #describeEndpointTypes(DescribeEndpointTypesRequest) * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEndpointTypes" target="_top">AWS API * Documentation</a> */ default DescribeEndpointTypesResponse describeEndpointTypes() throws AwsServiceException, SdkClientException, DatabaseMigrationException { return describeEndpointTypes(DescribeEndpointTypesRequest.builder().build()); }
/** * <p> * Returns information about the type of endpoints available. * </p> * * @return Result of the DescribeEndpointTypes operation returned by the service. * @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.DescribeEndpointTypes * @see #describeEndpointTypes(DescribeEndpointTypesRequest) * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEndpointTypes" target="_top">AWS API * Documentation</a> */ default DescribeEndpointTypesResponse describeEndpointTypes() throws AwsServiceException, SdkClientException, DatabaseMigrationException { return describeEndpointTypes(DescribeEndpointTypesRequest.builder().build()); }
/** * <p> * Returns information about the type of endpoints available. * </p> * <br/> * <p> * This is a convenience which creates an instance of the {@link DescribeEndpointTypesRequest.Builder} avoiding the * need to create one manually via {@link DescribeEndpointTypesRequest#builder()} * </p> * * @param describeEndpointTypesRequest * A {@link Consumer} that will call methods on {@link DescribeEndpointTypesMessage.Builder} to create a * request. * @return Result of the DescribeEndpointTypes operation returned by the service. * @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.DescribeEndpointTypes * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEndpointTypes" target="_top">AWS API * Documentation</a> */ default DescribeEndpointTypesResponse describeEndpointTypes( Consumer<DescribeEndpointTypesRequest.Builder> describeEndpointTypesRequest) throws AwsServiceException, SdkClientException, DatabaseMigrationException { return describeEndpointTypes(DescribeEndpointTypesRequest.builder().applyMutation(describeEndpointTypesRequest).build()); }
/** * <p> * Returns information about the type of endpoints available. * </p> * <br/> * <p> * This is a convenience which creates an instance of the {@link DescribeEndpointTypesRequest.Builder} avoiding the * need to create one manually via {@link DescribeEndpointTypesRequest#builder()} * </p> * * @param describeEndpointTypesRequest * A {@link Consumer} that will call methods on {@link DescribeEndpointTypesMessage.Builder} to create a * request. * @return Result of the DescribeEndpointTypes operation returned by the service. * @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.DescribeEndpointTypes * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEndpointTypes" target="_top">AWS API * Documentation</a> */ default DescribeEndpointTypesResponse describeEndpointTypes( Consumer<DescribeEndpointTypesRequest.Builder> describeEndpointTypesRequest) throws AwsServiceException, SdkClientException, DatabaseMigrationException { return describeEndpointTypes(DescribeEndpointTypesRequest.builder().applyMutation(describeEndpointTypesRequest).build()); }
/** * <p> * Returns information about the type of endpoints available. * </p> * <br/> * <p> * This is a convenience which creates an instance of the {@link DescribeEndpointTypesRequest.Builder} avoiding the * need to create one manually via {@link DescribeEndpointTypesRequest#builder()} * </p> * * @param describeEndpointTypesRequest * A {@link Consumer} that will call methods on {@link DescribeEndpointTypesMessage.Builder} to create a * request. * @return Result of the DescribeEndpointTypes operation returned by the service. * @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.DescribeEndpointTypes * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEndpointTypes" target="_top">AWS API * Documentation</a> */ default DescribeEndpointTypesResponse describeEndpointTypes( Consumer<DescribeEndpointTypesRequest.Builder> describeEndpointTypesRequest) throws AwsServiceException, SdkClientException, DatabaseMigrationException { return describeEndpointTypes(DescribeEndpointTypesRequest.builder().applyMutation(describeEndpointTypesRequest).build()); }