Interface ListServicesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListServicesResponse.Builder,
,ListServicesResponse> SdkBuilder<ListServicesResponse.Builder,
,ListServicesResponse> SdkPojo
,SdkResponse.Builder
,VpcLatticeResponse.Builder
- Enclosing class:
ListServicesResponse
@Mutable
@NotThreadSafe
public static interface ListServicesResponse.Builder
extends VpcLatticeResponse.Builder, SdkPojo, CopyableBuilder<ListServicesResponse.Builder,ListServicesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionitems
(Collection<ServiceSummary> items) Information about the services.items
(Consumer<ServiceSummary.Builder>... items) Information about the services.items
(ServiceSummary... items) Information about the services.If there are additional results, a pagination token for the next page of results.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
Methods inherited from interface software.amazon.awssdk.services.vpclattice.model.VpcLatticeResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
items
Information about the services.
- Parameters:
items
- Information about the services.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
Information about the services.
- Parameters:
items
- Information about the services.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
Information about the services.
This is a convenience method that creates an instance of theServiceSummary.Builder
avoiding the need to create one manually viaServiceSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toitems(List<ServiceSummary>)
.- Parameters:
items
- a consumer that will call methods onServiceSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If there are additional results, a pagination token for the next page of results.
- Parameters:
nextToken
- If there are additional results, a pagination token for the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-