Interface ListServicesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListServicesResponse.Builder,
,ListServicesResponse> SdkBuilder<ListServicesResponse.Builder,
,ListServicesResponse> SdkPojo
,SdkResponse.Builder
,ServiceQuotasResponse.Builder
- Enclosing class:
ListServicesResponse
@Mutable
@NotThreadSafe
public static interface ListServicesResponse.Builder
extends ServiceQuotasResponse.Builder, SdkPojo, CopyableBuilder<ListServicesResponse.Builder,ListServicesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionIf present, indicates that more output is available than is included in the current response.services
(Collection<ServiceInfo> services) The list of the Amazon Web Services service names and service codes.services
(Consumer<ServiceInfo.Builder>... services) The list of the Amazon Web Services service names and service codes.services
(ServiceInfo... services) The list of the Amazon Web Services service names and service codes.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.servicequotas.model.ServiceQuotasResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
nextToken
If present, indicates that more output is available than is included in the current response. Use this value in the
NextToken
request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until theNextToken
response element comes back asnull
.- Parameters:
nextToken
- If present, indicates that more output is available than is included in the current response. Use this value in theNextToken
request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until theNextToken
response element comes back asnull
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
services
The list of the Amazon Web Services service names and service codes.
- Parameters:
services
- The list of the Amazon Web Services service names and service codes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
services
The list of the Amazon Web Services service names and service codes.
- Parameters:
services
- The list of the Amazon Web Services service names and service codes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
services
The list of the Amazon Web Services service names and service codes.
This is a convenience method that creates an instance of theServiceInfo.Builder
avoiding the need to create one manually viaServiceInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toservices(List<ServiceInfo>)
.- Parameters:
services
- a consumer that will call methods onServiceInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-