com.azure.resourcemanager.confidentialledger.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-confidentialledger Show documentation
Show all versions of azure-resourcemanager-confidentialledger Show documentation
This package contains Microsoft Azure SDK for ConfidentialLedger Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Microsoft Azure Confidential Compute Ledger Control Plane REST API version 2020-12-01-preview. Package tag package-preview-2023-06.
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.confidentialledger.implementation;
import com.azure.resourcemanager.confidentialledger.fluent.models.CheckNameAvailabilityResponseInner;
import com.azure.resourcemanager.confidentialledger.models.CheckNameAvailabilityReason;
import com.azure.resourcemanager.confidentialledger.models.CheckNameAvailabilityResponse;
public final class CheckNameAvailabilityResponseImpl implements CheckNameAvailabilityResponse {
private CheckNameAvailabilityResponseInner innerObject;
private final com.azure.resourcemanager.confidentialledger.ConfidentialLedgerManager serviceManager;
CheckNameAvailabilityResponseImpl(
CheckNameAvailabilityResponseInner innerObject,
com.azure.resourcemanager.confidentialledger.ConfidentialLedgerManager 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.confidentialledger.ConfidentialLedgerManager manager() {
return this.serviceManager;
}
}