Interface ListGraphSnapshotsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListGraphSnapshotsResponse.Builder,
,ListGraphSnapshotsResponse> NeptuneGraphResponse.Builder
,SdkBuilder<ListGraphSnapshotsResponse.Builder,
,ListGraphSnapshotsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListGraphSnapshotsResponse
public static interface ListGraphSnapshotsResponse.Builder
extends NeptuneGraphResponse.Builder, SdkPojo, CopyableBuilder<ListGraphSnapshotsResponse.Builder,ListGraphSnapshotsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiongraphSnapshots
(Collection<GraphSnapshotSummary> graphSnapshots) The requested list of snapshots.graphSnapshots
(Consumer<GraphSnapshotSummary.Builder>... graphSnapshots) The requested list of snapshots.graphSnapshots
(GraphSnapshotSummary... graphSnapshots) The requested list of snapshots.Pagination token used to paginate output.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.neptunegraph.model.NeptuneGraphResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
graphSnapshots
The requested list of snapshots.
- Parameters:
graphSnapshots
- The requested list of snapshots.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
graphSnapshots
The requested list of snapshots.
- Parameters:
graphSnapshots
- The requested list of snapshots.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
graphSnapshots
ListGraphSnapshotsResponse.Builder graphSnapshots(Consumer<GraphSnapshotSummary.Builder>... graphSnapshots) The requested list of snapshots.
This is a convenience method that creates an instance of theGraphSnapshotSummary.Builder
avoiding the need to create one manually viaGraphSnapshotSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tographSnapshots(List<GraphSnapshotSummary>)
.- Parameters:
graphSnapshots
- a consumer that will call methods onGraphSnapshotSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
Pagination token used to paginate output.
When this value is provided as input, the service returns results from where the previous response left off. When this value is present in output, it indicates that there are more results to retrieve.
- Parameters:
nextToken
- Pagination token used to paginate output.When this value is provided as input, the service returns results from where the previous response left off. When this value is present in output, it indicates that there are more results to retrieve.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-