@Stability(value=Stable) public static final class CfnBucket.FilterRuleProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnBucket.FilterRuleProperty>
CfnBucket.FilterRuleProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnBucket.FilterRuleProperty |
build()
Builds the configured instance.
|
CfnBucket.FilterRuleProperty.Builder |
name(String name)
Sets the value of
CfnBucket.FilterRuleProperty.getName() |
CfnBucket.FilterRuleProperty.Builder |
value(String value)
Sets the value of
CfnBucket.FilterRuleProperty.getValue() |
@Stability(value=Stable) public CfnBucket.FilterRuleProperty.Builder name(String name)
CfnBucket.FilterRuleProperty.getName()name - The object key name prefix or suffix identifying one or more objects to which the filtering rule applies. This parameter is required.
The maximum length is 1,024 characters. Overlapping prefixes and suffixes are not supported. For more information, see Configuring Event Notifications in the Amazon S3 User Guide .this@Stability(value=Stable) public CfnBucket.FilterRuleProperty.Builder value(String value)
CfnBucket.FilterRuleProperty.getValue()value - The value that the filter searches for in object key names. This parameter is required.this@Stability(value=Stable) public CfnBucket.FilterRuleProperty build()
build in interface software.amazon.jsii.Builder<CfnBucket.FilterRuleProperty>CfnBucket.FilterRulePropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.