Interface DescribeClientVpnRoutesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeClientVpnRoutesResponse.Builder,,DescribeClientVpnRoutesResponse> Ec2Response.Builder,SdkBuilder<DescribeClientVpnRoutesResponse.Builder,,DescribeClientVpnRoutesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeClientVpnRoutesResponse
public static interface DescribeClientVpnRoutesResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DescribeClientVpnRoutesResponse.Builder,DescribeClientVpnRoutesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token to use to retrieve the next page of results.routes(Collection<ClientVpnRoute> routes) Information about the Client VPN endpoint routes.routes(Consumer<ClientVpnRoute.Builder>... routes) Information about the Client VPN endpoint routes.routes(ClientVpnRoute... routes) Information about the Client VPN endpoint routes.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
routes
Information about the Client VPN endpoint routes.
- Parameters:
routes- Information about the Client VPN endpoint routes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routes
Information about the Client VPN endpoint routes.
- Parameters:
routes- Information about the Client VPN endpoint routes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routes
Information about the Client VPN endpoint routes.
This is a convenience method that creates an instance of theClientVpnRoute.Builderavoiding the need to create one manually viaClientVpnRoute.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toroutes(List<ClientVpnRoute>).- Parameters:
routes- a consumer that will call methods onClientVpnRoute.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to use to retrieve the next page of results. This value is
nullwhen there are no more results to return.- Parameters:
nextToken- The token to use 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.
-