Interface ListModelVersionsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListModelVersionsResponse.Builder,ListModelVersionsResponse>,LookoutEquipmentResponse.Builder,SdkBuilder<ListModelVersionsResponse.Builder,ListModelVersionsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListModelVersionsResponse
public static interface ListModelVersionsResponse.Builder extends LookoutEquipmentResponse.Builder, SdkPojo, CopyableBuilder<ListModelVersionsResponse.Builder,ListModelVersionsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListModelVersionsResponse.BuildermodelVersionSummaries(Collection<ModelVersionSummary> modelVersionSummaries)Provides information on the specified model version, including the created time, model and dataset ARNs, and status.ListModelVersionsResponse.BuildermodelVersionSummaries(Consumer<ModelVersionSummary.Builder>... modelVersionSummaries)Provides information on the specified model version, including the created time, model and dataset ARNs, and status.ListModelVersionsResponse.BuildermodelVersionSummaries(ModelVersionSummary... modelVersionSummaries)Provides information on the specified model version, including the created time, model and dataset ARNs, and status.ListModelVersionsResponse.BuildernextToken(String 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.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.lookoutequipment.model.LookoutEquipmentResponse.Builder
build, responseMetadata, responseMetadata
-
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
-
nextToken
ListModelVersionsResponse.Builder nextToken(String 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 to#modelVersionSummaries(List.) - 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:
#modelVersionSummaries(java.util.Collection)
-
-