CheckCapacityNameAvailabilityResultInner Class

  • java.lang.Object
    • com.azure.resourcemanager.powerbidedicated.fluent.models.CheckCapacityNameAvailabilityResultInner

public final class CheckCapacityNameAvailabilityResultInner

The checking result of capacity name availability.

Constructor Summary

Constructor Description
CheckCapacityNameAvailabilityResultInner()

Creates an instance of CheckCapacityNameAvailabilityResultInner class.

Method Summary

Modifier and Type Method and Description
String message()

Get the message property: The detailed message of the request unavailability.

Boolean nameAvailable()

Get the nameAvailable property: Indicator of availability of the capacity name.

String reason()

Get the reason property: The reason of unavailability.

void validate()

Validates the instance.

CheckCapacityNameAvailabilityResultInner withMessage(String message)

Set the message property: The detailed message of the request unavailability.

CheckCapacityNameAvailabilityResultInner withNameAvailable(Boolean nameAvailable)

Set the nameAvailable property: Indicator of availability of the capacity name.

CheckCapacityNameAvailabilityResultInner withReason(String reason)

Set the reason property: The reason of unavailability.

Methods inherited from java.lang.Object

Constructor Details

CheckCapacityNameAvailabilityResultInner

public CheckCapacityNameAvailabilityResultInner()

Creates an instance of CheckCapacityNameAvailabilityResultInner class.

Method Details

message

public String message()

Get the message property: The detailed message of the request unavailability.

Returns:

the message value.

nameAvailable

public Boolean nameAvailable()

Get the nameAvailable property: Indicator of availability of the capacity name.

Returns:

the nameAvailable value.

reason

public String reason()

Get the reason property: The reason of unavailability.

Returns:

the reason value.

validate

public void validate()

Validates the instance.

withMessage

public CheckCapacityNameAvailabilityResultInner withMessage(String message)

Set the message property: The detailed message of the request unavailability.

Parameters:

message - the message value to set.

Returns:

the CheckCapacityNameAvailabilityResultInner object itself.

withNameAvailable

public CheckCapacityNameAvailabilityResultInner withNameAvailable(Boolean nameAvailable)

Set the nameAvailable property: Indicator of availability of the capacity name.

Parameters:

nameAvailable - the nameAvailable value to set.

Returns:

the CheckCapacityNameAvailabilityResultInner object itself.

withReason

public CheckCapacityNameAvailabilityResultInner withReason(String reason)

Set the reason property: The reason of unavailability.

Parameters:

reason - the reason value to set.

Returns:

the CheckCapacityNameAvailabilityResultInner object itself.

Applies to