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

com.azure.resourcemanager.network.models.HasServerNameIndication Maven / Gradle / Ivy

Go to download

This package contains Microsoft Azure Network Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt

There is a newer version: 2.44.0
Show newest version
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.resourcemanager.network.models;

import com.azure.core.annotation.Fluent;

/** An interface representing a model's ability to require server name indication. */
@Fluent
public interface HasServerNameIndication {
    /** @return true if server name indication (SNI) is required, else false. */
    boolean requiresServerNameIndication();

    /** Grouping of definition stages involving requiring the server name indication. */
    interface DefinitionStages {
        /**
         * The stage of a definition allowing to require server name indication (SNI).
         *
         * @param  the next stage of the definition
         */
        interface WithServerNameIndication {
            /**
             * Requires server name indication (SNI).
             *
             * @return the next stage of the definition
             */
            ReturnT withServerNameIndication();

            /**
             * Ensures server name indication (SNI) is not required.
             *
             * @return the next stage of the definition
             */
            ReturnT withoutServerNameIndication();
        }
    }

    /** Grouping of update stages involving requiring the server name indication. */
    interface UpdateStages {
        /**
         * The stage of an update allowing to require server name indication (SNI).
         *
         * @param  the next stage of the update
         */
        interface WithServerNameIndication {
            /**
             * Requires server name indication (SNI).
             *
             * @return the next stage of the update
             */
            ReturnT withServerNameIndication();

            /**
             * Ensures server name indication (SNI) is not required.
             *
             * @return the next stage of the update
             */
            ReturnT withoutServerNameIndication();
        }
    }

    /** Grouping of definition stages applicable as part of a parent resource update. */
    interface UpdateDefinitionStages {
        /**
         * The stage of a definition allowing to require server name indication (SNI).
         *
         * @param  the next stage of the definition
         */
        interface WithServerNameIndication {
            /**
             * Requires server name indication (SNI).
             *
             * @return the next stage of the definition
             */
            ReturnT withServerNameIndication();

            /**
             * Ensures server name indication (SNI) is not required.
             *
             * @return the next stage of the definition
             */
            ReturnT withoutServerNameIndication();
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy