Interface AnalyticsConfiguration.Builder

All Superinterfaces:
Buildable, CopyableBuilder<AnalyticsConfiguration.Builder,AnalyticsConfiguration>, SdkBuilder<AnalyticsConfiguration.Builder,AnalyticsConfiguration>, SdkPojo
Enclosing class:
AnalyticsConfiguration

public static interface AnalyticsConfiguration.Builder extends SdkPojo, CopyableBuilder<AnalyticsConfiguration.Builder,AnalyticsConfiguration>
  • Method Details

    • id

      The ID that identifies the analytics configuration.

      Parameters:
      id - The ID that identifies the analytics configuration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • filter

      The filter used to describe a set of objects for analyses. A filter must have exactly one prefix, one tag, or one conjunction (AnalyticsAndOperator). If no filter is provided, all objects will be considered in any analysis.

      Parameters:
      filter - The filter used to describe a set of objects for analyses. A filter must have exactly one prefix, one tag, or one conjunction (AnalyticsAndOperator). If no filter is provided, all objects will be considered in any analysis.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • filter

      The filter used to describe a set of objects for analyses. A filter must have exactly one prefix, one tag, or one conjunction (AnalyticsAndOperator). If no filter is provided, all objects will be considered in any analysis.

      This is a convenience method that creates an instance of the AnalyticsFilter.Builder avoiding the need to create one manually via AnalyticsFilter.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to filter(AnalyticsFilter).

      Parameters:
      filter - a consumer that will call methods on AnalyticsFilter.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • storageClassAnalysis

      AnalyticsConfiguration.Builder storageClassAnalysis(StorageClassAnalysis storageClassAnalysis)

      Contains data related to access patterns to be collected and made available to analyze the tradeoffs between different storage classes.

      Parameters:
      storageClassAnalysis - Contains data related to access patterns to be collected and made available to analyze the tradeoffs between different storage classes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • storageClassAnalysis

      default AnalyticsConfiguration.Builder storageClassAnalysis(Consumer<StorageClassAnalysis.Builder> storageClassAnalysis)

      Contains data related to access patterns to be collected and made available to analyze the tradeoffs between different storage classes.

      This is a convenience method that creates an instance of the StorageClassAnalysis.Builder avoiding the need to create one manually via StorageClassAnalysis.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to storageClassAnalysis(StorageClassAnalysis).

      Parameters:
      storageClassAnalysis - a consumer that will call methods on StorageClassAnalysis.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: