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