All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.azure.resourcemanager.cosmos.implementation.DatabaseAccountListKeysResultImpl Maven / Gradle / Ivy

Go to download

This package contains Microsoft Azure CosmosDB SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt

There is a newer version: 2.46.0
Show newest version
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.resourcemanager.cosmos.implementation;

import com.azure.resourcemanager.cosmos.models.DatabaseAccountListKeysResult;
import com.azure.resourcemanager.cosmos.fluent.models.DatabaseAccountListKeysResultInner;
import com.azure.resourcemanager.resources.fluentcore.model.implementation.WrapperImpl;

/** The implementation for DatabaseAccountListKeysResult. */
public class DatabaseAccountListKeysResultImpl extends WrapperImpl
    implements DatabaseAccountListKeysResult {
    DatabaseAccountListKeysResultImpl(DatabaseAccountListKeysResultInner innerObject) {
        super(innerObject);
    }

    @Override
    public String primaryMasterKey() {
        return this.innerModel().primaryMasterKey();
    }

    @Override
    public String secondaryMasterKey() {
        return this.innerModel().secondaryMasterKey();
    }

    @Override
    public String primaryReadonlyMasterKey() {
        return this.innerModel().primaryReadonlyMasterKey();
    }

    @Override
    public String secondaryReadonlyMasterKey() {
        return this.innerModel().secondaryReadonlyMasterKey();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy