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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SnapshotFileGroup.Builder
files(Collection<SnapshotFile> files)
A list ofSnapshotFile
objects that contain the information on the snapshot files that need to be generated.SnapshotFileGroup.Builder
files(Consumer<SnapshotFile.Builder>... files)
A list ofSnapshotFile
objects that contain the information on the snapshot files that need to be generated.SnapshotFileGroup.Builder
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 Detail
-
files
SnapshotFileGroup.Builder files(Collection<SnapshotFile> 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
SnapshotFileGroup.Builder files(SnapshotFile... 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
SnapshotFileGroup.Builder files(Consumer<SnapshotFile.Builder>... 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 to#files(List
.) - 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:
#files(java.util.Collection
)
-
-