com.microsoft.azure.management.resources.implementation.LocationImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-mgmt-resources Show documentation
Show all versions of azure-mgmt-resources Show documentation
This package contains Microsoft Azure Resource Management SDK.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/
package com.microsoft.azure.management.resources.implementation;
import com.microsoft.azure.management.resources.Location;
import com.microsoft.azure.management.resources.fluentcore.arm.Region;
import com.microsoft.azure.management.resources.fluentcore.model.implementation.IndexableWrapperImpl;
/**
* The implementation of {@link Location}.
*/
final class LocationImpl extends
IndexableWrapperImpl
implements
Location {
LocationImpl(LocationInner innerModel) {
super(innerModel);
}
@Override
public String subscriptionId() {
return this.inner().subscriptionId();
}
@Override
public String name() {
return this.inner().name();
}
@Override
public String displayName() {
return this.inner().displayName();
}
@Override
public String latitude() {
return this.inner().latitude();
}
@Override
public String longitude() {
return this.inner().longitude();
}
@Override
public Region region() {
return Region.fromName(this.name());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy