@Stability(value=Stable)
public static interface CfnBucket.AnalyticsConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.s3.*;
AnalyticsConfigurationProperty analyticsConfigurationProperty = AnalyticsConfigurationProperty.builder()
.id("id")
.storageClassAnalysis(StorageClassAnalysisProperty.builder()
.dataExport(DataExportProperty.builder()
.destination(DestinationProperty.builder()
.bucketArn("bucketArn")
.format("format")
// the properties below are optional
.bucketAccountId("bucketAccountId")
.prefix("prefix")
.build())
.outputSchemaVersion("outputSchemaVersion")
.build())
.build())
// the properties below are optional
.prefix("prefix")
.tagFilters(List.of(TagFilterProperty.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnBucket.AnalyticsConfigurationProperty.Builder
A builder for
CfnBucket.AnalyticsConfigurationProperty |
static class |
CfnBucket.AnalyticsConfigurationProperty.Jsii$Proxy
An implementation for
CfnBucket.AnalyticsConfigurationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnBucket.AnalyticsConfigurationProperty.Builder |
builder() |
String |
getId()
The ID that identifies the analytics configuration.
|
default String |
getPrefix()
The prefix that an object must have to be included in the analytics results.
|
Object |
getStorageClassAnalysis()
Contains data related to access patterns to be collected and made available to analyze the tradeoffs between different storage classes.
|
default Object |
getTagFilters()
The tags to use when evaluating an analytics filter.
|
@Stability(value=Stable) @NotNull String getId()
@Stability(value=Stable) @NotNull Object getStorageClassAnalysis()
@Stability(value=Stable) @Nullable default String getPrefix()
@Stability(value=Stable) @Nullable default Object getTagFilters()
The analytics only includes objects that meet the filter's criteria. If no filter is specified, all of the contents of the bucket are included in the analysis.
@Stability(value=Stable) static CfnBucket.AnalyticsConfigurationProperty.Builder builder()
Copyright © 2022. All rights reserved.