CheckNameAvailabilityResultInner Class

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

public final class CheckNameAvailabilityResultInner

The Result of the CheckNameAvailability operation.

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