Interface ListWorldsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListWorldsResponse.Builder,,ListWorldsResponse> RoboMakerResponse.Builder,SdkBuilder<ListWorldsResponse.Builder,,ListWorldsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListWorldsResponse
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'snextTokenparameter 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
copyMethods inherited from interface software.amazon.awssdk.services.robomaker.model.RoboMakerResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaWorldSummary.builder().When the
Consumercompletes,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
nextTokenparameter value is set to a token. To retrieve the next set of results, callListWorldsagain and assign that token to the request object'snextTokenparameter. 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'snextTokenparameter value is set to a token. To retrieve the next set of results, callListWorldsagain and assign that token to the request object'snextTokenparameter. 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.
-