Interface SnapshotFileGroup.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SnapshotFileGroup.Builder,,SnapshotFileGroup> SdkBuilder<SnapshotFileGroup.Builder,,SnapshotFileGroup> SdkPojo
- Enclosing class:
SnapshotFileGroup
@Mutable
@NotThreadSafe
public static interface SnapshotFileGroup.Builder
extends SdkPojo, CopyableBuilder<SnapshotFileGroup.Builder,SnapshotFileGroup>
-
Method Summary
Modifier and TypeMethodDescriptionfiles(Collection<SnapshotFile> files) A list ofSnapshotFileobjects that contain the information on the snapshot files that need to be generated.files(Consumer<SnapshotFile.Builder>... files) A list ofSnapshotFileobjects that contain the information on the snapshot files that need to be generated.files(SnapshotFile... files) A list ofSnapshotFileobjects that contain the information on the snapshot files that need to be generated.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, sdkFieldNameToField, sdkFields
-
Method Details
-
files
A list of
SnapshotFileobjects 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 ofSnapshotFileobjects 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
SnapshotFileobjects 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 ofSnapshotFileobjects 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 theSnapshotFileobjects that contain the information on the snapshot files that need to be generated. This structure can hold 1 configuration at a time.SnapshotFile.Builderavoiding the need to create one manually viaSnapshotFile.builder().When the
Consumercompletes,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:
-