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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListVirtualGatewaysResponse.BuildernextToken(String nextToken)ThenextTokenvalue to include in a futureListVirtualGatewaysrequest.ListVirtualGatewaysResponse.BuildervirtualGateways(Collection<VirtualGatewayRef> virtualGateways)The list of existing virtual gateways for the specified service mesh.ListVirtualGatewaysResponse.BuildervirtualGateways(Consumer<VirtualGatewayRef.Builder>... virtualGateways)The list of existing virtual gateways for the specified service mesh.ListVirtualGatewaysResponse.BuildervirtualGateways(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 Detail
-
nextToken
ListVirtualGatewaysResponse.Builder nextToken(String nextToken)
The
nextTokenvalue to include in a futureListVirtualGatewaysrequest. When the results of aListVirtualGatewaysrequest exceedlimit, you can use this value to retrieve the next page of results. This value isnullwhen there are no more results to return.- Parameters:
nextToken- ThenextTokenvalue to include in a futureListVirtualGatewaysrequest. When the results of aListVirtualGatewaysrequest exceedlimit, you can use this value to retrieve the next page of results. This value isnullwhen there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
virtualGateways
ListVirtualGatewaysResponse.Builder virtualGateways(Collection<VirtualGatewayRef> 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(VirtualGatewayRef... 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.Builderavoiding the need to create one manually viaVirtualGatewayRef.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#virtualGateways(List.) - 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:
#virtualGateways(java.util.Collection)
-
-