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

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

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 reference a transport protocol.
 * @param  the protocol type of the value
 */
@Fluent()
public interface HasProtocol  {
    /**
     * @return the protocol
     */
    ProtocolT protocol();

    /**
     * Grouping of definition stages involving specifying the protocol.
     */
    interface DefinitionStages {
        /**
         * The stage of a definition allowing to specify the protocol.
         * @param  the next stage of the definition
         * @param  the type of the protocol value
         */
        interface WithProtocol {
            /**
             * Specifies the transport protocol.
             * @param protocol a transport protocol
             * @return the next stage of the definition
             */
            ReturnT withProtocol(ProtocolT protocol);
        }
    }

    /**
     * Grouping of update stages involving modifying the protocol.
     */
    interface UpdateStages {
        /**
         * The stage of an update allowing to modify the transport protocol.
         * @param  the next stage of the update
         * @param  the type of the protocol value
         */
        interface WithProtocol {
            /**
             * Specifies the transport protocol.
             * @param protocol a transport protocol
             * @return the next stage of the update
             */
            ReturnT withProtocol(ProtocolT protocol);
        }
    }

    /**
     * Grouping of definition stages applicable as part of a load balancer update, involving specifying the protocol.
     */
    interface UpdateDefinitionStages {
        /**
         * The stage of a definition allowing to specify the protocol.
         * @param  the next stage of the definition
         * @param  the protocol type of the value
         */
        interface WithProtocol {
            /**
             * Specifies the transport protocol.
             * @param protocol a transport protocol
             * @return the next stage of the definition
             */
            ReturnT withProtocol(ProtocolT protocol);
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy