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

com.microsoft.azure.management.network.model.HasPort Maven / Gradle / Ivy

Go to download

This package contains Microsoft Azure Network Management SDK. A new set of management libraries are now Generally Available. For documentation on how to use the new libraries, please see https://aka.ms/azsdk/java/mgmt

There is a newer version: 1.41.4
Show newest version
/**
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License. See License.txt in the project root for
 * license information.
 */
package com.microsoft.azure.management.network.model;

import com.microsoft.azure.management.apigeneration.Fluent;

/**
 * An interface representing a model's ability to have a port number.
 */
@Fluent
public interface HasPort {
    /**
     * @return the port number
     */
    int port();

    /**
     * Grouping of definition stages involving specifying a port number.
     */
    interface DefinitionStages {
        /**
         * The stage of a definition allowing to specify the port number.
         * @param  the next stage of the definition
         */
        interface WithPort {
            /**
             * Specifies the port number.
             * @param portNumber a port number
             * @return the next stage of the definition
             */
            ReturnT withPort(int portNumber);
        }
    }

    /**
     * Grouping of update stages involving specifying the port number.
     */
    interface UpdateStages {
        /**
         * The stage of a definition allowing to specify a port number.
         * @param  the next stage of the update
         */
        interface WithPort {
            /**
             * Specifies the port number.
             * @param portNumber a port number
             * @return the next stage of the update
             */
            ReturnT withPort(int portNumber);
        }
    }

    /**
     * Grouping of definition stages of a parent resource update involving specifying a port number.
     */
    interface UpdateDefinitionStages {
        /**
         * The stage of a definition allowing to specify the port number.
         * @param  the next stage of the definition
         */
        interface WithPort {
            /**
             * Specifies the port number.
             * @param portNumber a port number
             * @return the next stage of the definition
             */
            ReturnT withPort(int portNumber);
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy