你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

CheckNameAvailabilityResultInner Class

  • java.lang.Object
    • com.azure.resourcemanager.servicebus.fluent.models.CheckNameAvailabilityResultInner

public final class CheckNameAvailabilityResultInner

Description of a Check Name availability request properties.

Constructor Summary

Constructor Description
CheckNameAvailabilityResultInner()

Method Summary

Modifier and Type Method and Description
String message()

Get the message property: The detailed info regarding the reason associated with the namespace.

Boolean nameAvailable()

Get the nameAvailable property: Value indicating namespace is availability, true if the namespace is available; otherwise, false.

UnavailableReason reason()

Get the reason property: The reason for unavailability of a namespace.

void validate()

Validates the instance.

CheckNameAvailabilityResultInner withNameAvailable(Boolean nameAvailable)

Set the nameAvailable property: Value indicating namespace is availability, true if the namespace is available; otherwise, false.

CheckNameAvailabilityResultInner withReason(UnavailableReason reason)

Set the reason property: The reason for unavailability of a namespace.

Methods inherited from java.lang.Object

Constructor Details

CheckNameAvailabilityResultInner

public CheckNameAvailabilityResultInner()

Method Details

message

public String message()

Get the message property: The detailed info regarding the reason associated with the namespace.

Returns:

the message value.

nameAvailable

public Boolean nameAvailable()

Get the nameAvailable property: Value indicating namespace is availability, true if the namespace is available; otherwise, false.

Returns:

the nameAvailable value.

reason

public UnavailableReason reason()

Get the reason property: The reason for unavailability of a namespace.

Returns:

the reason value.

validate

public void validate()

Validates the instance.

withNameAvailable

public CheckNameAvailabilityResultInner withNameAvailable(Boolean nameAvailable)

Set the nameAvailable property: Value indicating namespace is availability, true if the namespace is available; otherwise, false.

Parameters:

nameAvailable - the nameAvailable value to set.

Returns:

the CheckNameAvailabilityResultInner object itself.

withReason

public CheckNameAvailabilityResultInner withReason(UnavailableReason reason)

Set the reason property: The reason for unavailability of a namespace.

Parameters:

reason - the reason value to set.

Returns:

the CheckNameAvailabilityResultInner object itself.

Applies to