Interface AwsS3BucketNotificationConfigurationS3KeyFilter.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AwsS3BucketNotificationConfigurationS3KeyFilter.Builder,
,AwsS3BucketNotificationConfigurationS3KeyFilter> SdkBuilder<AwsS3BucketNotificationConfigurationS3KeyFilter.Builder,
,AwsS3BucketNotificationConfigurationS3KeyFilter> SdkPojo
- Enclosing class:
AwsS3BucketNotificationConfigurationS3KeyFilter
public static interface AwsS3BucketNotificationConfigurationS3KeyFilter.Builder
extends SdkPojo, CopyableBuilder<AwsS3BucketNotificationConfigurationS3KeyFilter.Builder,AwsS3BucketNotificationConfigurationS3KeyFilter>
-
Method Summary
Modifier and TypeMethodDescriptionThe filter rules for the filter.The filter rules for the filter.filterRules
(AwsS3BucketNotificationConfigurationS3KeyFilterRule... filterRules) The filter rules for the filter.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
filterRules
AwsS3BucketNotificationConfigurationS3KeyFilter.Builder filterRules(Collection<AwsS3BucketNotificationConfigurationS3KeyFilterRule> filterRules) The filter rules for the filter.
- Parameters:
filterRules
- The filter rules for the filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filterRules
AwsS3BucketNotificationConfigurationS3KeyFilter.Builder filterRules(AwsS3BucketNotificationConfigurationS3KeyFilterRule... filterRules) The filter rules for the filter.
- Parameters:
filterRules
- The filter rules for the filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filterRules
AwsS3BucketNotificationConfigurationS3KeyFilter.Builder filterRules(Consumer<AwsS3BucketNotificationConfigurationS3KeyFilterRule.Builder>... filterRules) The filter rules for the filter.
This is a convenience method that creates an instance of theAwsS3BucketNotificationConfigurationS3KeyFilterRule.Builder
avoiding the need to create one manually viaAwsS3BucketNotificationConfigurationS3KeyFilterRule.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilterRules(List<AwsS3BucketNotificationConfigurationS3KeyFilterRule>)
.- Parameters:
filterRules
- a consumer that will call methods onAwsS3BucketNotificationConfigurationS3KeyFilterRule.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-