Interface ListModelVersionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListModelVersionsResponse.Builder,,ListModelVersionsResponse> LookoutEquipmentResponse.Builder,SdkBuilder<ListModelVersionsResponse.Builder,,ListModelVersionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListModelVersionsResponse
-
Method Summary
Modifier and TypeMethodDescriptionmodelVersionSummaries(Collection<ModelVersionSummary> modelVersionSummaries) Provides information on the specified model version, including the created time, model and dataset ARNs, and status.modelVersionSummaries(Consumer<ModelVersionSummary.Builder>... modelVersionSummaries) Provides information on the specified model version, including the created time, model and dataset ARNs, and status.modelVersionSummaries(ModelVersionSummary... modelVersionSummaries) Provides information on the specified model version, including the created time, model and dataset ARNs, and status.If the total number of results exceeds the limit that the response can display, the response returns an opaque pagination token indicating where to continue the listing of machine learning model versions.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.lookoutequipment.model.LookoutEquipmentResponse.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
-
nextToken
If the total number of results exceeds the limit that the response can display, the response returns an opaque pagination token indicating where to continue the listing of machine learning model versions. Use this token in the
NextTokenfield in the request to list the next page of results.- Parameters:
nextToken- If the total number of results exceeds the limit that the response can display, the response returns an opaque pagination token indicating where to continue the listing of machine learning model versions. Use this token in theNextTokenfield in the request to list the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelVersionSummaries
ListModelVersionsResponse.Builder modelVersionSummaries(Collection<ModelVersionSummary> modelVersionSummaries) Provides information on the specified model version, including the created time, model and dataset ARNs, and status.
If you don't supply the
ModelNamerequest parameter, or if you supply the name of a model that doesn't exist,ListModelVersionsreturns an empty array inModelVersionSummaries.- Parameters:
modelVersionSummaries- Provides information on the specified model version, including the created time, model and dataset ARNs, and status.If you don't supply the
ModelNamerequest parameter, or if you supply the name of a model that doesn't exist,ListModelVersionsreturns an empty array inModelVersionSummaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelVersionSummaries
ListModelVersionsResponse.Builder modelVersionSummaries(ModelVersionSummary... modelVersionSummaries) Provides information on the specified model version, including the created time, model and dataset ARNs, and status.
If you don't supply the
ModelNamerequest parameter, or if you supply the name of a model that doesn't exist,ListModelVersionsreturns an empty array inModelVersionSummaries.- Parameters:
modelVersionSummaries- Provides information on the specified model version, including the created time, model and dataset ARNs, and status.If you don't supply the
ModelNamerequest parameter, or if you supply the name of a model that doesn't exist,ListModelVersionsreturns an empty array inModelVersionSummaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelVersionSummaries
ListModelVersionsResponse.Builder modelVersionSummaries(Consumer<ModelVersionSummary.Builder>... modelVersionSummaries) Provides information on the specified model version, including the created time, model and dataset ARNs, and status.
This is a convenience method that creates an instance of theIf you don't supply the
ModelNamerequest parameter, or if you supply the name of a model that doesn't exist,ListModelVersionsreturns an empty array inModelVersionSummaries.ModelVersionSummary.Builderavoiding the need to create one manually viaModelVersionSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomodelVersionSummaries(List<ModelVersionSummary>).- Parameters:
modelVersionSummaries- a consumer that will call methods onModelVersionSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-