Class CfnBucket.TagFilterProperty.Builder
java.lang.Object
software.amazon.awscdk.services.s3.CfnBucket.TagFilterProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBucket.TagFilterProperty>
- Enclosing interface:
CfnBucket.TagFilterProperty
@Stability(Stable)
public static final class CfnBucket.TagFilterProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBucket.TagFilterProperty>
A builder for
CfnBucket.TagFilterProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnBucket.TagFilterProperty.getKey()
Sets the value ofCfnBucket.TagFilterProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
key
Sets the value ofCfnBucket.TagFilterProperty.getKey()
- Parameters:
key
- The tag key. This parameter is required.- Returns:
this
-
value
Sets the value ofCfnBucket.TagFilterProperty.getValue()
- Parameters:
value
- The tag value. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnBucket.TagFilterProperty>
- Returns:
- a new instance of
CfnBucket.TagFilterProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-