Interface ListCodeInterpreterSessionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BedrockAgentCoreResponse.Builder,Buildable,CopyableBuilder<ListCodeInterpreterSessionsResponse.Builder,,ListCodeInterpreterSessionsResponse> SdkBuilder<ListCodeInterpreterSessionsResponse.Builder,,ListCodeInterpreterSessionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListCodeInterpreterSessionsResponse
@Mutable
@NotThreadSafe
public static interface ListCodeInterpreterSessionsResponse.Builder
extends BedrockAgentCoreResponse.Builder, SdkPojo, CopyableBuilder<ListCodeInterpreterSessionsResponse.Builder,ListCodeInterpreterSessionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe list of code interpreter sessions that match the specified criteria.items(Consumer<CodeInterpreterSessionSummary.Builder>... items) The list of code interpreter sessions that match the specified criteria.items(CodeInterpreterSessionSummary... items) The list of code interpreter sessions that match the specified criteria.The token to use in a subsequentListCodeInterpreterSessionsrequest to get the next set of results.Methods inherited from interface software.amazon.awssdk.services.bedrockagentcore.model.BedrockAgentCoreResponse.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
-
items
The list of code interpreter sessions that match the specified criteria.
- Parameters:
items- The list of code interpreter sessions that match the specified criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The list of code interpreter sessions that match the specified criteria.
- Parameters:
items- The list of code interpreter sessions that match the specified criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
ListCodeInterpreterSessionsResponse.Builder items(Consumer<CodeInterpreterSessionSummary.Builder>... items) The list of code interpreter sessions that match the specified criteria.
This is a convenience method that creates an instance of theCodeInterpreterSessionSummary.Builderavoiding the need to create one manually viaCodeInterpreterSessionSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitems(List<CodeInterpreterSessionSummary>).- Parameters:
items- a consumer that will call methods onCodeInterpreterSessionSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to use in a subsequent
ListCodeInterpreterSessionsrequest to get the next set of results.- Parameters:
nextToken- The token to use in a subsequentListCodeInterpreterSessionsrequest to get the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-