Interface ListGatewayRoutesResponse.Builder
-
- All Superinterfaces:
AppMeshResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<ListGatewayRoutesResponse.Builder,ListGatewayRoutesResponse>,SdkBuilder<ListGatewayRoutesResponse.Builder,ListGatewayRoutesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListGatewayRoutesResponse
public static interface ListGatewayRoutesResponse.Builder extends AppMeshResponse.Builder, SdkPojo, CopyableBuilder<ListGatewayRoutesResponse.Builder,ListGatewayRoutesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListGatewayRoutesResponse.BuildergatewayRoutes(Collection<GatewayRouteRef> gatewayRoutes)The list of existing gateway routes for the specified service mesh and virtual gateway.ListGatewayRoutesResponse.BuildergatewayRoutes(Consumer<GatewayRouteRef.Builder>... gatewayRoutes)The list of existing gateway routes for the specified service mesh and virtual gateway.ListGatewayRoutesResponse.BuildergatewayRoutes(GatewayRouteRef... gatewayRoutes)The list of existing gateway routes for the specified service mesh and virtual gateway.ListGatewayRoutesResponse.BuildernextToken(String nextToken)ThenextTokenvalue to include in a futureListGatewayRoutesrequest.-
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
-
gatewayRoutes
ListGatewayRoutesResponse.Builder gatewayRoutes(Collection<GatewayRouteRef> 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
ListGatewayRoutesResponse.Builder gatewayRoutes(GatewayRouteRef... 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
ListGatewayRoutesResponse.Builder gatewayRoutes(Consumer<GatewayRouteRef.Builder>... 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 to#gatewayRoutes(List.) - 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:
#gatewayRoutes(java.util.Collection)
-
nextToken
ListGatewayRoutesResponse.Builder nextToken(String 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.
-
-