Interface ListFieldsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ConnectCasesResponse.Builder,CopyableBuilder<ListFieldsResponse.Builder,,ListFieldsResponse> SdkBuilder<ListFieldsResponse.Builder,,ListFieldsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListFieldsResponse
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, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaFieldSummary.builder().When the
Consumercompletes,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.
-