Interface ListVirtualGatewaysResponse.Builder
- All Superinterfaces:
AppMeshResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<ListVirtualGatewaysResponse.Builder,,ListVirtualGatewaysResponse> SdkBuilder<ListVirtualGatewaysResponse.Builder,,ListVirtualGatewaysResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListVirtualGatewaysResponse
@Mutable
@NotThreadSafe
public static interface ListVirtualGatewaysResponse.Builder
extends AppMeshResponse.Builder, SdkPojo, CopyableBuilder<ListVirtualGatewaysResponse.Builder,ListVirtualGatewaysResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThenextTokenvalue to include in a futureListVirtualGatewaysrequest.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, responseMetadataMethods 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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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
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.Builderavoiding the need to create one manually viaVirtualGatewayRef.builder().When the
Consumercompletes,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:
-