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

package com.azure.resourcemanager.appplatform.models;

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

/** Remote debugging payload. */
@Fluent
public final class RemoteDebuggingPayload {
    /*
     * Application debugging port.
     */
    @JsonProperty(value = "port")
    private Integer port;

    /**
     * Get the port property: Application debugging port.
     *
     * @return the port value.
     */
    public Integer port() {
        return this.port;
    }

    /**
     * Set the port property: Application debugging port.
     *
     * @param port the port value to set.
     * @return the RemoteDebuggingPayload object itself.
     */
    public RemoteDebuggingPayload withPort(Integer port) {
        this.port = port;
        return this;
    }

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