Interface ListWorkflowsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListWorkflowsResponse.Builder,ListWorkflowsResponse>,ImagebuilderResponse.Builder,SdkBuilder<ListWorkflowsResponse.Builder,ListWorkflowsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListWorkflowsResponse
public static interface ListWorkflowsResponse.Builder extends ImagebuilderResponse.Builder, SdkPojo, CopyableBuilder<ListWorkflowsResponse.Builder,ListWorkflowsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListWorkflowsResponse.BuildernextToken(String nextToken)The next token used for paginated responses.ListWorkflowsResponse.BuilderworkflowVersionList(Collection<WorkflowVersion> workflowVersionList)A list of workflow build versions that match the request criteria.ListWorkflowsResponse.BuilderworkflowVersionList(Consumer<WorkflowVersion.Builder>... workflowVersionList)A list of workflow build versions that match the request criteria.ListWorkflowsResponse.BuilderworkflowVersionList(WorkflowVersion... workflowVersionList)A list of workflow build versions that match the request criteria.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.imagebuilder.model.ImagebuilderResponse.Builder
build, responseMetadata, responseMetadata
-
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
-
-
-
-
Method Detail
-
workflowVersionList
ListWorkflowsResponse.Builder workflowVersionList(Collection<WorkflowVersion> workflowVersionList)
A list of workflow build versions that match the request criteria.
- Parameters:
workflowVersionList- A list of workflow build versions that match the request criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workflowVersionList
ListWorkflowsResponse.Builder workflowVersionList(WorkflowVersion... workflowVersionList)
A list of workflow build versions that match the request criteria.
- Parameters:
workflowVersionList- A list of workflow build versions that match the request criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workflowVersionList
ListWorkflowsResponse.Builder workflowVersionList(Consumer<WorkflowVersion.Builder>... workflowVersionList)
A list of workflow build versions that match the request criteria.
This is a convenience method that creates an instance of theWorkflowVersion.Builderavoiding the need to create one manually viaWorkflowVersion.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#workflowVersionList(List.) - Parameters:
workflowVersionList- a consumer that will call methods onWorkflowVersion.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#workflowVersionList(java.util.Collection)
-
nextToken
ListWorkflowsResponse.Builder nextToken(String nextToken)
The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
- Parameters:
nextToken- The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-