Class Gen2EnvironmentCreateOrUpdateParameters


public final class Gen2EnvironmentCreateOrUpdateParameters extends EnvironmentCreateOrUpdateParameters
Parameters supplied to the Create or Update Environment operation for a Gen2 environment.
  • Constructor Details

    • Gen2EnvironmentCreateOrUpdateParameters

      public Gen2EnvironmentCreateOrUpdateParameters()
      Creates an instance of Gen2EnvironmentCreateOrUpdateParameters class.
  • Method Details

    • withSku

      Set the sku property: The sku determines the type of environment, either Gen1 (S1 or S2) or Gen2 (L1). For Gen1 environments the sku determines the capacity of the environment, the ingress rate, and the billing rate.
      Overrides:
      withSku in class EnvironmentCreateOrUpdateParameters
      Parameters:
      sku - the sku value to set.
      Returns:
      the EnvironmentCreateOrUpdateParameters object itself.
    • withLocation

      public Gen2EnvironmentCreateOrUpdateParameters withLocation(String location)
      Set the location property: The location of the resource.
      Overrides:
      withLocation in class EnvironmentCreateOrUpdateParameters
      Parameters:
      location - the location value to set.
      Returns:
      the CreateOrUpdateTrackedResourceProperties object itself.
    • withTags

      Set the tags property: Key-value pairs of additional properties for the resource.
      Overrides:
      withTags in class EnvironmentCreateOrUpdateParameters
      Parameters:
      tags - the tags value to set.
      Returns:
      the CreateOrUpdateTrackedResourceProperties object itself.
    • timeSeriesIdProperties

      public List<TimeSeriesIdProperty> timeSeriesIdProperties()
      Get the timeSeriesIdProperties property: The list of event properties which will be used to define the environment's time series id.
      Returns:
      the timeSeriesIdProperties value.
    • withTimeSeriesIdProperties

      public Gen2EnvironmentCreateOrUpdateParameters withTimeSeriesIdProperties(List<TimeSeriesIdProperty> timeSeriesIdProperties)
      Set the timeSeriesIdProperties property: The list of event properties which will be used to define the environment's time series id.
      Parameters:
      timeSeriesIdProperties - the timeSeriesIdProperties value to set.
      Returns:
      the Gen2EnvironmentCreateOrUpdateParameters object itself.
    • storageConfiguration

      public Gen2StorageConfigurationInput storageConfiguration()
      Get the storageConfiguration property: The storage configuration provides the connection details that allows the Time Series Insights service to connect to the customer storage account that is used to store the environment's data.
      Returns:
      the storageConfiguration value.
    • withStorageConfiguration

      public Gen2EnvironmentCreateOrUpdateParameters withStorageConfiguration(Gen2StorageConfigurationInput storageConfiguration)
      Set the storageConfiguration property: The storage configuration provides the connection details that allows the Time Series Insights service to connect to the customer storage account that is used to store the environment's data.
      Parameters:
      storageConfiguration - the storageConfiguration value to set.
      Returns:
      the Gen2EnvironmentCreateOrUpdateParameters object itself.
    • warmStoreConfiguration

      public WarmStoreConfigurationProperties warmStoreConfiguration()
      Get the warmStoreConfiguration property: The warm store configuration provides the details to create a warm store cache that will retain a copy of the environment's data available for faster query.
      Returns:
      the warmStoreConfiguration value.
    • withWarmStoreConfiguration

      public Gen2EnvironmentCreateOrUpdateParameters withWarmStoreConfiguration(WarmStoreConfigurationProperties warmStoreConfiguration)
      Set the warmStoreConfiguration property: The warm store configuration provides the details to create a warm store cache that will retain a copy of the environment's data available for faster query.
      Parameters:
      warmStoreConfiguration - the warmStoreConfiguration value to set.
      Returns:
      the Gen2EnvironmentCreateOrUpdateParameters object itself.
    • validate

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