All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.workloads.outputs.GetSAPCentralInstanceResult Maven / Gradle / Ivy

There is a newer version: 2.82.0
Show newest version
// *** 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.CentralServerVmDetailsResponse;
import com.pulumi.azurenative.workloads.outputs.EnqueueReplicationServerPropertiesResponse;
import com.pulumi.azurenative.workloads.outputs.EnqueueServerPropertiesResponse;
import com.pulumi.azurenative.workloads.outputs.GatewayServerPropertiesResponse;
import com.pulumi.azurenative.workloads.outputs.LoadBalancerDetailsResponse;
import com.pulumi.azurenative.workloads.outputs.MessageServerPropertiesResponse;
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.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class GetSAPCentralInstanceResult {
    /**
     * @return Defines the SAP Enqueue Replication Server (ERS) properties.
     * 
     */
    private @Nullable EnqueueReplicationServerPropertiesResponse enqueueReplicationServerProperties;
    /**
     * @return Defines the SAP Enqueue Server properties.
     * 
     */
    private @Nullable EnqueueServerPropertiesResponse enqueueServerProperties;
    /**
     * @return Defines the errors related to SAP Central Services Instance resource.
     * 
     */
    private SAPVirtualInstanceErrorResponse errors;
    /**
     * @return Defines the SAP Gateway Server properties.
     * 
     */
    private @Nullable GatewayServerPropertiesResponse gatewayServerProperties;
    /**
     * @return Defines the health of SAP Instances.
     * 
     */
    private String health;
    /**
     * @return Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
     * 
     */
    private String id;
    /**
     * @return The central services instance number.
     * 
     */
    private String instanceNo;
    /**
     * @return The central services instance Kernel Patch level.
     * 
     */
    private String kernelPatch;
    /**
     * @return The central services instance Kernel Version.
     * 
     */
    private String kernelVersion;
    /**
     * @return The Load Balancer details such as LoadBalancer ID attached to ASCS Virtual Machines
     * 
     */
    private LoadBalancerDetailsResponse loadBalancerDetails;
    /**
     * @return The geo-location where the resource lives
     * 
     */
    private String location;
    /**
     * @return Defines the SAP Message Server properties.
     * 
     */
    private @Nullable MessageServerPropertiesResponse messageServerProperties;
    /**
     * @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 The central services instance 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 corresponding to the Central Services instance.
     * 
     */
    private List vmDetails;

    private GetSAPCentralInstanceResult() {}
    /**
     * @return Defines the SAP Enqueue Replication Server (ERS) properties.
     * 
     */
    public Optional enqueueReplicationServerProperties() {
        return Optional.ofNullable(this.enqueueReplicationServerProperties);
    }
    /**
     * @return Defines the SAP Enqueue Server properties.
     * 
     */
    public Optional enqueueServerProperties() {
        return Optional.ofNullable(this.enqueueServerProperties);
    }
    /**
     * @return Defines the errors related to SAP Central Services Instance resource.
     * 
     */
    public SAPVirtualInstanceErrorResponse errors() {
        return this.errors;
    }
    /**
     * @return Defines the SAP Gateway Server properties.
     * 
     */
    public Optional gatewayServerProperties() {
        return Optional.ofNullable(this.gatewayServerProperties);
    }
    /**
     * @return Defines the health of SAP Instances.
     * 
     */
    public String health() {
        return this.health;
    }
    /**
     * @return Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return The central services instance number.
     * 
     */
    public String instanceNo() {
        return this.instanceNo;
    }
    /**
     * @return The central services instance Kernel Patch level.
     * 
     */
    public String kernelPatch() {
        return this.kernelPatch;
    }
    /**
     * @return The central services instance Kernel Version.
     * 
     */
    public String kernelVersion() {
        return this.kernelVersion;
    }
    /**
     * @return The Load Balancer details such as LoadBalancer ID attached to ASCS Virtual Machines
     * 
     */
    public LoadBalancerDetailsResponse loadBalancerDetails() {
        return this.loadBalancerDetails;
    }
    /**
     * @return The geo-location where the resource lives
     * 
     */
    public String location() {
        return this.location;
    }
    /**
     * @return Defines the SAP Message Server properties.
     * 
     */
    public Optional messageServerProperties() {
        return Optional.ofNullable(this.messageServerProperties);
    }
    /**
     * @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 The central services instance 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 corresponding to the Central Services instance.
     * 
     */
    public List vmDetails() {
        return this.vmDetails;
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(GetSAPCentralInstanceResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable EnqueueReplicationServerPropertiesResponse enqueueReplicationServerProperties;
        private @Nullable EnqueueServerPropertiesResponse enqueueServerProperties;
        private SAPVirtualInstanceErrorResponse errors;
        private @Nullable GatewayServerPropertiesResponse gatewayServerProperties;
        private String health;
        private String id;
        private String instanceNo;
        private String kernelPatch;
        private String kernelVersion;
        private LoadBalancerDetailsResponse loadBalancerDetails;
        private String location;
        private @Nullable MessageServerPropertiesResponse messageServerProperties;
        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(GetSAPCentralInstanceResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.enqueueReplicationServerProperties = defaults.enqueueReplicationServerProperties;
    	      this.enqueueServerProperties = defaults.enqueueServerProperties;
    	      this.errors = defaults.errors;
    	      this.gatewayServerProperties = defaults.gatewayServerProperties;
    	      this.health = defaults.health;
    	      this.id = defaults.id;
    	      this.instanceNo = defaults.instanceNo;
    	      this.kernelPatch = defaults.kernelPatch;
    	      this.kernelVersion = defaults.kernelVersion;
    	      this.loadBalancerDetails = defaults.loadBalancerDetails;
    	      this.location = defaults.location;
    	      this.messageServerProperties = defaults.messageServerProperties;
    	      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 enqueueReplicationServerProperties(@Nullable EnqueueReplicationServerPropertiesResponse enqueueReplicationServerProperties) {

            this.enqueueReplicationServerProperties = enqueueReplicationServerProperties;
            return this;
        }
        @CustomType.Setter
        public Builder enqueueServerProperties(@Nullable EnqueueServerPropertiesResponse enqueueServerProperties) {

            this.enqueueServerProperties = enqueueServerProperties;
            return this;
        }
        @CustomType.Setter
        public Builder errors(SAPVirtualInstanceErrorResponse errors) {
            if (errors == null) {
              throw new MissingRequiredPropertyException("GetSAPCentralInstanceResult", "errors");
            }
            this.errors = errors;
            return this;
        }
        @CustomType.Setter
        public Builder gatewayServerProperties(@Nullable GatewayServerPropertiesResponse gatewayServerProperties) {

            this.gatewayServerProperties = gatewayServerProperties;
            return this;
        }
        @CustomType.Setter
        public Builder health(String health) {
            if (health == null) {
              throw new MissingRequiredPropertyException("GetSAPCentralInstanceResult", "health");
            }
            this.health = health;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetSAPCentralInstanceResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder instanceNo(String instanceNo) {
            if (instanceNo == null) {
              throw new MissingRequiredPropertyException("GetSAPCentralInstanceResult", "instanceNo");
            }
            this.instanceNo = instanceNo;
            return this;
        }
        @CustomType.Setter
        public Builder kernelPatch(String kernelPatch) {
            if (kernelPatch == null) {
              throw new MissingRequiredPropertyException("GetSAPCentralInstanceResult", "kernelPatch");
            }
            this.kernelPatch = kernelPatch;
            return this;
        }
        @CustomType.Setter
        public Builder kernelVersion(String kernelVersion) {
            if (kernelVersion == null) {
              throw new MissingRequiredPropertyException("GetSAPCentralInstanceResult", "kernelVersion");
            }
            this.kernelVersion = kernelVersion;
            return this;
        }
        @CustomType.Setter
        public Builder loadBalancerDetails(LoadBalancerDetailsResponse loadBalancerDetails) {
            if (loadBalancerDetails == null) {
              throw new MissingRequiredPropertyException("GetSAPCentralInstanceResult", "loadBalancerDetails");
            }
            this.loadBalancerDetails = loadBalancerDetails;
            return this;
        }
        @CustomType.Setter
        public Builder location(String location) {
            if (location == null) {
              throw new MissingRequiredPropertyException("GetSAPCentralInstanceResult", "location");
            }
            this.location = location;
            return this;
        }
        @CustomType.Setter
        public Builder messageServerProperties(@Nullable MessageServerPropertiesResponse messageServerProperties) {

            this.messageServerProperties = messageServerProperties;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetSAPCentralInstanceResult", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder provisioningState(String provisioningState) {
            if (provisioningState == null) {
              throw new MissingRequiredPropertyException("GetSAPCentralInstanceResult", "provisioningState");
            }
            this.provisioningState = provisioningState;
            return this;
        }
        @CustomType.Setter
        public Builder status(String status) {
            if (status == null) {
              throw new MissingRequiredPropertyException("GetSAPCentralInstanceResult", "status");
            }
            this.status = status;
            return this;
        }
        @CustomType.Setter
        public Builder subnet(String subnet) {
            if (subnet == null) {
              throw new MissingRequiredPropertyException("GetSAPCentralInstanceResult", "subnet");
            }
            this.subnet = subnet;
            return this;
        }
        @CustomType.Setter
        public Builder systemData(SystemDataResponse systemData) {
            if (systemData == null) {
              throw new MissingRequiredPropertyException("GetSAPCentralInstanceResult", "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("GetSAPCentralInstanceResult", "type");
            }
            this.type = type;
            return this;
        }
        @CustomType.Setter
        public Builder vmDetails(List vmDetails) {
            if (vmDetails == null) {
              throw new MissingRequiredPropertyException("GetSAPCentralInstanceResult", "vmDetails");
            }
            this.vmDetails = vmDetails;
            return this;
        }
        public Builder vmDetails(CentralServerVmDetailsResponse... vmDetails) {
            return vmDetails(List.of(vmDetails));
        }
        public GetSAPCentralInstanceResult build() {
            final var _resultValue = new GetSAPCentralInstanceResult();
            _resultValue.enqueueReplicationServerProperties = enqueueReplicationServerProperties;
            _resultValue.enqueueServerProperties = enqueueServerProperties;
            _resultValue.errors = errors;
            _resultValue.gatewayServerProperties = gatewayServerProperties;
            _resultValue.health = health;
            _resultValue.id = id;
            _resultValue.instanceNo = instanceNo;
            _resultValue.kernelPatch = kernelPatch;
            _resultValue.kernelVersion = kernelVersion;
            _resultValue.loadBalancerDetails = loadBalancerDetails;
            _resultValue.location = location;
            _resultValue.messageServerProperties = messageServerProperties;
            _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