Interface ListAppsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListAppsResponse.Builder,ListAppsResponse>,SageMakerResponse.Builder,SdkBuilder<ListAppsResponse.Builder,ListAppsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListAppsResponse
public static interface ListAppsResponse.Builder extends SageMakerResponse.Builder, SdkPojo, CopyableBuilder<ListAppsResponse.Builder,ListAppsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListAppsResponse.Builderapps(Collection<AppDetails> apps)The list of apps.ListAppsResponse.Builderapps(Consumer<AppDetails.Builder>... apps)The list of apps.ListAppsResponse.Builderapps(AppDetails... apps)The list of apps.ListAppsResponse.BuildernextToken(String nextToken)If the previous response was truncated, you will receive this token.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerResponse.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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
apps
ListAppsResponse.Builder apps(Collection<AppDetails> apps)
The list of apps.
- Parameters:
apps- The list of apps.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
apps
ListAppsResponse.Builder apps(AppDetails... apps)
The list of apps.
- Parameters:
apps- The list of apps.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
apps
ListAppsResponse.Builder apps(Consumer<AppDetails.Builder>... apps)
The list of apps.
This is a convenience method that creates an instance of theAppDetails.Builderavoiding the need to create one manually viaAppDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#apps(List.) - Parameters:
apps- a consumer that will call methods onAppDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#apps(java.util.Collection)
-
nextToken
ListAppsResponse.Builder nextToken(String nextToken)
If the previous response was truncated, you will receive this token. Use it in your next request to receive the next set of results.
- Parameters:
nextToken- If the previous response was truncated, you will receive this token. Use it in your next request to receive the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-