Interface ListWorkflowsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListWorkflowsResponse.Builder,,ListWorkflowsResponse> CustomerProfilesResponse.Builder,SdkBuilder<ListWorkflowsResponse.Builder,,ListWorkflowsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListWorkflowsResponse
@Mutable
@NotThreadSafe
public static interface ListWorkflowsResponse.Builder
extends CustomerProfilesResponse.Builder, SdkPojo, CopyableBuilder<ListWorkflowsResponse.Builder,ListWorkflowsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionitems(Collection<ListWorkflowsItem> items) List containing workflow details.items(Consumer<ListWorkflowsItem.Builder>... items) List containing workflow details.items(ListWorkflowsItem... items) List containing workflow details.If there are additional results, this is the token for the next set of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.customerprofiles.model.CustomerProfilesResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
items
List containing workflow details.
- Parameters:
items- List containing workflow details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
List containing workflow details.
- Parameters:
items- List containing workflow details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
List containing workflow details.
This is a convenience method that creates an instance of theListWorkflowsItem.Builderavoiding the need to create one manually viaListWorkflowsItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitems(List<ListWorkflowsItem>).- Parameters:
items- a consumer that will call methods onListWorkflowsItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If there are additional results, this is the token for the next set of results.
- Parameters:
nextToken- If there are additional results, this is the token for the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-