Interface ListChatsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListChatsResponse.Builder,,ListChatsResponse> DevOpsAgentResponse.Builder,SdkBuilder<ListChatsResponse.Builder,,ListChatsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListChatsResponse
@Mutable
@NotThreadSafe
public static interface ListChatsResponse.Builder
extends DevOpsAgentResponse.Builder, SdkPojo, CopyableBuilder<ListChatsResponse.Builder,ListChatsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionexecutions(Collection<ChatExecution> executions) List of recent chat executionsexecutions(Consumer<ChatExecution.Builder>... executions) List of recent chat executionsexecutions(ChatExecution... executions) List of recent chat executionsToken for retrieving the next page of resultsMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.devopsagent.model.DevOpsAgentResponse.Builder
build, responseMetadata, responseMetadataMethods 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
-
executions
List of recent chat executions
- Parameters:
executions- List of recent chat executions- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executions
List of recent chat executions
- Parameters:
executions- List of recent chat executions- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executions
List of recent chat executions
This is a convenience method that creates an instance of theChatExecution.Builderavoiding the need to create one manually viaChatExecution.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toexecutions(List<ChatExecution>).- Parameters:
executions- a consumer that will call methods onChatExecution.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
Token for retrieving the next page of results
- Parameters:
nextToken- Token for retrieving the next page of results- Returns:
- Returns a reference to this object so that method calls can be chained together.
-