com.azure.resourcemanager.mongocluster.implementation.CheckNameAvailabilityResponseImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-mongocluster Show documentation
Show all versions of azure-resourcemanager-mongocluster Show documentation
This package contains Microsoft Azure SDK for Mongo Cluster Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. The Microsoft Azure management API provides create, read, update, and delete functionality for Azure Cosmos DB for MongoDB vCore resources including clusters and firewall rules.
The newest version!
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.mongocluster.implementation;
import com.azure.resourcemanager.mongocluster.fluent.models.CheckNameAvailabilityResponseInner;
import com.azure.resourcemanager.mongocluster.models.CheckNameAvailabilityReason;
import com.azure.resourcemanager.mongocluster.models.CheckNameAvailabilityResponse;
public final class CheckNameAvailabilityResponseImpl implements CheckNameAvailabilityResponse {
private CheckNameAvailabilityResponseInner innerObject;
private final com.azure.resourcemanager.mongocluster.MongoClusterManager serviceManager;
CheckNameAvailabilityResponseImpl(CheckNameAvailabilityResponseInner innerObject,
com.azure.resourcemanager.mongocluster.MongoClusterManager serviceManager) {
this.innerObject = innerObject;
this.serviceManager = serviceManager;
}
public Boolean nameAvailable() {
return this.innerModel().nameAvailable();
}
public CheckNameAvailabilityReason reason() {
return this.innerModel().reason();
}
public String message() {
return this.innerModel().message();
}
public CheckNameAvailabilityResponseInner innerModel() {
return this.innerObject;
}
private com.azure.resourcemanager.mongocluster.MongoClusterManager manager() {
return this.serviceManager;
}
}