Interface ListAppsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListAppsResponse.Builder,ListAppsResponse>,SdkBuilder<ListAppsResponse.Builder,ListAppsResponse>,SdkPojo,SdkResponse.Builder,SimSpaceWeaverResponse.Builder
- Enclosing class:
- ListAppsResponse
public static interface ListAppsResponse.Builder extends SimSpaceWeaverResponse.Builder, SdkPojo, CopyableBuilder<ListAppsResponse.Builder,ListAppsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListAppsResponse.Builderapps(Collection<SimulationAppMetadata> apps)The list of apps for the given simulation and domain.ListAppsResponse.Builderapps(Consumer<SimulationAppMetadata.Builder>... apps)The list of apps for the given simulation and domain.ListAppsResponse.Builderapps(SimulationAppMetadata... apps)The list of apps for the given simulation and domain.ListAppsResponse.BuildernextToken(String nextToken)If SimSpace Weaver returnsnextToken, then there are more results available.-
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.simspaceweaver.model.SimSpaceWeaverResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
apps
ListAppsResponse.Builder apps(Collection<SimulationAppMetadata> apps)
The list of apps for the given simulation and domain.
- Parameters:
apps- The list of apps for the given simulation and domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
apps
ListAppsResponse.Builder apps(SimulationAppMetadata... apps)
The list of apps for the given simulation and domain.
- Parameters:
apps- The list of apps for the given simulation and domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
apps
ListAppsResponse.Builder apps(Consumer<SimulationAppMetadata.Builder>... apps)
The list of apps for the given simulation and domain.
This is a convenience method that creates an instance of theSimulationAppMetadata.Builderavoiding the need to create one manually viaSimulationAppMetadata.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 onSimulationAppMetadata.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 SimSpace Weaver returns
nextToken, then there are more results available. The value ofnextTokenis a unique pagination token for each page. To retrieve the next page, call the operation again using the returned token. Keep all other arguments unchanged. If no results remain, thennextTokenis set tonull. Each pagination token expires after 24 hours. If you provide a token that isn't valid, then you receive an HTTP 400 ValidationException error.- Parameters:
nextToken- If SimSpace Weaver returnsnextToken, then there are more results available. The value ofnextTokenis a unique pagination token for each page. To retrieve the next page, call the operation again using the returned token. Keep all other arguments unchanged. If no results remain, thennextTokenis set tonull. Each pagination token expires after 24 hours. If you provide a token that isn't valid, then you receive an HTTP 400 ValidationException error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-