Interface AnonymousUserSnapshotJobResult.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AnonymousUserSnapshotJobResult.Builder,AnonymousUserSnapshotJobResult>,SdkBuilder<AnonymousUserSnapshotJobResult.Builder,AnonymousUserSnapshotJobResult>,SdkPojo
- Enclosing class:
- AnonymousUserSnapshotJobResult
@Mutable @NotThreadSafe public static interface AnonymousUserSnapshotJobResult.Builder extends SdkPojo, CopyableBuilder<AnonymousUserSnapshotJobResult.Builder,AnonymousUserSnapshotJobResult>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AnonymousUserSnapshotJobResult.BuilderfileGroups(Collection<SnapshotJobResultFileGroup> fileGroups)A list ofSnapshotJobResultFileGroupobjects that contain information on the files that are requested during aStartDashboardSnapshotJobAPI call.AnonymousUserSnapshotJobResult.BuilderfileGroups(Consumer<SnapshotJobResultFileGroup.Builder>... fileGroups)A list ofSnapshotJobResultFileGroupobjects that contain information on the files that are requested during aStartDashboardSnapshotJobAPI call.AnonymousUserSnapshotJobResult.BuilderfileGroups(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
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
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
AnonymousUserSnapshotJobResult.Builder fileGroups(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
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 to#fileGroups(List.) - 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:
#fileGroups(java.util.Collection)
-
-