Interface NotificationConfigurationFilter.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<NotificationConfigurationFilter.Builder,,NotificationConfigurationFilter> SdkBuilder<NotificationConfigurationFilter.Builder,,NotificationConfigurationFilter> SdkPojo
- Enclosing class:
- NotificationConfigurationFilter
@Mutable
@NotThreadSafe
public static interface NotificationConfigurationFilter.Builder
extends SdkPojo, CopyableBuilder<NotificationConfigurationFilter.Builder,NotificationConfigurationFilter>
-
Method Summary
Modifier and TypeMethodDescriptionkey(Consumer<S3KeyFilter.Builder> key) Sets the value of the Key property for this object.key(S3KeyFilter key) Sets the value of the Key property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
Sets the value of the Key property for this object. This is a convenience method that creates an instance of theS3KeyFilter.Builderavoiding the need to create one manually viaS3KeyFilter.builder().When the
Consumercompletes,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:
-