Interface ListGraphsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListGraphsResponse.Builder,
,ListGraphsResponse> NeptuneGraphResponse.Builder
,SdkBuilder<ListGraphsResponse.Builder,
,ListGraphsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListGraphsResponse
public static interface ListGraphsResponse.Builder
extends NeptuneGraphResponse.Builder, SdkPojo, CopyableBuilder<ListGraphsResponse.Builder,ListGraphsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiongraphs
(Collection<GraphSummary> graphs) A list of the graphs.graphs
(Consumer<GraphSummary.Builder>... graphs) A list of the graphs.graphs
(GraphSummary... graphs) A list of the graphs.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
-
graphs
A list of the graphs.
- Parameters:
graphs
- A list of the graphs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
graphs
A list of the graphs.
- Parameters:
graphs
- A list of the graphs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
graphs
A list of the graphs.
This is a convenience method that creates an instance of theGraphSummary.Builder
avoiding the need to create one manually viaGraphSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tographs(List<GraphSummary>)
.- Parameters:
graphs
- a consumer that will call methods onGraphSummary.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.
-