Package com.pulumi.aws.s3
Class BucketMetricArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.s3.BucketMetricArgs.Builder
-
- Enclosing class:
- BucketMetricArgs
public static final class BucketMetricArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(BucketMetricArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BucketMetricArgs.Builder
bucket(com.pulumi.core.Output<java.lang.String> bucket)
BucketMetricArgs.Builder
bucket(java.lang.String bucket)
BucketMetricArgs
build()
BucketMetricArgs.Builder
filter(BucketMetricFilterArgs filter)
BucketMetricArgs.Builder
filter(com.pulumi.core.Output<BucketMetricFilterArgs> filter)
BucketMetricArgs.Builder
name(com.pulumi.core.Output<java.lang.String> name)
BucketMetricArgs.Builder
name(java.lang.String name)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(BucketMetricArgs defaults)
-
-
Method Detail
-
bucket
public BucketMetricArgs.Builder bucket(com.pulumi.core.Output<java.lang.String> bucket)
- Parameters:
bucket
- Name of the bucket to put metric configuration.- Returns:
- builder
-
bucket
public BucketMetricArgs.Builder bucket(java.lang.String bucket)
- Parameters:
bucket
- Name of the bucket to put metric configuration.- Returns:
- builder
-
filter
public BucketMetricArgs.Builder filter(@Nullable com.pulumi.core.Output<BucketMetricFilterArgs> filter)
- Parameters:
filter
- [Object filtering](http://docs.aws.amazon.com/AmazonS3/latest/dev/metrics-configurations.html#metrics-configurations-filter) that accepts a prefix, tags, or a logical AND of prefix and tags (documented below).- Returns:
- builder
-
filter
public BucketMetricArgs.Builder filter(BucketMetricFilterArgs filter)
- Parameters:
filter
- [Object filtering](http://docs.aws.amazon.com/AmazonS3/latest/dev/metrics-configurations.html#metrics-configurations-filter) that accepts a prefix, tags, or a logical AND of prefix and tags (documented below).- Returns:
- builder
-
name
public BucketMetricArgs.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name
- Unique identifier of the metrics configuration for the bucket. Must be less than or equal to 64 characters in length.- Returns:
- builder
-
name
public BucketMetricArgs.Builder name(java.lang.String name)
- Parameters:
name
- Unique identifier of the metrics configuration for the bucket. Must be less than or equal to 64 characters in length.- Returns:
- builder
-
build
public BucketMetricArgs build()
-
-