@Stability(value=Stable) public static final class BucketMetrics.Builder extends Object implements software.amazon.jsii.Builder<BucketMetrics>
BucketMetrics
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
BucketMetrics |
build()
Builds the configured instance.
|
BucketMetrics.Builder |
id(String id)
Sets the value of
BucketMetrics.getId() |
BucketMetrics.Builder |
prefix(String prefix)
Sets the value of
BucketMetrics.getPrefix() |
BucketMetrics.Builder |
tagFilters(Map<String,? extends Object> tagFilters)
Sets the value of
BucketMetrics.getTagFilters() |
@Stability(value=Stable) public BucketMetrics.Builder id(String id)
BucketMetrics.getId()
id
- The ID used to identify the metrics configuration. This parameter is required.this
@Stability(value=Stable) public BucketMetrics.Builder prefix(String prefix)
BucketMetrics.getPrefix()
prefix
- The prefix that an object must have to be included in the metrics results.this
@Stability(value=Stable) public BucketMetrics.Builder tagFilters(Map<String,? extends Object> tagFilters)
BucketMetrics.getTagFilters()
tagFilters
- 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.this
@Stability(value=Stable) public BucketMetrics build()
build
in interface software.amazon.jsii.Builder<BucketMetrics>
BucketMetrics
NullPointerException
- if any required attribute was not providedCopyright © 2021. All rights reserved.