Interface GetContextGraphResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudWatchOmniResponse.Builder,CopyableBuilder<GetContextGraphResponse.Builder,,GetContextGraphResponse> SdkBuilder<GetContextGraphResponse.Builder,,GetContextGraphResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetContextGraphResponse
@Mutable
@NotThreadSafe
public static interface GetContextGraphResponse.Builder
extends CloudWatchOmniResponse.Builder, SdkPojo, CopyableBuilder<GetContextGraphResponse.Builder,GetContextGraphResponse>
-
Method Summary
Modifier and TypeMethodDescriptionPagination token for the next page; absent when there are no more results.nodes(Collection<Node> nodes) The page of nodes matching the request.nodes(Consumer<Node.Builder>... nodes) The page of nodes matching the request.The page of nodes matching the request.Methods inherited from interface software.amazon.awssdk.services.cloudwatchomni.model.CloudWatchOmniResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nodes
The page of nodes matching the request. This is the paginated collection.
- Parameters:
nodes- The page of nodes matching the request. This is the paginated collection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodes
The page of nodes matching the request. This is the paginated collection.
- Parameters:
nodes- The page of nodes matching the request. This is the paginated collection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodes
The page of nodes matching the request. This is the paginated collection.
This is a convenience method that creates an instance of theNode.Builderavoiding the need to create one manually viaNode.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonodes(List<Node>).- Parameters:
nodes- a consumer that will call methods onNode.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
Pagination token for the next page; absent when there are no more results.
- Parameters:
nextToken- Pagination token for the next page; absent when there are no more results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-