Interface ListFieldOptionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,ConnectCasesResponse.Builder
,CopyableBuilder<ListFieldOptionsResponse.Builder,
,ListFieldOptionsResponse> SdkBuilder<ListFieldOptionsResponse.Builder,
,ListFieldOptionsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListFieldOptionsResponse
@Mutable
@NotThreadSafe
public static interface ListFieldOptionsResponse.Builder
extends ConnectCasesResponse.Builder, SdkPojo, CopyableBuilder<ListFieldOptionsResponse.Builder,ListFieldOptionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token for the next set of results.options
(Collection<FieldOption> options) A list ofFieldOption
objects.options
(Consumer<FieldOption.Builder>... options) A list ofFieldOption
objects.options
(FieldOption... options) A list ofFieldOption
objects.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
-
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.
-
options
A list of
FieldOption
objects.- Parameters:
options
- A list ofFieldOption
objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
options
A list of
FieldOption
objects.- Parameters:
options
- A list ofFieldOption
objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
options
A list of
This is a convenience method that creates an instance of theFieldOption
objects.FieldOption.Builder
avoiding the need to create one manually viaFieldOption.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooptions(List<FieldOption>)
.- Parameters:
options
- a consumer that will call methods onFieldOption.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-