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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListGraphsResponse.Buildergraphs(Collection<GraphSummary> graphs)A list of the graphs.ListGraphsResponse.Buildergraphs(Consumer<GraphSummary.Builder>... graphs)A list of the graphs.ListGraphsResponse.Buildergraphs(GraphSummary... graphs)A list of the graphs.ListGraphsResponse.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
-
graphs
ListGraphsResponse.Builder graphs(Collection<GraphSummary> 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
ListGraphsResponse.Builder graphs(GraphSummary... 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
ListGraphsResponse.Builder graphs(Consumer<GraphSummary.Builder>... graphs)
A list of the graphs.
This is a convenience method that creates an instance of theGraphSummary.Builderavoiding the need to create one manually viaGraphSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#graphs(List.) - 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:
#graphs(java.util.Collection)
-
nextToken
ListGraphsResponse.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.
-
-