Interface Input.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Input.Builder,
,Input> SdkBuilder<Input.Builder,
,Input> SdkPojo
- Enclosing class:
Input
@Mutable
@NotThreadSafe
public static interface Input.Builder
extends SdkPojo, CopyableBuilder<Input.Builder,Input>
-
Method Summary
Modifier and TypeMethodDescriptiondefault Input.Builder
file
(Consumer<InputFile.Builder> file) The file in the input.The file in the input.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, sdkFieldNameToField, 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.Builder
avoiding the need to create one manually viaInputFile.builder()
.When the
Consumer
completes,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:
-