Interface AnonymousUserSnapshotJobResult.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AnonymousUserSnapshotJobResult.Builder,
,AnonymousUserSnapshotJobResult> SdkBuilder<AnonymousUserSnapshotJobResult.Builder,
,AnonymousUserSnapshotJobResult> SdkPojo
- Enclosing class:
AnonymousUserSnapshotJobResult
-
Method Summary
Modifier and TypeMethodDescriptionfileGroups
(Collection<SnapshotJobResultFileGroup> fileGroups) A list ofSnapshotJobResultFileGroup
objects that contain information on the files that are requested during aStartDashboardSnapshotJob
API call.fileGroups
(Consumer<SnapshotJobResultFileGroup.Builder>... fileGroups) A list ofSnapshotJobResultFileGroup
objects that contain information on the files that are requested during aStartDashboardSnapshotJob
API call.fileGroups
(SnapshotJobResultFileGroup... fileGroups) A list ofSnapshotJobResultFileGroup
objects that contain information on the files that are requested during aStartDashboardSnapshotJob
API call.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
-
fileGroups
AnonymousUserSnapshotJobResult.Builder fileGroups(Collection<SnapshotJobResultFileGroup> fileGroups) A list of
SnapshotJobResultFileGroup
objects that contain information on the files that are requested during aStartDashboardSnapshotJob
API call. If the job succeeds, these objects contain the location where the snapshot artifacts are stored. If the job fails, the objects contain information about the error that caused the job to fail.- Parameters:
fileGroups
- A list ofSnapshotJobResultFileGroup
objects that contain information on the files that are requested during aStartDashboardSnapshotJob
API call. If the job succeeds, these objects contain the location where the snapshot artifacts are stored. If the job fails, the objects contain information about the error that caused the job to fail.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fileGroups
A list of
SnapshotJobResultFileGroup
objects that contain information on the files that are requested during aStartDashboardSnapshotJob
API call. If the job succeeds, these objects contain the location where the snapshot artifacts are stored. If the job fails, the objects contain information about the error that caused the job to fail.- Parameters:
fileGroups
- A list ofSnapshotJobResultFileGroup
objects that contain information on the files that are requested during aStartDashboardSnapshotJob
API call. If the job succeeds, these objects contain the location where the snapshot artifacts are stored. If the job fails, the objects contain information about the error that caused the job to fail.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fileGroups
AnonymousUserSnapshotJobResult.Builder fileGroups(Consumer<SnapshotJobResultFileGroup.Builder>... fileGroups) A list of
This is a convenience method that creates an instance of theSnapshotJobResultFileGroup
objects that contain information on the files that are requested during aStartDashboardSnapshotJob
API call. If the job succeeds, these objects contain the location where the snapshot artifacts are stored. If the job fails, the objects contain information about the error that caused the job to fail.SnapshotJobResultFileGroup.Builder
avoiding the need to create one manually viaSnapshotJobResultFileGroup.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofileGroups(List<SnapshotJobResultFileGroup>)
.- Parameters:
fileGroups
- a consumer that will call methods onSnapshotJobResultFileGroup.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-