Interface Input.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Input.Builder,,Input> SdkBuilder<Input.Builder,,Input> SdkPojo
- Enclosing class:
Input
-
Method Summary
Modifier and TypeMethodDescriptiondefault Input.Builderfile(Consumer<InputFile.Builder> file) The file in the input.The file in the input.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, sdkFields
-
Method Details
-
file
The file in the input.
- Parameters:
file- The file in the input.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
file
The file in the input.
This is a convenience method that creates an instance of theInputFile.Builderavoiding the need to create one manually viaInputFile.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofile(InputFile).- Parameters:
file- a consumer that will call methods onInputFile.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-