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