다음을 통해 공유


Creatable<T> Interface

Type Parameters

T

the fluent type of the resource to be created

Implements

public interface Creatable
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:

the create resource

create

public abstract T create(Context context)

Execute the create request.

Parameters:

context - the Context of the request

Returns:

the created resource

createAsync

public abstract Mono createAsync()

Puts the request into the queue and allow the HTTP client to execute it when system resources are available.

Returns:

the publisher of the resource create request

createAsync

public abstract Mono createAsync(Context context)

Puts the request into the queue and allow the HTTP client to execute it when system resources are available.

Parameters:

context - the Context of the request

Returns:

the publisher of the resource create request

Applies to