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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListServicesResponse.BuildernextToken(String nextToken)If present, indicates that more output is available than is included in the current response.ListServicesResponse.Builderservices(Collection<ServiceInfo> services)The list of the Amazon Web Service names and service codes.ListServicesResponse.Builderservices(Consumer<ServiceInfo.Builder>... services)The list of the Amazon Web Service names and service codes.ListServicesResponse.Builderservices(ServiceInfo... services)The list of the Amazon Web 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, 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 Detail
-
nextToken
ListServicesResponse.Builder nextToken(String 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
ListServicesResponse.Builder services(Collection<ServiceInfo> 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
ListServicesResponse.Builder services(ServiceInfo... 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
ListServicesResponse.Builder services(Consumer<ServiceInfo.Builder>... 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 to#services(List.) - 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:
#services(java.util.Collection)
-
-