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 ofSnapshotJobResultFileGroupobjects that contain information on the files that are requested during aStartDashboardSnapshotJobAPI call.fileGroups(Consumer<SnapshotJobResultFileGroup.Builder>... fileGroups) A list ofSnapshotJobResultFileGroupobjects that contain information on the files that are requested during aStartDashboardSnapshotJobAPI call.fileGroups(SnapshotJobResultFileGroup... fileGroups) A list ofSnapshotJobResultFileGroupobjects that contain information on the files that are requested during aStartDashboardSnapshotJobAPI call.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
-
fileGroups
AnonymousUserSnapshotJobResult.Builder fileGroups(Collection<SnapshotJobResultFileGroup> fileGroups) A list of
SnapshotJobResultFileGroupobjects that contain information on the files that are requested during aStartDashboardSnapshotJobAPI 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 ofSnapshotJobResultFileGroupobjects that contain information on the files that are requested during aStartDashboardSnapshotJobAPI 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
SnapshotJobResultFileGroupobjects that contain information on the files that are requested during aStartDashboardSnapshotJobAPI 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 ofSnapshotJobResultFileGroupobjects that contain information on the files that are requested during aStartDashboardSnapshotJobAPI 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 theSnapshotJobResultFileGroupobjects that contain information on the files that are requested during aStartDashboardSnapshotJobAPI 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.Builderavoiding the need to create one manually viaSnapshotJobResultFileGroup.builder().When the
Consumercompletes,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:
-