Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. */
package com.microsoft.azure.management.servicebus.implementation; import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.azure.management.resources.fluentcore.model.implementation.WrapperImpl; import com.microsoft.azure.management.servicebus.CheckNameAvailabilityResult; import com.microsoft.azure.management.servicebus.UnavailableReason;
Implementation for CheckNameAvailabilityResult.
/** * Implementation for CheckNameAvailabilityResult. */
@LangDefinition class CheckNameAvailabilityResultImpl extends WrapperImpl<CheckNameAvailabilityResultInner> implements CheckNameAvailabilityResult {
Creates an instance of the check name availability result object.
Params:
  • inner – the inner object
/** * Creates an instance of the check name availability result object. * * @param inner the inner object */
CheckNameAvailabilityResultImpl(CheckNameAvailabilityResultInner inner) { super(inner); } @Override public boolean isAvailable() { return inner().nameAvailable(); } @Override public UnavailableReason unavailabilityReason() { return inner().reason(); } @Override public String unavailabilityMessage() { return inner().message(); } }