Interface Input.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Input.Builder,Input>,SdkBuilder<Input.Builder,Input>,SdkPojo
- Enclosing class:
- Input
public static interface Input.Builder extends SdkPojo, CopyableBuilder<Input.Builder,Input>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Input.Builderfile(Consumer<InputFile.Builder> file)The file in the input.Input.Builderfile(InputFile file)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 Detail
-
file
Input.Builder file(InputFile 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
default Input.Builder file(Consumer<InputFile.Builder> 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:
file(InputFile)
-
-