Class SlotConfigNames


  • public final class SlotConfigNames
    extends Object
    Names for connection strings, application settings, and external Azure storage account configuration identifiers to be marked as sticky to the deployment slot and not moved during a swap operation. This is valid for all deployment slots in an app.
    • Constructor Detail

      • SlotConfigNames

        public SlotConfigNames()
    • Method Detail

      • connectionStringNames

        public List<String> connectionStringNames()
        Get the connectionStringNames property: List of connection string names.
        Returns:
        the connectionStringNames value.
      • withConnectionStringNames

        public SlotConfigNames withConnectionStringNames​(List<String> connectionStringNames)
        Set the connectionStringNames property: List of connection string names.
        Parameters:
        connectionStringNames - the connectionStringNames value to set.
        Returns:
        the SlotConfigNames object itself.
      • appSettingNames

        public List<String> appSettingNames()
        Get the appSettingNames property: List of application settings names.
        Returns:
        the appSettingNames value.
      • withAppSettingNames

        public SlotConfigNames withAppSettingNames​(List<String> appSettingNames)
        Set the appSettingNames property: List of application settings names.
        Parameters:
        appSettingNames - the appSettingNames value to set.
        Returns:
        the SlotConfigNames object itself.
      • azureStorageConfigNames

        public List<String> azureStorageConfigNames()
        Get the azureStorageConfigNames property: List of external Azure storage account identifiers.
        Returns:
        the azureStorageConfigNames value.
      • withAzureStorageConfigNames

        public SlotConfigNames withAzureStorageConfigNames​(List<String> azureStorageConfigNames)
        Set the azureStorageConfigNames property: List of external Azure storage account identifiers.
        Parameters:
        azureStorageConfigNames - the azureStorageConfigNames value to set.
        Returns:
        the SlotConfigNames object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.