Interface AnalyticsConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AnalyticsConfiguration.Builder,AnalyticsConfiguration>,SdkBuilder<AnalyticsConfiguration.Builder,AnalyticsConfiguration>,SdkPojo
- Enclosing class:
- AnalyticsConfiguration
@Mutable @NotThreadSafe public static interface AnalyticsConfiguration.Builder extends SdkPojo, CopyableBuilder<AnalyticsConfiguration.Builder,AnalyticsConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default AnalyticsConfiguration.Builderfilter(Consumer<AnalyticsFilter.Builder> filter)The filter used to describe a set of objects for analyses.AnalyticsConfiguration.Builderfilter(AnalyticsFilter filter)The filter used to describe a set of objects for analyses.AnalyticsConfiguration.Builderid(String id)The ID that identifies the analytics configuration.default AnalyticsConfiguration.BuilderstorageClassAnalysis(Consumer<StorageClassAnalysis.Builder> storageClassAnalysis)Contains data related to access patterns to be collected and made available to analyze the tradeoffs between different storage classes.AnalyticsConfiguration.BuilderstorageClassAnalysis(StorageClassAnalysis storageClassAnalysis)Contains data related to access patterns to be collected and made available to analyze the tradeoffs between different storage classes.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
id
AnalyticsConfiguration.Builder id(String 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
AnalyticsConfiguration.Builder filter(AnalyticsFilter 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
default AnalyticsConfiguration.Builder filter(Consumer<AnalyticsFilter.Builder> 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 theAnalyticsFilter.Builderavoiding the need to create one manually viaAnalyticsFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilter(AnalyticsFilter).- Parameters:
filter- a consumer that will call methods onAnalyticsFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
filter(AnalyticsFilter)
-
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 theStorageClassAnalysis.Builderavoiding the need to create one manually viaStorageClassAnalysis.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostorageClassAnalysis(StorageClassAnalysis).- Parameters:
storageClassAnalysis- a consumer that will call methods onStorageClassAnalysis.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
storageClassAnalysis(StorageClassAnalysis)
-
-