public static interface AnalyticsConfiguration.Builder extends CopyableBuilder<AnalyticsConfiguration.Builder,AnalyticsConfiguration>
Modifier and Type | Method and Description |
---|---|
AnalyticsConfiguration.Builder |
filter(AnalyticsFilter filter)
The filter used to describe a set of objects for analyses.
|
default AnalyticsConfiguration.Builder |
filter(Consumer<AnalyticsFilter.Builder> filter)
The filter used to describe a set of objects for analyses.
|
AnalyticsConfiguration.Builder |
id(String id)
The identifier used to represent an analytics configuration.
|
default AnalyticsConfiguration.Builder |
storageClassAnalysis(Consumer<StorageClassAnalysis.Builder> storageClassAnalysis)
If present, it indicates that data related to access patterns will be collected and made available to analyze
the tradeoffs between different storage classes.
|
AnalyticsConfiguration.Builder |
storageClassAnalysis(StorageClassAnalysis storageClassAnalysis)
If present, it indicates that data related to access patterns will be collected and made available to analyze
the tradeoffs between different storage classes.
|
copy
applyMutation, build
AnalyticsConfiguration.Builder id(String id)
id
- The identifier used to represent an analytics configuration.AnalyticsConfiguration.Builder filter(AnalyticsFilter filter)
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.default AnalyticsConfiguration.Builder filter(Consumer<AnalyticsFilter.Builder> filter)
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)
.filter
- a consumer that will call methods on AnalyticsFilter.Builder
filter(AnalyticsFilter)
AnalyticsConfiguration.Builder storageClassAnalysis(StorageClassAnalysis storageClassAnalysis)
storageClassAnalysis
- If present, it indicates that data related to access patterns will be collected and made available to
analyze the tradeoffs between different storage classes.default AnalyticsConfiguration.Builder storageClassAnalysis(Consumer<StorageClassAnalysis.Builder> storageClassAnalysis)
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)
.storageClassAnalysis
- a consumer that will call methods on StorageClassAnalysis.Builder
storageClassAnalysis(StorageClassAnalysis)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.