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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListFieldsResponse.Builderfields(Collection<FieldSummary> fields)List of detailed field information.ListFieldsResponse.Builderfields(Consumer<FieldSummary.Builder>... fields)List of detailed field information.ListFieldsResponse.Builderfields(FieldSummary... fields)List of detailed field information.ListFieldsResponse.BuildernextToken(String nextToken)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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
fields
ListFieldsResponse.Builder fields(Collection<FieldSummary> 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
ListFieldsResponse.Builder fields(FieldSummary... 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
ListFieldsResponse.Builder fields(Consumer<FieldSummary.Builder>... 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 to#fields(List.) - 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:
#fields(java.util.Collection)
-
nextToken
ListFieldsResponse.Builder nextToken(String 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.
-
-