Interface ListCollaborationTrainedModelsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CleanRoomsMlResponse.Builder,CopyableBuilder<ListCollaborationTrainedModelsResponse.Builder,,ListCollaborationTrainedModelsResponse> SdkBuilder<ListCollaborationTrainedModelsResponse.Builder,,ListCollaborationTrainedModelsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListCollaborationTrainedModelsResponse
@Mutable
@NotThreadSafe
public static interface ListCollaborationTrainedModelsResponse.Builder
extends CleanRoomsMlResponse.Builder, SdkPojo, CopyableBuilder<ListCollaborationTrainedModelsResponse.Builder,ListCollaborationTrainedModelsResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncollaborationTrainedModels(Collection<CollaborationTrainedModelSummary> collaborationTrainedModels) The trained models in the collaboration that you requested.collaborationTrainedModels(Consumer<CollaborationTrainedModelSummary.Builder>... collaborationTrainedModels) The trained models in the collaboration that you requested.collaborationTrainedModels(CollaborationTrainedModelSummary... collaborationTrainedModels) The trained models in the collaboration that you requested.The token value used to access the next page of results.Methods inherited from interface software.amazon.awssdk.services.cleanroomsml.model.CleanRoomsMlResponse.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
-
nextToken
The token value used to access the next page of results.
- Parameters:
nextToken- The token value used to access the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
collaborationTrainedModels
ListCollaborationTrainedModelsResponse.Builder collaborationTrainedModels(Collection<CollaborationTrainedModelSummary> collaborationTrainedModels) The trained models in the collaboration that you requested.
- Parameters:
collaborationTrainedModels- The trained models in the collaboration that you requested.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
collaborationTrainedModels
ListCollaborationTrainedModelsResponse.Builder collaborationTrainedModels(CollaborationTrainedModelSummary... collaborationTrainedModels) The trained models in the collaboration that you requested.
- Parameters:
collaborationTrainedModels- The trained models in the collaboration that you requested.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
collaborationTrainedModels
ListCollaborationTrainedModelsResponse.Builder collaborationTrainedModels(Consumer<CollaborationTrainedModelSummary.Builder>... collaborationTrainedModels) The trained models in the collaboration that you requested.
This is a convenience method that creates an instance of theCollaborationTrainedModelSummary.Builderavoiding the need to create one manually viaCollaborationTrainedModelSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocollaborationTrainedModels(List<CollaborationTrainedModelSummary>).- Parameters:
collaborationTrainedModels- a consumer that will call methods onCollaborationTrainedModelSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-