Interface SnapshotFileGroup.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SnapshotFileGroup.Builder,
,SnapshotFileGroup> SdkBuilder<SnapshotFileGroup.Builder,
,SnapshotFileGroup> SdkPojo
- Enclosing class:
SnapshotFileGroup
public static interface SnapshotFileGroup.Builder
extends SdkPojo, CopyableBuilder<SnapshotFileGroup.Builder,SnapshotFileGroup>
-
Method Summary
Modifier and TypeMethodDescriptionfiles
(Collection<SnapshotFile> files) A list ofSnapshotFile
objects that contain the information on the snapshot files that need to be generated.files
(Consumer<SnapshotFile.Builder>... files) A list ofSnapshotFile
objects that contain the information on the snapshot files that need to be generated.files
(SnapshotFile... files) A list ofSnapshotFile
objects that contain the information on the snapshot files that need to be generated.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, sdkFields
-
Method Details
-
files
A list of
SnapshotFile
objects that contain the information on the snapshot files that need to be generated. This structure can hold 1 configuration at a time.- Parameters:
files
- A list ofSnapshotFile
objects that contain the information on the snapshot files that need to be generated. This structure can hold 1 configuration at a time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
files
A list of
SnapshotFile
objects that contain the information on the snapshot files that need to be generated. This structure can hold 1 configuration at a time.- Parameters:
files
- A list ofSnapshotFile
objects that contain the information on the snapshot files that need to be generated. This structure can hold 1 configuration at a time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
files
A list of
This is a convenience method that creates an instance of theSnapshotFile
objects that contain the information on the snapshot files that need to be generated. This structure can hold 1 configuration at a time.SnapshotFile.Builder
avoiding the need to create one manually viaSnapshotFile.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofiles(List<SnapshotFile>)
.- Parameters:
files
- a consumer that will call methods onSnapshotFile.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-