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