Interface ListStateMachineVersionsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListStateMachineVersionsResponse.Builder,ListStateMachineVersionsResponse>,SdkBuilder<ListStateMachineVersionsResponse.Builder,ListStateMachineVersionsResponse>,SdkPojo,SdkResponse.Builder,SfnResponse.Builder
- Enclosing class:
- ListStateMachineVersionsResponse
public static interface ListStateMachineVersionsResponse.Builder extends SfnResponse.Builder, SdkPojo, CopyableBuilder<ListStateMachineVersionsResponse.Builder,ListStateMachineVersionsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListStateMachineVersionsResponse.BuildernextToken(String nextToken)IfnextTokenis returned, there are more results available.ListStateMachineVersionsResponse.BuilderstateMachineVersions(Collection<StateMachineVersionListItem> stateMachineVersions)Versions for the state machine.ListStateMachineVersionsResponse.BuilderstateMachineVersions(Consumer<StateMachineVersionListItem.Builder>... stateMachineVersions)Versions for the state machine.ListStateMachineVersionsResponse.BuilderstateMachineVersions(StateMachineVersionListItem... stateMachineVersions)Versions for the state machine.-
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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Methods inherited from interface software.amazon.awssdk.services.sfn.model.SfnResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
stateMachineVersions
ListStateMachineVersionsResponse.Builder stateMachineVersions(Collection<StateMachineVersionListItem> stateMachineVersions)
Versions for the state machine.
- Parameters:
stateMachineVersions- Versions for the state machine.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stateMachineVersions
ListStateMachineVersionsResponse.Builder stateMachineVersions(StateMachineVersionListItem... stateMachineVersions)
Versions for the state machine.
- Parameters:
stateMachineVersions- Versions for the state machine.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stateMachineVersions
ListStateMachineVersionsResponse.Builder stateMachineVersions(Consumer<StateMachineVersionListItem.Builder>... stateMachineVersions)
Versions for the state machine.
This is a convenience method that creates an instance of theStateMachineVersionListItem.Builderavoiding the need to create one manually viaStateMachineVersionListItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#stateMachineVersions(List.) - Parameters:
stateMachineVersions- a consumer that will call methods onStateMachineVersionListItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#stateMachineVersions(java.util.Collection)
-
nextToken
ListStateMachineVersionsResponse.Builder nextToken(String nextToken)
If
nextTokenis returned, there are more results available. The value ofnextTokenis a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.- Parameters:
nextToken- IfnextTokenis returned, there are more results available. The value ofnextTokenis a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-