Interface BucketMetrics
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
BucketMetrics.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-22T02:24:08.808Z")
@Stability(Stable)
public interface BucketMetrics
extends software.amazon.jsii.JsiiSerializable
Specifies a metrics configuration for the CloudWatch request metrics from an Amazon S3 bucket.
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.*; Object tagFilters; BucketMetrics bucketMetrics = BucketMetrics.builder() .id("id") // the properties below are optional .prefix("prefix") .tagFilters(Map.of( "tagFiltersKey", tagFilters)) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forBucketMetrics
static final class
An implementation forBucketMetrics
-
Method Summary
Modifier and TypeMethodDescriptionstatic BucketMetrics.Builder
builder()
getId()
The ID used to identify the metrics configuration.default String
The prefix that an object must have to be included in the metrics results.Specifies a list of tag filters to use as a metrics configuration filter.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getId
The ID used to identify the metrics configuration. -
getPrefix
The prefix that an object must have to be included in the metrics results. -
getTagFilters
Specifies a list of tag filters to use as a metrics configuration filter.The metrics configuration includes only objects that meet the filter's criteria.
-
builder
- Returns:
- a
BucketMetrics.Builder
ofBucketMetrics
-