Interface SnapshotJobResultFileGroup.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SnapshotJobResultFileGroup.Builder,,SnapshotJobResultFileGroup> SdkBuilder<SnapshotJobResultFileGroup.Builder,,SnapshotJobResultFileGroup> SdkPojo
- Enclosing class:
SnapshotJobResultFileGroup
@Mutable
@NotThreadSafe
public static interface SnapshotJobResultFileGroup.Builder
extends SdkPojo, CopyableBuilder<SnapshotJobResultFileGroup.Builder,SnapshotJobResultFileGroup>
-
Method Summary
Modifier and TypeMethodDescriptionfiles(Collection<SnapshotFile> files) A list ofSnapshotFileobjects.files(Consumer<SnapshotFile.Builder>... files) A list ofSnapshotFileobjects.files(SnapshotFile... files) A list ofSnapshotFileobjects.s3Results(Collection<SnapshotJobS3Result> s3Results) A list ofSnapshotJobS3Resultobjects.s3Results(Consumer<SnapshotJobS3Result.Builder>... s3Results) A list ofSnapshotJobS3Resultobjects.s3Results(SnapshotJobS3Result... s3Results) A list ofSnapshotJobS3Resultobjects.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.- Parameters:
files- A list ofSnapshotFileobjects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
files
A list of
SnapshotFileobjects.- Parameters:
files- A list ofSnapshotFileobjects.- 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.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:
-
s3Results
A list of
SnapshotJobS3Resultobjects.- Parameters:
s3Results- A list ofSnapshotJobS3Resultobjects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Results
A list of
SnapshotJobS3Resultobjects.- Parameters:
s3Results- A list ofSnapshotJobS3Resultobjects.- 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 theSnapshotJobS3Resultobjects.SnapshotJobS3Result.Builderavoiding the need to create one manually viaSnapshotJobS3Result.builder().When the
Consumercompletes,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:
-