com.azure.resourcemanager.elastic.implementation.DeploymentInfoResponseImpl Maven / Gradle / Ivy
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.elastic.implementation;
import com.azure.resourcemanager.elastic.fluent.models.DeploymentInfoResponseInner;
import com.azure.resourcemanager.elastic.models.DeploymentInfoResponse;
import com.azure.resourcemanager.elastic.models.ElasticDeploymentStatus;
import com.azure.resourcemanager.elastic.models.MarketplaceSaaSInfo;
public final class DeploymentInfoResponseImpl implements DeploymentInfoResponse {
private DeploymentInfoResponseInner innerObject;
private final com.azure.resourcemanager.elastic.ElasticManager serviceManager;
DeploymentInfoResponseImpl(
DeploymentInfoResponseInner innerObject, com.azure.resourcemanager.elastic.ElasticManager serviceManager) {
this.innerObject = innerObject;
this.serviceManager = serviceManager;
}
public ElasticDeploymentStatus status() {
return this.innerModel().status();
}
public String version() {
return this.innerModel().version();
}
public String memoryCapacity() {
return this.innerModel().memoryCapacity();
}
public String diskCapacity() {
return this.innerModel().diskCapacity();
}
public String deploymentUrl() {
return this.innerModel().deploymentUrl();
}
public MarketplaceSaaSInfo marketplaceSaasInfo() {
return this.innerModel().marketplaceSaasInfo();
}
public DeploymentInfoResponseInner innerModel() {
return this.innerObject;
}
private com.azure.resourcemanager.elastic.ElasticManager manager() {
return this.serviceManager;
}
}