Interface ListWorldsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListWorldsResponse.Builder,
,ListWorldsResponse> RoboMakerResponse.Builder
,SdkBuilder<ListWorldsResponse.Builder,
,ListWorldsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListWorldsResponse
@Mutable
@NotThreadSafe
public static interface ListWorldsResponse.Builder
extends RoboMakerResponse.Builder, SdkPojo, CopyableBuilder<ListWorldsResponse.Builder,ListWorldsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionIf the previous paginated request did not return all of the remaining results, the response object'snextToken
parameter value is set to a token.worldSummaries
(Collection<WorldSummary> worldSummaries) Summary information for worlds.worldSummaries
(Consumer<WorldSummary.Builder>... worldSummaries) Summary information for worlds.worldSummaries
(WorldSummary... worldSummaries) Summary information for worlds.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.robomaker.model.RoboMakerResponse.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 Details
-
worldSummaries
Summary information for worlds.
- Parameters:
worldSummaries
- Summary information for worlds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
worldSummaries
Summary information for worlds.
- Parameters:
worldSummaries
- Summary information for worlds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
worldSummaries
Summary information for worlds.
This is a convenience method that creates an instance of theWorldSummary.Builder
avoiding the need to create one manually viaWorldSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toworldSummaries(List<WorldSummary>)
.- Parameters:
worldSummaries
- a consumer that will call methods onWorldSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If the previous paginated request did not return all of the remaining results, the response object's
nextToken
parameter value is set to a token. To retrieve the next set of results, callListWorlds
again and assign that token to the request object'snextToken
parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.- Parameters:
nextToken
- If the previous paginated request did not return all of the remaining results, the response object'snextToken
parameter value is set to a token. To retrieve the next set of results, callListWorlds
again and assign that token to the request object'snextToken
parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-