public static interface ListServiceInstancesResponse.Builder extends ProtonResponse.Builder, SdkPojo, CopyableBuilder<ListServiceInstancesResponse.Builder,ListServiceInstancesResponse>
| Modifier and Type | Method and Description |
|---|---|
ListServiceInstancesResponse.Builder |
nextToken(String nextToken)
A token that indicates the location of the next service instance in the array of service instances, after the
current requested list of service instances.
|
ListServiceInstancesResponse.Builder |
serviceInstances(Collection<ServiceInstanceSummary> serviceInstances)
An array of service instances with summary data.
|
ListServiceInstancesResponse.Builder |
serviceInstances(Consumer<ServiceInstanceSummary.Builder>... serviceInstances)
An array of service instances with summary data.
|
ListServiceInstancesResponse.Builder |
serviceInstances(ServiceInstanceSummary... serviceInstances)
An array of service instances with summary data.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildListServiceInstancesResponse.Builder nextToken(String nextToken)
A token that indicates the location of the next service instance in the array of service instances, after the current requested list of service instances.
nextToken - A token that indicates the location of the next service instance in the array of service instances,
after the current requested list of service instances.ListServiceInstancesResponse.Builder serviceInstances(Collection<ServiceInstanceSummary> serviceInstances)
An array of service instances with summary data.
serviceInstances - An array of service instances with summary data.ListServiceInstancesResponse.Builder serviceInstances(ServiceInstanceSummary... serviceInstances)
An array of service instances with summary data.
serviceInstances - An array of service instances with summary data.ListServiceInstancesResponse.Builder serviceInstances(Consumer<ServiceInstanceSummary.Builder>... serviceInstances)
An array of service instances with summary data.
This is a convenience method that creates an instance of theServiceInstanceSummary.Builder avoiding the need to
create one manually via ServiceInstanceSummary.builder()
.
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #serviceInstances(List.
serviceInstances - a consumer that will call methods on
ServiceInstanceSummary.Builder#serviceInstances(java.util.Collection) Copyright © 2023. All rights reserved.