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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListGraphSnapshotsResponse.BuildergraphSnapshots(Collection<GraphSnapshotSummary> graphSnapshots)The requested list of snapshots.ListGraphSnapshotsResponse.BuildergraphSnapshots(Consumer<GraphSnapshotSummary.Builder>... graphSnapshots)The requested list of snapshots.ListGraphSnapshotsResponse.BuildergraphSnapshots(GraphSnapshotSummary... graphSnapshots)The requested list of snapshots.ListGraphSnapshotsResponse.BuildernextToken(String nextToken)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 Detail
-
graphSnapshots
ListGraphSnapshotsResponse.Builder graphSnapshots(Collection<GraphSnapshotSummary> 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(GraphSnapshotSummary... 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.Builderavoiding the need to create one manually viaGraphSnapshotSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#graphSnapshots(List.) - 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:
#graphSnapshots(java.util.Collection)
-
nextToken
ListGraphSnapshotsResponse.Builder nextToken(String 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.
-
-