com.azure.resourcemanager.servicebus.implementation.CheckNameAvailabilityResultImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-servicebus Show documentation
Show all versions of azure-resourcemanager-servicebus Show documentation
This package contains Microsoft Azure ServiceBus Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.resourcemanager.servicebus.implementation;
import com.azure.resourcemanager.resources.fluentcore.model.implementation.WrapperImpl;
import com.azure.resourcemanager.servicebus.fluent.models.CheckNameAvailabilityResultInner;
import com.azure.resourcemanager.servicebus.models.CheckNameAvailabilityResult;
import com.azure.resourcemanager.servicebus.models.UnavailableReason;
/**
* Implementation for CheckNameAvailabilityResult.
*/
class CheckNameAvailabilityResultImpl
extends WrapperImpl
implements CheckNameAvailabilityResult {
/**
* 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 innerModel().nameAvailable();
}
@Override
public UnavailableReason unavailabilityReason() {
return innerModel().reason();
}
@Override
public String unavailabilityMessage() {
return innerModel().message();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy