Interface ListServicesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListServicesResponse.Builder,,ListServicesResponse> SdkBuilder<ListServicesResponse.Builder,,ListServicesResponse> SdkPojo,SdkResponse.Builder,ServiceQuotasResponse.Builder
- Enclosing class:
ListServicesResponse
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 Service names and service codes.services(Consumer<ServiceInfo.Builder>... services) The list of the Amazon Web Service names and service codes.services(ServiceInfo... services) The list of the Amazon Web Service names and service codes.Methods 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, sdkHttpResponseMethods 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
NextTokenrequest parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until theNextTokenresponse 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 theNextTokenrequest parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until theNextTokenresponse 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 Service names and service codes.
- Parameters:
services- The list of the Amazon Web 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 Service names and service codes.
- Parameters:
services- The list of the Amazon Web 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 Service names and service codes.
This is a convenience method that creates an instance of theServiceInfo.Builderavoiding the need to create one manually viaServiceInfo.builder().When the
Consumercompletes,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:
-