com.azure.resourcemanager.eventhubs.implementation.EventHubAuthorizationKeyImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-eventhubs Show documentation
Show all versions of azure-resourcemanager-eventhubs Show documentation
This package contains Microsoft Azure EventHubs 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.eventhubs.implementation;
import com.azure.resourcemanager.eventhubs.fluent.models.AccessKeysInner;
import com.azure.resourcemanager.eventhubs.models.EventHubAuthorizationKey;
import com.azure.resourcemanager.resources.fluentcore.model.implementation.WrapperImpl;
/**
* Implementation for AuthorizationKeys.
*/
class EventHubAuthorizationKeyImpl
extends WrapperImpl
implements EventHubAuthorizationKey {
EventHubAuthorizationKeyImpl(AccessKeysInner inner) {
super(inner);
}
@Override
public String primaryKey() {
return this.innerModel().primaryKey();
}
@Override
public String secondaryKey() {
return this.innerModel().secondaryKey();
}
@Override
public String primaryConnectionString() {
return this.innerModel().primaryConnectionString();
}
@Override
public String secondaryConnectionString() {
return this.innerModel().secondaryConnectionString();
}
}