Alias Interface

public interface Alias

Resource collection API of Alias.

Method Summary

Modifier and Type Method and Description
abstract PutAliasResponse create(String aliasName, PutAliasRequest body)

Create Alias Subscription.

abstract PutAliasResponse create(String aliasName, PutAliasRequest body, Context context)

Create Alias Subscription.

abstract void delete(String aliasName)

Delete Alias.

abstract Response<Void> deleteWithResponse(String aliasName, Context context)

Delete Alias.

abstract PutAliasResponse get(String aliasName)

Get Alias Subscription.

abstract Response<PutAliasResponse> getWithResponse(String aliasName, Context context)

Get Alias Subscription.

abstract PutAliasListResult list()

Get Alias Subscription.

abstract Response<PutAliasListResult> listWithResponse(Context context)

Get Alias Subscription.

Method Details

create

public abstract PutAliasResponse create(String aliasName, PutAliasRequest body)

Create Alias Subscription.

Parameters:

aliasName - Name for this subscription creation request also known as alias. Note that this is not the same as subscription name and this doesn\u2019t have any other lifecycle need beyond the request for subscription creation.
body - The body parameter.

Returns:

subscription Information with the alias.

create

public abstract PutAliasResponse create(String aliasName, PutAliasRequest body, Context context)

Create Alias Subscription.

Parameters:

aliasName - Name for this subscription creation request also known as alias. Note that this is not the same as subscription name and this doesn\u2019t have any other lifecycle need beyond the request for subscription creation.
body - The body parameter.
context - The context to associate with this operation.

Returns:

subscription Information with the alias.

delete

public abstract void delete(String aliasName)

Delete Alias.

Parameters:

aliasName - Name for this subscription creation request also known as alias. Note that this is not the same as subscription name and this doesn\u2019t have any other lifecycle need beyond the request for subscription creation.

deleteWithResponse

public abstract Response<Void> deleteWithResponse(String aliasName, Context context)

Delete Alias.

Parameters:

aliasName - Name for this subscription creation request also known as alias. Note that this is not the same as subscription name and this doesn\u2019t have any other lifecycle need beyond the request for subscription creation.
context - The context to associate with this operation.

Returns:

get

public abstract PutAliasResponse get(String aliasName)

Get Alias Subscription.

Parameters:

aliasName - Name for this subscription creation request also known as alias. Note that this is not the same as subscription name and this doesn\u2019t have any other lifecycle need beyond the request for subscription creation.

Returns:

alias Subscription.

getWithResponse

public abstract Response<PutAliasResponse> getWithResponse(String aliasName, Context context)

Get Alias Subscription.

Parameters:

aliasName - Name for this subscription creation request also known as alias. Note that this is not the same as subscription name and this doesn\u2019t have any other lifecycle need beyond the request for subscription creation.
context - The context to associate with this operation.

Returns:

alias Subscription along with Response<T>.

list

public abstract PutAliasListResult list()

Get Alias Subscription.

Returns:

alias Subscription.

listWithResponse

public abstract Response<PutAliasListResult> listWithResponse(Context context)

Get Alias Subscription.

Parameters:

context - The context to associate with this operation.

Returns:

alias Subscription along with Response<T>.

Applies to