
com.pulumi.azurenative.workloads.outputs.GetSAPApplicationServerInstanceResult Maven / Gradle / Ivy
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.azurenative.workloads.outputs;
import com.pulumi.azurenative.workloads.outputs.ApplicationServerVmDetailsResponse;
import com.pulumi.azurenative.workloads.outputs.LoadBalancerDetailsResponse;
import com.pulumi.azurenative.workloads.outputs.SAPVirtualInstanceErrorResponse;
import com.pulumi.azurenative.workloads.outputs.SystemDataResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Double;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import javax.annotation.Nullable;
@CustomType
public final class GetSAPApplicationServerInstanceResult {
/**
* @return Defines the Application Instance errors.
*
*/
private SAPVirtualInstanceErrorResponse errors;
/**
* @return Application server instance gateway Port.
*
*/
private Double gatewayPort;
/**
* @return Defines the health of SAP Instances.
*
*/
private String health;
/**
* @return Application server instance SAP hostname.
*
*/
private String hostname;
/**
* @return Application server instance ICM HTTP Port.
*
*/
private Double icmHttpPort;
/**
* @return Application server instance ICM HTTPS Port.
*
*/
private Double icmHttpsPort;
/**
* @return Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
*
*/
private String id;
/**
* @return Application server Instance Number.
*
*/
private String instanceNo;
/**
* @return Application server instance SAP IP Address.
*
*/
private String ipAddress;
/**
* @return Application server instance SAP Kernel Patch level.
*
*/
private String kernelPatch;
/**
* @return Application server instance SAP Kernel Version.
*
*/
private String kernelVersion;
/**
* @return The Load Balancer details such as LoadBalancer ID attached to Application Server Virtual Machines
*
*/
private LoadBalancerDetailsResponse loadBalancerDetails;
/**
* @return The geo-location where the resource lives
*
*/
private String location;
/**
* @return The name of the resource
*
*/
private String name;
/**
* @return Defines the provisioning states.
*
*/
private String provisioningState;
/**
* @return Defines the SAP Instance status.
*
*/
private String status;
/**
* @return Application server Subnet.
*
*/
private String subnet;
/**
* @return Azure Resource Manager metadata containing createdBy and modifiedBy information.
*
*/
private SystemDataResponse systemData;
/**
* @return Resource tags.
*
*/
private @Nullable Map tags;
/**
* @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*
*/
private String type;
/**
* @return The list of virtual machines.
*
*/
private List vmDetails;
private GetSAPApplicationServerInstanceResult() {}
/**
* @return Defines the Application Instance errors.
*
*/
public SAPVirtualInstanceErrorResponse errors() {
return this.errors;
}
/**
* @return Application server instance gateway Port.
*
*/
public Double gatewayPort() {
return this.gatewayPort;
}
/**
* @return Defines the health of SAP Instances.
*
*/
public String health() {
return this.health;
}
/**
* @return Application server instance SAP hostname.
*
*/
public String hostname() {
return this.hostname;
}
/**
* @return Application server instance ICM HTTP Port.
*
*/
public Double icmHttpPort() {
return this.icmHttpPort;
}
/**
* @return Application server instance ICM HTTPS Port.
*
*/
public Double icmHttpsPort() {
return this.icmHttpsPort;
}
/**
* @return Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
*
*/
public String id() {
return this.id;
}
/**
* @return Application server Instance Number.
*
*/
public String instanceNo() {
return this.instanceNo;
}
/**
* @return Application server instance SAP IP Address.
*
*/
public String ipAddress() {
return this.ipAddress;
}
/**
* @return Application server instance SAP Kernel Patch level.
*
*/
public String kernelPatch() {
return this.kernelPatch;
}
/**
* @return Application server instance SAP Kernel Version.
*
*/
public String kernelVersion() {
return this.kernelVersion;
}
/**
* @return The Load Balancer details such as LoadBalancer ID attached to Application Server Virtual Machines
*
*/
public LoadBalancerDetailsResponse loadBalancerDetails() {
return this.loadBalancerDetails;
}
/**
* @return The geo-location where the resource lives
*
*/
public String location() {
return this.location;
}
/**
* @return The name of the resource
*
*/
public String name() {
return this.name;
}
/**
* @return Defines the provisioning states.
*
*/
public String provisioningState() {
return this.provisioningState;
}
/**
* @return Defines the SAP Instance status.
*
*/
public String status() {
return this.status;
}
/**
* @return Application server Subnet.
*
*/
public String subnet() {
return this.subnet;
}
/**
* @return Azure Resource Manager metadata containing createdBy and modifiedBy information.
*
*/
public SystemDataResponse systemData() {
return this.systemData;
}
/**
* @return Resource tags.
*
*/
public Map tags() {
return this.tags == null ? Map.of() : this.tags;
}
/**
* @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*
*/
public String type() {
return this.type;
}
/**
* @return The list of virtual machines.
*
*/
public List vmDetails() {
return this.vmDetails;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetSAPApplicationServerInstanceResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private SAPVirtualInstanceErrorResponse errors;
private Double gatewayPort;
private String health;
private String hostname;
private Double icmHttpPort;
private Double icmHttpsPort;
private String id;
private String instanceNo;
private String ipAddress;
private String kernelPatch;
private String kernelVersion;
private LoadBalancerDetailsResponse loadBalancerDetails;
private String location;
private String name;
private String provisioningState;
private String status;
private String subnet;
private SystemDataResponse systemData;
private @Nullable Map tags;
private String type;
private List vmDetails;
public Builder() {}
public Builder(GetSAPApplicationServerInstanceResult defaults) {
Objects.requireNonNull(defaults);
this.errors = defaults.errors;
this.gatewayPort = defaults.gatewayPort;
this.health = defaults.health;
this.hostname = defaults.hostname;
this.icmHttpPort = defaults.icmHttpPort;
this.icmHttpsPort = defaults.icmHttpsPort;
this.id = defaults.id;
this.instanceNo = defaults.instanceNo;
this.ipAddress = defaults.ipAddress;
this.kernelPatch = defaults.kernelPatch;
this.kernelVersion = defaults.kernelVersion;
this.loadBalancerDetails = defaults.loadBalancerDetails;
this.location = defaults.location;
this.name = defaults.name;
this.provisioningState = defaults.provisioningState;
this.status = defaults.status;
this.subnet = defaults.subnet;
this.systemData = defaults.systemData;
this.tags = defaults.tags;
this.type = defaults.type;
this.vmDetails = defaults.vmDetails;
}
@CustomType.Setter
public Builder errors(SAPVirtualInstanceErrorResponse errors) {
if (errors == null) {
throw new MissingRequiredPropertyException("GetSAPApplicationServerInstanceResult", "errors");
}
this.errors = errors;
return this;
}
@CustomType.Setter
public Builder gatewayPort(Double gatewayPort) {
if (gatewayPort == null) {
throw new MissingRequiredPropertyException("GetSAPApplicationServerInstanceResult", "gatewayPort");
}
this.gatewayPort = gatewayPort;
return this;
}
@CustomType.Setter
public Builder health(String health) {
if (health == null) {
throw new MissingRequiredPropertyException("GetSAPApplicationServerInstanceResult", "health");
}
this.health = health;
return this;
}
@CustomType.Setter
public Builder hostname(String hostname) {
if (hostname == null) {
throw new MissingRequiredPropertyException("GetSAPApplicationServerInstanceResult", "hostname");
}
this.hostname = hostname;
return this;
}
@CustomType.Setter
public Builder icmHttpPort(Double icmHttpPort) {
if (icmHttpPort == null) {
throw new MissingRequiredPropertyException("GetSAPApplicationServerInstanceResult", "icmHttpPort");
}
this.icmHttpPort = icmHttpPort;
return this;
}
@CustomType.Setter
public Builder icmHttpsPort(Double icmHttpsPort) {
if (icmHttpsPort == null) {
throw new MissingRequiredPropertyException("GetSAPApplicationServerInstanceResult", "icmHttpsPort");
}
this.icmHttpsPort = icmHttpsPort;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetSAPApplicationServerInstanceResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder instanceNo(String instanceNo) {
if (instanceNo == null) {
throw new MissingRequiredPropertyException("GetSAPApplicationServerInstanceResult", "instanceNo");
}
this.instanceNo = instanceNo;
return this;
}
@CustomType.Setter
public Builder ipAddress(String ipAddress) {
if (ipAddress == null) {
throw new MissingRequiredPropertyException("GetSAPApplicationServerInstanceResult", "ipAddress");
}
this.ipAddress = ipAddress;
return this;
}
@CustomType.Setter
public Builder kernelPatch(String kernelPatch) {
if (kernelPatch == null) {
throw new MissingRequiredPropertyException("GetSAPApplicationServerInstanceResult", "kernelPatch");
}
this.kernelPatch = kernelPatch;
return this;
}
@CustomType.Setter
public Builder kernelVersion(String kernelVersion) {
if (kernelVersion == null) {
throw new MissingRequiredPropertyException("GetSAPApplicationServerInstanceResult", "kernelVersion");
}
this.kernelVersion = kernelVersion;
return this;
}
@CustomType.Setter
public Builder loadBalancerDetails(LoadBalancerDetailsResponse loadBalancerDetails) {
if (loadBalancerDetails == null) {
throw new MissingRequiredPropertyException("GetSAPApplicationServerInstanceResult", "loadBalancerDetails");
}
this.loadBalancerDetails = loadBalancerDetails;
return this;
}
@CustomType.Setter
public Builder location(String location) {
if (location == null) {
throw new MissingRequiredPropertyException("GetSAPApplicationServerInstanceResult", "location");
}
this.location = location;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetSAPApplicationServerInstanceResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder provisioningState(String provisioningState) {
if (provisioningState == null) {
throw new MissingRequiredPropertyException("GetSAPApplicationServerInstanceResult", "provisioningState");
}
this.provisioningState = provisioningState;
return this;
}
@CustomType.Setter
public Builder status(String status) {
if (status == null) {
throw new MissingRequiredPropertyException("GetSAPApplicationServerInstanceResult", "status");
}
this.status = status;
return this;
}
@CustomType.Setter
public Builder subnet(String subnet) {
if (subnet == null) {
throw new MissingRequiredPropertyException("GetSAPApplicationServerInstanceResult", "subnet");
}
this.subnet = subnet;
return this;
}
@CustomType.Setter
public Builder systemData(SystemDataResponse systemData) {
if (systemData == null) {
throw new MissingRequiredPropertyException("GetSAPApplicationServerInstanceResult", "systemData");
}
this.systemData = systemData;
return this;
}
@CustomType.Setter
public Builder tags(@Nullable Map tags) {
this.tags = tags;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("GetSAPApplicationServerInstanceResult", "type");
}
this.type = type;
return this;
}
@CustomType.Setter
public Builder vmDetails(List vmDetails) {
if (vmDetails == null) {
throw new MissingRequiredPropertyException("GetSAPApplicationServerInstanceResult", "vmDetails");
}
this.vmDetails = vmDetails;
return this;
}
public Builder vmDetails(ApplicationServerVmDetailsResponse... vmDetails) {
return vmDetails(List.of(vmDetails));
}
public GetSAPApplicationServerInstanceResult build() {
final var _resultValue = new GetSAPApplicationServerInstanceResult();
_resultValue.errors = errors;
_resultValue.gatewayPort = gatewayPort;
_resultValue.health = health;
_resultValue.hostname = hostname;
_resultValue.icmHttpPort = icmHttpPort;
_resultValue.icmHttpsPort = icmHttpsPort;
_resultValue.id = id;
_resultValue.instanceNo = instanceNo;
_resultValue.ipAddress = ipAddress;
_resultValue.kernelPatch = kernelPatch;
_resultValue.kernelVersion = kernelVersion;
_resultValue.loadBalancerDetails = loadBalancerDetails;
_resultValue.location = location;
_resultValue.name = name;
_resultValue.provisioningState = provisioningState;
_resultValue.status = status;
_resultValue.subnet = subnet;
_resultValue.systemData = systemData;
_resultValue.tags = tags;
_resultValue.type = type;
_resultValue.vmDetails = vmDetails;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy