Interface ListVirtualGatewaysResponse.Builder
- All Superinterfaces:
AppMeshResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<ListVirtualGatewaysResponse.Builder,
,ListVirtualGatewaysResponse> SdkBuilder<ListVirtualGatewaysResponse.Builder,
,ListVirtualGatewaysResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListVirtualGatewaysResponse
public static interface ListVirtualGatewaysResponse.Builder
extends AppMeshResponse.Builder, SdkPojo, CopyableBuilder<ListVirtualGatewaysResponse.Builder,ListVirtualGatewaysResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThenextToken
value to include in a futureListVirtualGateways
request.virtualGateways
(Collection<VirtualGatewayRef> virtualGateways) The list of existing virtual gateways for the specified service mesh.virtualGateways
(Consumer<VirtualGatewayRef.Builder>... virtualGateways) The list of existing virtual gateways for the specified service mesh.virtualGateways
(VirtualGatewayRef... virtualGateways) The list of existing virtual gateways for the specified service mesh.Methods inherited from interface software.amazon.awssdk.services.appmesh.model.AppMeshResponse.Builder
build, responseMetadata, responseMetadata
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
-
Method Details
-
nextToken
The
nextToken
value to include in a futureListVirtualGateways
request. When the results of aListVirtualGateways
request exceedlimit
, you can use this value to retrieve the next page of results. This value isnull
when there are no more results to return.- Parameters:
nextToken
- ThenextToken
value to include in a futureListVirtualGateways
request. When the results of aListVirtualGateways
request exceedlimit
, you can use this value to retrieve the next page of results. This value isnull
when there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
virtualGateways
The list of existing virtual gateways for the specified service mesh.
- Parameters:
virtualGateways
- The list of existing virtual gateways for the specified service mesh.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
virtualGateways
The list of existing virtual gateways for the specified service mesh.
- Parameters:
virtualGateways
- The list of existing virtual gateways for the specified service mesh.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
virtualGateways
ListVirtualGatewaysResponse.Builder virtualGateways(Consumer<VirtualGatewayRef.Builder>... virtualGateways) The list of existing virtual gateways for the specified service mesh.
This is a convenience method that creates an instance of theVirtualGatewayRef.Builder
avoiding the need to create one manually viaVirtualGatewayRef.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovirtualGateways(List<VirtualGatewayRef>)
.- Parameters:
virtualGateways
- a consumer that will call methods onVirtualGatewayRef.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-