Interface SnapshotJobResultFileGroup.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SnapshotJobResultFileGroup.Builder,
,SnapshotJobResultFileGroup> SdkBuilder<SnapshotJobResultFileGroup.Builder,
,SnapshotJobResultFileGroup> SdkPojo
- Enclosing class:
SnapshotJobResultFileGroup
public static interface SnapshotJobResultFileGroup.Builder
extends SdkPojo, CopyableBuilder<SnapshotJobResultFileGroup.Builder,SnapshotJobResultFileGroup>
-
Method Summary
Modifier and TypeMethodDescriptionfiles
(Collection<SnapshotFile> files) A list ofSnapshotFile
objects.files
(Consumer<SnapshotFile.Builder>... files) A list ofSnapshotFile
objects.files
(SnapshotFile... files) A list ofSnapshotFile
objects.s3Results
(Collection<SnapshotJobS3Result> s3Results) A list ofSnapshotJobS3Result
objects.s3Results
(Consumer<SnapshotJobS3Result.Builder>... s3Results) A list ofSnapshotJobS3Result
objects.s3Results
(SnapshotJobS3Result... s3Results) A list ofSnapshotJobS3Result
objects.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.- Parameters:
files
- A list ofSnapshotFile
objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
files
A list of
SnapshotFile
objects.- Parameters:
files
- A list ofSnapshotFile
objects.- 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.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:
-
s3Results
A list of
SnapshotJobS3Result
objects.- Parameters:
s3Results
- A list ofSnapshotJobS3Result
objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Results
A list of
SnapshotJobS3Result
objects.- Parameters:
s3Results
- A list ofSnapshotJobS3Result
objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Results
A list of
This is a convenience method that creates an instance of theSnapshotJobS3Result
objects.SnapshotJobS3Result.Builder
avoiding the need to create one manually viaSnapshotJobS3Result.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tos3Results(List<SnapshotJobS3Result>)
.- Parameters:
s3Results
- a consumer that will call methods onSnapshotJobS3Result.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-