Interface NotificationConfigurationFilter.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<NotificationConfigurationFilter.Builder,NotificationConfigurationFilter>
,SdkBuilder<NotificationConfigurationFilter.Builder,NotificationConfigurationFilter>
,SdkPojo
- Enclosing class:
- NotificationConfigurationFilter
public static interface NotificationConfigurationFilter.Builder extends SdkPojo, CopyableBuilder<NotificationConfigurationFilter.Builder,NotificationConfigurationFilter>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default NotificationConfigurationFilter.Builder
key(Consumer<S3KeyFilter.Builder> key)
Sets the value of the Key property for this object.NotificationConfigurationFilter.Builder
key(S3KeyFilter key)
Sets the value of the Key property for this object.-
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 Detail
-
key
NotificationConfigurationFilter.Builder key(S3KeyFilter key)
Sets the value of the Key property for this object.- Parameters:
key
- The new value for the Key property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
key
default NotificationConfigurationFilter.Builder key(Consumer<S3KeyFilter.Builder> key)
Sets the value of the Key property for this object. This is a convenience method that creates an instance of theS3KeyFilter.Builder
avoiding the need to create one manually viaS3KeyFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tokey(S3KeyFilter)
.- Parameters:
key
- a consumer that will call methods onS3KeyFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
key(S3KeyFilter)
-
-