Interface ListFieldsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,ConnectCasesResponse.Builder
,CopyableBuilder<ListFieldsResponse.Builder,
,ListFieldsResponse> SdkBuilder<ListFieldsResponse.Builder,
,ListFieldsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListFieldsResponse
@Mutable
@NotThreadSafe
public static interface ListFieldsResponse.Builder
extends ConnectCasesResponse.Builder, SdkPojo, CopyableBuilder<ListFieldsResponse.Builder,ListFieldsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionfields
(Collection<FieldSummary> fields) List of detailed field information.fields
(Consumer<FieldSummary.Builder>... fields) List of detailed field information.fields
(FieldSummary... fields) List of detailed field information.The token for the next set of results.Methods inherited from interface software.amazon.awssdk.services.connectcases.model.ConnectCasesResponse.Builder
build, responseMetadata, responseMetadata
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
-
Method Details
-
fields
List of detailed field information.
- Parameters:
fields
- List of detailed field information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fields
List of detailed field information.
- Parameters:
fields
- List of detailed field information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fields
List of detailed field information.
This is a convenience method that creates an instance of theFieldSummary.Builder
avoiding the need to create one manually viaFieldSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofields(List<FieldSummary>)
.- Parameters:
fields
- a consumer that will call methods onFieldSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token for the next set of results. This is null if there are no more results to return.
- Parameters:
nextToken
- The token for the next set of results. This is null if there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-