Creatable<T> Interface
Type Parameters
- T
the fluent type of the resource to be created
Implements
public interface Creatable<T>
extends Indexable, HasName
The final stage of the resource definition, at which it can be created using create().
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract T |
create()
Execute the create request. |
abstract T |
create(Context context)
Execute the create request. |
abstract Mono<T> |
createAsync()
Puts the request into the queue and allow the HTTP client to execute it when system resources are available. |
abstract Mono<T> |
createAsync(Context context)
Puts the request into the queue and allow the HTTP client to execute it when system resources are available. |
Method Details
create
public abstract T create()
Execute the create request.
Returns:
create
public abstract T create(Context context)
Execute the create request.
Parameters:
Returns:
createAsync
public abstract Mono<T> createAsync()
Puts the request into the queue and allow the HTTP client to execute it when system resources are available.
Returns:
createAsync
public abstract Mono<T> createAsync(Context context)
Puts the request into the queue and allow the HTTP client to execute it when system resources are available.
Parameters:
Returns: