Interface ExtensionConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ExtensionConfiguration.Builder,,ExtensionConfiguration> SdkBuilder<ExtensionConfiguration.Builder,,ExtensionConfiguration> SdkPojo
- Enclosing class:
ExtensionConfiguration
@Mutable
@NotThreadSafe
public static interface ExtensionConfiguration.Builder
extends SdkPojo, CopyableBuilder<ExtensionConfiguration.Builder,ExtensionConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionallowedExtensions(Collection<AllowedExtension> allowedExtensions) The list of allowed file extensions.allowedExtensions(Consumer<AllowedExtension.Builder>... allowedExtensions) The list of allowed file extensions.allowedExtensions(AllowedExtension... allowedExtensions) The list of allowed file extensions.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
-
allowedExtensions
The list of allowed file extensions.
- Parameters:
allowedExtensions- The list of allowed file extensions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedExtensions
The list of allowed file extensions.
- Parameters:
allowedExtensions- The list of allowed file extensions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedExtensions
ExtensionConfiguration.Builder allowedExtensions(Consumer<AllowedExtension.Builder>... allowedExtensions) The list of allowed file extensions.
This is a convenience method that creates an instance of theAllowedExtension.Builderavoiding the need to create one manually viaAllowedExtension.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toallowedExtensions(List<AllowedExtension>).- Parameters:
allowedExtensions- a consumer that will call methods onAllowedExtension.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-