Interface ListServicesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListServicesResponse.Builder,
,ListServicesResponse> ProtonResponse.Builder
,SdkBuilder<ListServicesResponse.Builder,
,ListServicesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListServicesResponse
public static interface ListServicesResponse.Builder
extends ProtonResponse.Builder, SdkPojo, CopyableBuilder<ListServicesResponse.Builder,ListServicesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionA token that indicates the location of the next service in the array of services, after the current requested list of services.services
(Collection<ServiceSummary> services) An array of services with summaries of detail data.services
(Consumer<ServiceSummary.Builder>... services) An array of services with summaries of detail data.services
(ServiceSummary... services) An array of services with summaries of detail data.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.proton.model.ProtonResponse.Builder
build, responseMetadata, responseMetadata
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 Details
-
nextToken
A token that indicates the location of the next service in the array of services, after the current requested list of services.
- Parameters:
nextToken
- A token that indicates the location of the next service in the array of services, after the current requested list of services.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
services
An array of services with summaries of detail data.
- Parameters:
services
- An array of services with summaries of detail data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
services
An array of services with summaries of detail data.
- Parameters:
services
- An array of services with summaries of detail data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
services
An array of services with summaries of detail data.
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 toservices(List<ServiceSummary>)
.- Parameters:
services
- 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:
-