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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SnapshotJobResultFileGroup.Builder
files(Collection<SnapshotFile> files)
A list ofSnapshotFile
objects.SnapshotJobResultFileGroup.Builder
files(Consumer<SnapshotFile.Builder>... files)
A list ofSnapshotFile
objects.SnapshotJobResultFileGroup.Builder
files(SnapshotFile... files)
A list ofSnapshotFile
objects.SnapshotJobResultFileGroup.Builder
s3Results(Collection<SnapshotJobS3Result> s3Results)
A list ofSnapshotJobS3Result
objects.SnapshotJobResultFileGroup.Builder
s3Results(Consumer<SnapshotJobS3Result.Builder>... s3Results)
A list ofSnapshotJobS3Result
objects.SnapshotJobResultFileGroup.Builder
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 Detail
-
files
SnapshotJobResultFileGroup.Builder files(Collection<SnapshotFile> 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
SnapshotJobResultFileGroup.Builder files(SnapshotFile... 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
SnapshotJobResultFileGroup.Builder files(Consumer<SnapshotFile.Builder>... 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 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
)
-
s3Results
SnapshotJobResultFileGroup.Builder s3Results(Collection<SnapshotJobS3Result> 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
SnapshotJobResultFileGroup.Builder s3Results(SnapshotJobS3Result... 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
SnapshotJobResultFileGroup.Builder s3Results(Consumer<SnapshotJobS3Result.Builder>... 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 to#s3Results(List
.) - 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:
#s3Results(java.util.Collection
)
-
-