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 rx.Observable<Indexable> createAsync()

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

abstract com.microsoft.rest.ServiceFuture<T> createAsync(ServiceCallback<T> callback)

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

createAsync

public abstract Observable createAsync()

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

Returns:

an observable of the request

createAsync

public abstract ServiceFuture createAsync(ServiceCallback callback)

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

Parameters:

callback - the callback to handle success and failure

Returns:

a handle to cancel the request

Applies to