
com.azure.resourcemanager.appcontainers.implementation.EnvironmentAuthTokenImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-appcontainers Show documentation
Show all versions of azure-resourcemanager-appcontainers Show documentation
This package contains Microsoft Azure SDK for ContainerAppsApi Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Package tag package-2024-03.
The newest version!
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.appcontainers.implementation;
import com.azure.core.management.SystemData;
import com.azure.resourcemanager.appcontainers.fluent.models.EnvironmentAuthTokenInner;
import com.azure.resourcemanager.appcontainers.models.EnvironmentAuthToken;
import java.time.OffsetDateTime;
import java.util.Collections;
import java.util.Map;
public final class EnvironmentAuthTokenImpl implements EnvironmentAuthToken {
private EnvironmentAuthTokenInner innerObject;
private final com.azure.resourcemanager.appcontainers.ContainerAppsApiManager serviceManager;
EnvironmentAuthTokenImpl(EnvironmentAuthTokenInner innerObject,
com.azure.resourcemanager.appcontainers.ContainerAppsApiManager serviceManager) {
this.innerObject = innerObject;
this.serviceManager = serviceManager;
}
public String id() {
return this.innerModel().id();
}
public String name() {
return this.innerModel().name();
}
public String type() {
return this.innerModel().type();
}
public String location() {
return this.innerModel().location();
}
public Map tags() {
Map inner = this.innerModel().tags();
if (inner != null) {
return Collections.unmodifiableMap(inner);
} else {
return Collections.emptyMap();
}
}
public SystemData systemData() {
return this.innerModel().systemData();
}
public String token() {
return this.innerModel().token();
}
public OffsetDateTime expires() {
return this.innerModel().expires();
}
public EnvironmentAuthTokenInner innerModel() {
return this.innerObject;
}
private com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager() {
return this.serviceManager;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy