Interface ListSimulationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListSimulationsResponse.Builder,,ListSimulationsResponse> SdkBuilder<ListSimulationsResponse.Builder,,ListSimulationsResponse> SdkPojo,SdkResponse.Builder,SimSpaceWeaverResponse.Builder
- Enclosing class:
ListSimulationsResponse
public static interface ListSimulationsResponse.Builder
extends SimSpaceWeaverResponse.Builder, SdkPojo, CopyableBuilder<ListSimulationsResponse.Builder,ListSimulationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionIf SimSpace Weaver returnsnextToken, then there are more results available.simulations(Collection<SimulationMetadata> simulations) The list of simulations.simulations(Consumer<SimulationMetadata.Builder>... simulations) The list of simulations.simulations(SimulationMetadata... simulations) The list of simulations.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods 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, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.simspaceweaver.model.SimSpaceWeaverResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
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.
-
simulations
The list of simulations.
- Parameters:
simulations- The list of simulations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
simulations
The list of simulations.
- Parameters:
simulations- The list of simulations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
simulations
The list of simulations.
This is a convenience method that creates an instance of theSimulationMetadata.Builderavoiding the need to create one manually viaSimulationMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosimulations(List<SimulationMetadata>).- Parameters:
simulations- a consumer that will call methods onSimulationMetadata.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-