Interface ListWorkflowsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CodeCatalystRequest.Builder,CopyableBuilder<ListWorkflowsRequest.Builder,ListWorkflowsRequest>,SdkBuilder<ListWorkflowsRequest.Builder,ListWorkflowsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListWorkflowsRequest
public static interface ListWorkflowsRequest.Builder extends CodeCatalystRequest.Builder, SdkPojo, CopyableBuilder<ListWorkflowsRequest.Builder,ListWorkflowsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListWorkflowsRequest.BuildermaxResults(Integer maxResults)The maximum number of results to show in a single call to this API.ListWorkflowsRequest.BuildernextToken(String nextToken)A token returned from a call to this API to indicate the next batch of results to return, if any.ListWorkflowsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListWorkflowsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ListWorkflowsRequest.BuilderprojectName(String projectName)The name of the project in the space.ListWorkflowsRequest.BuildersortBy(Collection<WorkflowSortCriteria> sortBy)Information used to sort the items in the returned list.ListWorkflowsRequest.BuildersortBy(Consumer<WorkflowSortCriteria.Builder>... sortBy)Information used to sort the items in the returned list.ListWorkflowsRequest.BuildersortBy(WorkflowSortCriteria... sortBy)Information used to sort the items in the returned list.ListWorkflowsRequest.BuilderspaceName(String spaceName)The name of the space.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.codecatalyst.model.CodeCatalystRequest.Builder
build
-
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
-
-
-
-
Method Detail
-
spaceName
ListWorkflowsRequest.Builder spaceName(String spaceName)
The name of the space.
- Parameters:
spaceName- The name of the space.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
projectName
ListWorkflowsRequest.Builder projectName(String projectName)
The name of the project in the space.
- Parameters:
projectName- The name of the project in the space.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
ListWorkflowsRequest.Builder nextToken(String nextToken)
A token returned from a call to this API to indicate the next batch of results to return, if any.
- Parameters:
nextToken- A token returned from a call to this API to indicate the next batch of results to return, if any.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
ListWorkflowsRequest.Builder maxResults(Integer maxResults)
The maximum number of results to show in a single call to this API. If the number of results is larger than the number you specified, the response will include a
NextTokenelement, which you can use to obtain additional results.- Parameters:
maxResults- The maximum number of results to show in a single call to this API. If the number of results is larger than the number you specified, the response will include aNextTokenelement, which you can use to obtain additional results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortBy
ListWorkflowsRequest.Builder sortBy(Collection<WorkflowSortCriteria> sortBy)
Information used to sort the items in the returned list.
- Parameters:
sortBy- Information used to sort the items in the returned list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortBy
ListWorkflowsRequest.Builder sortBy(WorkflowSortCriteria... sortBy)
Information used to sort the items in the returned list.
- Parameters:
sortBy- Information used to sort the items in the returned list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortBy
ListWorkflowsRequest.Builder sortBy(Consumer<WorkflowSortCriteria.Builder>... sortBy)
Information used to sort the items in the returned list.
This is a convenience method that creates an instance of theWorkflowSortCriteria.Builderavoiding the need to create one manually viaWorkflowSortCriteria.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#sortBy(List.) - Parameters:
sortBy- a consumer that will call methods onWorkflowSortCriteria.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#sortBy(java.util.Collection)
-
overrideConfiguration
ListWorkflowsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListWorkflowsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-