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