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

package com.azure.resourcemanager.synapse.models;

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

/** The details of Azure-SSIS integration runtime outbound network dependency endpoint. */
@Fluent
public final class IntegrationRuntimeOutboundNetworkDependenciesEndpointDetails {
    /*
     * The port of endpoint.
     */
    @JsonProperty(value = "port")
    private Integer port;

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

    /**
     * Get the port property: The port of endpoint.
     *
     * @return the port value.
     */
    public Integer port() {
        return this.port;
    }

    /**
     * Set the port property: The port of endpoint.
     *
     * @param port the port value to set.
     * @return the IntegrationRuntimeOutboundNetworkDependenciesEndpointDetails object itself.
     */
    public IntegrationRuntimeOutboundNetworkDependenciesEndpointDetails withPort(Integer port) {
        this.port = port;
        return this;
    }

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