Interface ListAgentVersionsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,BedrockAgentResponse.Builder,Buildable,CopyableBuilder<ListAgentVersionsResponse.Builder,ListAgentVersionsResponse>,SdkBuilder<ListAgentVersionsResponse.Builder,ListAgentVersionsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListAgentVersionsResponse
public static interface ListAgentVersionsResponse.Builder extends BedrockAgentResponse.Builder, SdkPojo, CopyableBuilder<ListAgentVersionsResponse.Builder,ListAgentVersionsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListAgentVersionsResponse.BuilderagentVersionSummaries(Collection<AgentVersionSummary> agentVersionSummaries)Sets the value of the AgentVersionSummaries property for this object.ListAgentVersionsResponse.BuilderagentVersionSummaries(Consumer<AgentVersionSummary.Builder>... agentVersionSummaries)Sets the value of the AgentVersionSummaries property for this object.ListAgentVersionsResponse.BuilderagentVersionSummaries(AgentVersionSummary... agentVersionSummaries)Sets the value of the AgentVersionSummaries property for this object.ListAgentVersionsResponse.BuildernextToken(String nextToken)Sets the value of the NextToken property for this object.-
Methods inherited from interface software.amazon.awssdk.services.bedrockagent.model.BedrockAgentResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
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
-
agentVersionSummaries
ListAgentVersionsResponse.Builder agentVersionSummaries(Collection<AgentVersionSummary> agentVersionSummaries)
Sets the value of the AgentVersionSummaries property for this object.- Parameters:
agentVersionSummaries- The new value for the AgentVersionSummaries property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentVersionSummaries
ListAgentVersionsResponse.Builder agentVersionSummaries(AgentVersionSummary... agentVersionSummaries)
Sets the value of the AgentVersionSummaries property for this object.- Parameters:
agentVersionSummaries- The new value for the AgentVersionSummaries property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentVersionSummaries
ListAgentVersionsResponse.Builder agentVersionSummaries(Consumer<AgentVersionSummary.Builder>... agentVersionSummaries)
Sets the value of the AgentVersionSummaries property for this object. This is a convenience method that creates an instance of theAgentVersionSummary.Builderavoiding the need to create one manually viaAgentVersionSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#agentVersionSummaries(List.) - Parameters:
agentVersionSummaries- a consumer that will call methods onAgentVersionSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#agentVersionSummaries(java.util.Collection)
-
nextToken
ListAgentVersionsResponse.Builder nextToken(String nextToken)
Sets the value of the NextToken property for this object.- Parameters:
nextToken- The new value for the NextToken property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-