Aracılığıyla paylaş


NameAvailabilityInfoInner Class

  • java.lang.Object
    • com.azure.resourcemanager.deviceprovisioningservices.fluent.models.NameAvailabilityInfoInner

public final class NameAvailabilityInfoInner

Description of name availability.

Constructor Summary

Constructor Description
NameAvailabilityInfoInner()

Method Summary

Modifier and Type Method and Description
String message()

Get the message property: message containing a detailed reason name is unavailable.

Boolean nameAvailable()

Get the nameAvailable property: specifies if a name is available or not.

NameUnavailabilityReason reason()

Get the reason property: specifies the reason a name is unavailable.

void validate()

Validates the instance.

NameAvailabilityInfoInner withMessage(String message)

Set the message property: message containing a detailed reason name is unavailable.

NameAvailabilityInfoInner withNameAvailable(Boolean nameAvailable)

Set the nameAvailable property: specifies if a name is available or not.

NameAvailabilityInfoInner withReason(NameUnavailabilityReason reason)

Set the reason property: specifies the reason a name is unavailable.

Methods inherited from java.lang.Object

Constructor Details

NameAvailabilityInfoInner

public NameAvailabilityInfoInner()

Method Details

message

public String message()

Get the message property: message containing a detailed reason name is unavailable.

Returns:

the message value.

nameAvailable

public Boolean nameAvailable()

Get the nameAvailable property: specifies if a name is available or not.

Returns:

the nameAvailable value.

reason

public NameUnavailabilityReason reason()

Get the reason property: specifies the reason a name is unavailable.

Returns:

the reason value.

validate

public void validate()

Validates the instance.

withMessage

public NameAvailabilityInfoInner withMessage(String message)

Set the message property: message containing a detailed reason name is unavailable.

Parameters:

message - the message value to set.

Returns:

the NameAvailabilityInfoInner object itself.

withNameAvailable

public NameAvailabilityInfoInner withNameAvailable(Boolean nameAvailable)

Set the nameAvailable property: specifies if a name is available or not.

Parameters:

nameAvailable - the nameAvailable value to set.

Returns:

the NameAvailabilityInfoInner object itself.

withReason

public NameAvailabilityInfoInner withReason(NameUnavailabilityReason reason)

Set the reason property: specifies the reason a name is unavailable.

Parameters:

reason - the reason value to set.

Returns:

the NameAvailabilityInfoInner object itself.

Applies to