Interface ListFieldOptionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ConnectCasesResponse.Builder,CopyableBuilder<ListFieldOptionsResponse.Builder,,ListFieldOptionsResponse> SdkBuilder<ListFieldOptionsResponse.Builder,,ListFieldOptionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListFieldOptionsResponse
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 ofFieldOptionobjects.options(Consumer<FieldOption.Builder>... options) A list ofFieldOptionobjects.options(FieldOption... options) A list ofFieldOptionobjects.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
-
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
FieldOptionobjects.- Parameters:
options- A list ofFieldOptionobjects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
options
A list of
FieldOptionobjects.- Parameters:
options- A list ofFieldOptionobjects.- 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 theFieldOptionobjects.FieldOption.Builderavoiding the need to create one manually viaFieldOption.builder().When the
Consumercompletes,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:
-