Interface SpendAlertServiceAsync
-
- All Implemented Interfaces:
public interface SpendAlertServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceSpendAlertServiceAsync.WithRawResponseA view of SpendAlertServiceAsync that provides access to raw HTTP responses for each method.
-
Method Summary
-
-
Method Detail
-
withRawResponse
abstract SpendAlertServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract SpendAlertServiceAsync withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
create
CompletableFuture<OrganizationSpendAlert> create(SpendAlertCreateParams params)
Creates an organization spend alert.
-
create
abstract CompletableFuture<OrganizationSpendAlert> create(SpendAlertCreateParams params, RequestOptions requestOptions)
-
update
CompletableFuture<OrganizationSpendAlert> update(String alertId, SpendAlertUpdateParams params)
Updates an organization spend alert.
-
update
CompletableFuture<OrganizationSpendAlert> update(String alertId, SpendAlertUpdateParams params, RequestOptions requestOptions)
-
update
CompletableFuture<OrganizationSpendAlert> update(SpendAlertUpdateParams params)
-
update
abstract CompletableFuture<OrganizationSpendAlert> update(SpendAlertUpdateParams params, RequestOptions requestOptions)
-
list
CompletableFuture<SpendAlertListPageAsync> list()
Lists organization spend alerts.
-
list
abstract CompletableFuture<SpendAlertListPageAsync> list(SpendAlertListParams params, RequestOptions requestOptions)
-
list
CompletableFuture<SpendAlertListPageAsync> list(SpendAlertListParams params)
-
list
CompletableFuture<SpendAlertListPageAsync> list(RequestOptions requestOptions)
-
delete
CompletableFuture<OrganizationSpendAlertDeleted> delete(String alertId)
Deletes an organization spend alert.
-
delete
CompletableFuture<OrganizationSpendAlertDeleted> delete(String alertId, SpendAlertDeleteParams params, RequestOptions requestOptions)
-
delete
CompletableFuture<OrganizationSpendAlertDeleted> delete(String alertId, SpendAlertDeleteParams params)
-
delete
abstract CompletableFuture<OrganizationSpendAlertDeleted> delete(SpendAlertDeleteParams params, RequestOptions requestOptions)
-
delete
CompletableFuture<OrganizationSpendAlertDeleted> delete(SpendAlertDeleteParams params)
-
delete
CompletableFuture<OrganizationSpendAlertDeleted> delete(String alertId, RequestOptions requestOptions)
-
-
-
-