Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information.
/** * 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.
/** * An interface representing a model's ability to have a port number. */
@Fluent public interface HasPort {
Returns:the port number
/** * @return the port number */
int port();
Grouping of definition stages involving specifying a port number.
/** * Grouping of definition stages involving specifying a port number. */
interface DefinitionStages {
The stage of a definition allowing to specify the port number.
Type parameters:
  • <ReturnT> – the next stage of the definition
/** * The stage of a definition allowing to specify the port number. * @param <ReturnT> the next stage of the definition */
interface WithPort<ReturnT> {
Specifies the port number.
Params:
  • portNumber – a port number
Returns:the next stage of the definition
/** * 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.
/** * Grouping of update stages involving specifying the port number. */
interface UpdateStages {
The stage of a definition allowing to specify a port number.
Type parameters:
  • <ReturnT> – the next stage of the update
/** * The stage of a definition allowing to specify a port number. * @param <ReturnT> the next stage of the update */
interface WithPort<ReturnT> {
Specifies the port number.
Params:
  • portNumber – a port number
Returns:the next stage of the update
/** * 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.
/** * 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.
Type parameters:
  • <ReturnT> – the next stage of the definition
/** * The stage of a definition allowing to specify the port number. * @param <ReturnT> the next stage of the definition */
interface WithPort<ReturnT> {
Specifies the port number.
Params:
  • portNumber – a port number
Returns:the next stage of the definition
/** * Specifies the port number. * @param portNumber a port number * @return the next stage of the definition */
ReturnT withPort(int portNumber); } } }