Interface ListSupportedModelsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListSupportedModelsResponse.Builder,,ListSupportedModelsResponse> SdkBuilder<ListSupportedModelsResponse.Builder,,ListSupportedModelsResponse> SdkPojo,SdkResponse.Builder,WorkSpacesResponse.Builder
- Enclosing class:
ListSupportedModelsResponse
@Mutable
@NotThreadSafe
public static interface ListSupportedModelsResponse.Builder
extends WorkSpacesResponse.Builder, SdkPojo, CopyableBuilder<ListSupportedModelsResponse.Builder,ListSupportedModelsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionmodelSummaries(Collection<ModelSummary> modelSummaries) The model summaries.modelSummaries(Consumer<ModelSummary.Builder>... modelSummaries) The model summaries.modelSummaries(ModelSummary... modelSummaries) The model summaries.The token to use to retrieve the next page of results, or null if there are no more results.Methods 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, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.workspaces.model.WorkSpacesResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
modelSummaries
The model summaries.
- Parameters:
modelSummaries- The model summaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelSummaries
The model summaries.
- Parameters:
modelSummaries- The model summaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelSummaries
ListSupportedModelsResponse.Builder modelSummaries(Consumer<ModelSummary.Builder>... modelSummaries) The model summaries.
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 tomodelSummaries(List<ModelSummary>).- 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:
-
nextToken
The token to use to retrieve the next page of results, or null if there are no more results.
- Parameters:
nextToken- The token to use to retrieve the next page of results, or null if there are no more results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-