Interface ListGatewayRoutesResponse.Builder
- All Superinterfaces:
AppMeshResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<ListGatewayRoutesResponse.Builder,,ListGatewayRoutesResponse> SdkBuilder<ListGatewayRoutesResponse.Builder,,ListGatewayRoutesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListGatewayRoutesResponse
@Mutable
@NotThreadSafe
public static interface ListGatewayRoutesResponse.Builder
extends AppMeshResponse.Builder, SdkPojo, CopyableBuilder<ListGatewayRoutesResponse.Builder,ListGatewayRoutesResponse>
-
Method Summary
Modifier and TypeMethodDescriptiongatewayRoutes(Collection<GatewayRouteRef> gatewayRoutes) The list of existing gateway routes for the specified service mesh and virtual gateway.gatewayRoutes(Consumer<GatewayRouteRef.Builder>... gatewayRoutes) The list of existing gateway routes for the specified service mesh and virtual gateway.gatewayRoutes(GatewayRouteRef... gatewayRoutes) The list of existing gateway routes for the specified service mesh and virtual gateway.ThenextTokenvalue to include in a futureListGatewayRoutesrequest.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
-
gatewayRoutes
The list of existing gateway routes for the specified service mesh and virtual gateway.
- Parameters:
gatewayRoutes- The list of existing gateway routes for the specified service mesh and virtual gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gatewayRoutes
The list of existing gateway routes for the specified service mesh and virtual gateway.
- Parameters:
gatewayRoutes- The list of existing gateway routes for the specified service mesh and virtual gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gatewayRoutes
The list of existing gateway routes for the specified service mesh and virtual gateway.
This is a convenience method that creates an instance of theGatewayRouteRef.Builderavoiding the need to create one manually viaGatewayRouteRef.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togatewayRoutes(List<GatewayRouteRef>).- Parameters:
gatewayRoutes- a consumer that will call methods onGatewayRouteRef.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The
nextTokenvalue to include in a futureListGatewayRoutesrequest. When the results of aListGatewayRoutesrequest 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 futureListGatewayRoutesrequest. When the results of aListGatewayRoutesrequest 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.
-