Interface ListAppsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListAppsResponse.Builder,ListAppsResponse>,SdkBuilder<ListAppsResponse.Builder,ListAppsResponse>,SdkPojo,SdkResponse.Builder,SmsResponse.Builder
- Enclosing class:
- ListAppsResponse
public static interface ListAppsResponse.Builder extends SmsResponse.Builder, SdkPojo, CopyableBuilder<ListAppsResponse.Builder,ListAppsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListAppsResponse.Builderapps(Collection<AppSummary> apps)The application summaries.ListAppsResponse.Builderapps(Consumer<AppSummary.Builder>... apps)The application summaries.ListAppsResponse.Builderapps(AppSummary... apps)The application summaries.ListAppsResponse.BuildernextToken(String nextToken)The token required to retrieve the next set of results.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
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
-
Methods inherited from interface software.amazon.awssdk.services.sms.model.SmsResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
apps
ListAppsResponse.Builder apps(Collection<AppSummary> apps)
The application summaries.
- Parameters:
apps- The application summaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
apps
ListAppsResponse.Builder apps(AppSummary... apps)
The application summaries.
- Parameters:
apps- The application summaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
apps
ListAppsResponse.Builder apps(Consumer<AppSummary.Builder>... apps)
The application summaries.
This is a convenience method that creates an instance of theAppSummary.Builderavoiding the need to create one manually viaAppSummary.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 onAppSummary.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)
The token required to retrieve the next set of results. This value is null when there are no more results to return.
- Parameters:
nextToken- The token required to retrieve the next set of results. This value is null when there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-