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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeClientVpnRoutesResponse.BuildernextToken(String nextToken)The token to use to retrieve the next page of results.DescribeClientVpnRoutesResponse.Builderroutes(Collection<ClientVpnRoute> routes)Information about the Client VPN endpoint routes.DescribeClientVpnRoutesResponse.Builderroutes(Consumer<ClientVpnRoute.Builder>... routes)Information about the Client VPN endpoint routes.DescribeClientVpnRoutesResponse.Builderroutes(ClientVpnRoute... routes)Information about the Client VPN endpoint routes.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
routes
DescribeClientVpnRoutesResponse.Builder routes(Collection<ClientVpnRoute> 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
DescribeClientVpnRoutesResponse.Builder routes(ClientVpnRoute... 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
DescribeClientVpnRoutesResponse.Builder routes(Consumer<ClientVpnRoute.Builder>... 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 to#routes(List.) - 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:
#routes(java.util.Collection)
-
nextToken
DescribeClientVpnRoutesResponse.Builder nextToken(String 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.
-
-