Interface ListModelsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListModelsResponse.Builder,ListModelsResponse>,LookoutEquipmentResponse.Builder,SdkBuilder<ListModelsResponse.Builder,ListModelsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListModelsResponse
public static interface ListModelsResponse.Builder extends LookoutEquipmentResponse.Builder, SdkPojo, CopyableBuilder<ListModelsResponse.Builder,ListModelsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListModelsResponse.BuildermodelSummaries(Collection<ModelSummary> modelSummaries)Provides information on the specified model, including created time, model and dataset ARNs, and status.ListModelsResponse.BuildermodelSummaries(Consumer<ModelSummary.Builder>... modelSummaries)Provides information on the specified model, including created time, model and dataset ARNs, and status.ListModelsResponse.BuildermodelSummaries(ModelSummary... modelSummaries)Provides information on the specified model, including created time, model and dataset ARNs, and status.ListModelsResponse.BuildernextToken(String nextToken)An opaque pagination token indicating where to continue the listing of machine learning models.-
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
ListModelsResponse.Builder nextToken(String nextToken)
An opaque pagination token indicating where to continue the listing of machine learning models.
- Parameters:
nextToken- An opaque pagination token indicating where to continue the listing of machine learning models.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelSummaries
ListModelsResponse.Builder modelSummaries(Collection<ModelSummary> modelSummaries)
Provides information on the specified model, including created time, model and dataset ARNs, and status.
- Parameters:
modelSummaries- Provides information on the specified model, including created time, model and dataset ARNs, and status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelSummaries
ListModelsResponse.Builder modelSummaries(ModelSummary... modelSummaries)
Provides information on the specified model, including created time, model and dataset ARNs, and status.
- Parameters:
modelSummaries- Provides information on the specified model, including created time, model and dataset ARNs, and status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelSummaries
ListModelsResponse.Builder modelSummaries(Consumer<ModelSummary.Builder>... modelSummaries)
Provides information on the specified model, including created time, model and dataset ARNs, and status.
This is a convenience method that creates an instance of theModelSummary.Builderavoiding the need to create one manually viaModelSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#modelSummaries(List.) - Parameters:
modelSummaries- a consumer that will call methods onModelSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#modelSummaries(java.util.Collection)
-
-