// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.workloads.models;

import com.azure.core.annotation.Immutable;
import com.fasterxml.jackson.annotation.JsonProperty;

/** Defines the SAP Message Server properties. */
@Immutable
public final class MessageServerProperties {
    /*
     * Message Server port.
     */
    @JsonProperty(value = "msPort", access = JsonProperty.Access.WRITE_ONLY)
    private Long msPort;

    /*
     * Message Server internal MS port.
     */
    @JsonProperty(value = "internalMsPort", access = JsonProperty.Access.WRITE_ONLY)
    private Long internalMsPort;

    /*
     * Message Server HTTP Port.
     */
    @JsonProperty(value = "httpPort", access = JsonProperty.Access.WRITE_ONLY)
    private Long httpPort;

    /*
     * Message Server HTTPS Port.
     */
    @JsonProperty(value = "httpsPort", access = JsonProperty.Access.WRITE_ONLY)
    private Long httpsPort;

    /*
     * Message Server SAP Hostname.
     */
    @JsonProperty(value = "hostname", access = JsonProperty.Access.WRITE_ONLY)
    private String hostname;

    /*
     * Message server IP Address.
     */
    @JsonProperty(value = "ipAddress", access = JsonProperty.Access.WRITE_ONLY)
    private String ipAddress;

    /*
     * Defines the health of SAP Instances.
     */
    @JsonProperty(value = "health", access = JsonProperty.Access.WRITE_ONLY)
    private SapHealthState health;

    /** Creates an instance of MessageServerProperties class. */
    public MessageServerProperties() {
    }

    /**
     * Get the msPort property: Message Server port.
     *
     * @return the msPort value.
     */
    public Long msPort() {
        return this.msPort;
    }

    /**
     * Get the internalMsPort property: Message Server internal MS port.
     *
     * @return the internalMsPort value.
     */
    public Long internalMsPort() {
        return this.internalMsPort;
    }

    /**
     * Get the httpPort property: Message Server HTTP Port.
     *
     * @return the httpPort value.
     */
    public Long httpPort() {
        return this.httpPort;
    }

    /**
     * Get the httpsPort property: Message Server HTTPS Port.
     *
     * @return the httpsPort value.
     */
    public Long httpsPort() {
        return this.httpsPort;
    }

    /**
     * Get the hostname property: Message Server SAP Hostname.
     *
     * @return the hostname value.
     */
    public String hostname() {
        return this.hostname;
    }

    /**
     * Get the ipAddress property: Message server IP Address.
     *
     * @return the ipAddress value.
     */
    public String ipAddress() {
        return this.ipAddress;
    }

    /**
     * Get the health property: Defines the health of SAP Instances.
     *
     * @return the health value.
     */
    public SapHealthState health() {
        return this.health;
    }

    /**
     * Validates the instance.
     *
     * @throws IllegalArgumentException thrown if the instance is not valid.
     */
    public void validate() {
    }
}
