Interface ListInstancesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,ConnectResponse.Builder
,CopyableBuilder<ListInstancesResponse.Builder,
,ListInstancesResponse> SdkBuilder<ListInstancesResponse.Builder,
,ListInstancesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListInstancesResponse
@Mutable
@NotThreadSafe
public static interface ListInstancesResponse.Builder
extends ConnectResponse.Builder, SdkPojo, CopyableBuilder<ListInstancesResponse.Builder,ListInstancesResponse>
-
Method Summary
Modifier and TypeMethodDescriptioninstanceSummaryList
(Collection<InstanceSummary> instanceSummaryList) Information about the instances.instanceSummaryList
(Consumer<InstanceSummary.Builder>... instanceSummaryList) Information about the instances.instanceSummaryList
(InstanceSummary... instanceSummaryList) Information about the instances.If there are additional results, this is the token for the next set of results.Methods inherited from interface software.amazon.awssdk.services.connect.model.ConnectResponse.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
-
instanceSummaryList
Information about the instances.
- Parameters:
instanceSummaryList
- Information about the instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceSummaryList
Information about the instances.
- Parameters:
instanceSummaryList
- Information about the instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceSummaryList
ListInstancesResponse.Builder instanceSummaryList(Consumer<InstanceSummary.Builder>... instanceSummaryList) Information about the instances.
This is a convenience method that creates an instance of theInstanceSummary.Builder
avoiding the need to create one manually viaInstanceSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinstanceSummaryList(List<InstanceSummary>)
.- Parameters:
instanceSummaryList
- a consumer that will call methods onInstanceSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If there are additional results, this is the token for the next set of results.
- Parameters:
nextToken
- If there are additional results, this is the token for the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-