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

com.azure.resourcemanager.mongocluster.implementation.ListConnectionStringsResultImpl Maven / Gradle / Ivy

Go to download

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.ListConnectionStringsResultInner;
import com.azure.resourcemanager.mongocluster.models.ConnectionString;
import com.azure.resourcemanager.mongocluster.models.ListConnectionStringsResult;
import java.util.Collections;
import java.util.List;

public final class ListConnectionStringsResultImpl implements ListConnectionStringsResult {
    private ListConnectionStringsResultInner innerObject;

    private final com.azure.resourcemanager.mongocluster.MongoClusterManager serviceManager;

    ListConnectionStringsResultImpl(ListConnectionStringsResultInner innerObject,
        com.azure.resourcemanager.mongocluster.MongoClusterManager serviceManager) {
        this.innerObject = innerObject;
        this.serviceManager = serviceManager;
    }

    public List connectionStrings() {
        List inner = this.innerModel().connectionStrings();
        if (inner != null) {
            return Collections.unmodifiableList(inner);
        } else {
            return Collections.emptyList();
        }
    }

    public ListConnectionStringsResultInner innerModel() {
        return this.innerObject;
    }

    private com.azure.resourcemanager.mongocluster.MongoClusterManager manager() {
        return this.serviceManager;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy