Interface ListStateMachinesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListStateMachinesResponse.Builder,ListStateMachinesResponse>,SdkBuilder<ListStateMachinesResponse.Builder,ListStateMachinesResponse>,SdkPojo,SdkResponse.Builder,SfnResponse.Builder
- Enclosing class:
- ListStateMachinesResponse
public static interface ListStateMachinesResponse.Builder extends SfnResponse.Builder, SdkPojo, CopyableBuilder<ListStateMachinesResponse.Builder,ListStateMachinesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListStateMachinesResponse.BuildernextToken(String nextToken)IfnextTokenis returned, there are more results available.ListStateMachinesResponse.BuilderstateMachines(Collection<StateMachineListItem> stateMachines)Sets the value of the StateMachines property for this object.ListStateMachinesResponse.BuilderstateMachines(Consumer<StateMachineListItem.Builder>... stateMachines)Sets the value of the StateMachines property for this object.ListStateMachinesResponse.BuilderstateMachines(StateMachineListItem... stateMachines)Sets the value of the StateMachines property for this object.-
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.sfn.model.SfnResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
stateMachines
ListStateMachinesResponse.Builder stateMachines(Collection<StateMachineListItem> stateMachines)
Sets the value of the StateMachines property for this object.- Parameters:
stateMachines- The new value for the StateMachines property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stateMachines
ListStateMachinesResponse.Builder stateMachines(StateMachineListItem... stateMachines)
Sets the value of the StateMachines property for this object.- Parameters:
stateMachines- The new value for the StateMachines property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stateMachines
ListStateMachinesResponse.Builder stateMachines(Consumer<StateMachineListItem.Builder>... stateMachines)
Sets the value of the StateMachines property for this object. This is a convenience method that creates an instance of theStateMachineListItem.Builderavoiding the need to create one manually viaStateMachineListItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#stateMachines(List.) - Parameters:
stateMachines- a consumer that will call methods onStateMachineListItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#stateMachines(java.util.Collection)
-
nextToken
ListStateMachinesResponse.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.
-
-