Interface DescribeClientVpnRoutesResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CopyableBuilder<DescribeClientVpnRoutesResponse.Builder,,- DescribeClientVpnRoutesResponse> - Ec2Response.Builder,- SdkBuilder<DescribeClientVpnRoutesResponse.Builder,,- DescribeClientVpnRoutesResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- DescribeClientVpnRoutesResponse
@Mutable
@NotThreadSafe
public static interface DescribeClientVpnRoutesResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DescribeClientVpnRoutesResponse.Builder,DescribeClientVpnRoutesResponse> 
- 
Method SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
routesInformation 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.
 
- 
routesInformation 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.
 
- 
routesInformation 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 on- ClientVpnRoute.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
nextTokenThe 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 is- nullwhen there are no more results to return.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-