Interface ListWorkflowsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListWorkflowsResponse.Builder,
,ListWorkflowsResponse> ImagebuilderResponse.Builder
,SdkBuilder<ListWorkflowsResponse.Builder,
,ListWorkflowsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListWorkflowsResponse
@Mutable
@NotThreadSafe
public static interface ListWorkflowsResponse.Builder
extends ImagebuilderResponse.Builder, SdkPojo, CopyableBuilder<ListWorkflowsResponse.Builder,ListWorkflowsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe next token used for paginated responses.workflowVersionList
(Collection<WorkflowVersion> workflowVersionList) A list of workflow build versions that match the request criteria.workflowVersionList
(Consumer<WorkflowVersion.Builder>... workflowVersionList) A list of workflow build versions that match the request criteria.workflowVersionList
(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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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
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.Builder
avoiding the need to create one manually viaWorkflowVersion.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toworkflowVersionList(List<WorkflowVersion>)
.- 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:
-
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.
-