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