Interface GetVpnConnectionDeviceTypesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetVpnConnectionDeviceTypesResponse.Builder,
,GetVpnConnectionDeviceTypesResponse> Ec2Response.Builder
,SdkBuilder<GetVpnConnectionDeviceTypesResponse.Builder,
,GetVpnConnectionDeviceTypesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetVpnConnectionDeviceTypesResponse
public static interface GetVpnConnectionDeviceTypesResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<GetVpnConnectionDeviceTypesResponse.Builder,GetVpnConnectionDeviceTypesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionTheNextToken
value to include in a futureGetVpnConnectionDeviceTypes
request.vpnConnectionDeviceTypes
(Collection<VpnConnectionDeviceType> vpnConnectionDeviceTypes) List of customer gateway devices that have a sample configuration file available for use.vpnConnectionDeviceTypes
(Consumer<VpnConnectionDeviceType.Builder>... vpnConnectionDeviceTypes) List of customer gateway devices that have a sample configuration file available for use.vpnConnectionDeviceTypes
(VpnConnectionDeviceType... vpnConnectionDeviceTypes) List of customer gateway devices that have a sample configuration file available for use.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
vpnConnectionDeviceTypes
GetVpnConnectionDeviceTypesResponse.Builder vpnConnectionDeviceTypes(Collection<VpnConnectionDeviceType> vpnConnectionDeviceTypes) List of customer gateway devices that have a sample configuration file available for use.
- Parameters:
vpnConnectionDeviceTypes
- List of customer gateway devices that have a sample configuration file available for use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpnConnectionDeviceTypes
GetVpnConnectionDeviceTypesResponse.Builder vpnConnectionDeviceTypes(VpnConnectionDeviceType... vpnConnectionDeviceTypes) List of customer gateway devices that have a sample configuration file available for use.
- Parameters:
vpnConnectionDeviceTypes
- List of customer gateway devices that have a sample configuration file available for use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpnConnectionDeviceTypes
GetVpnConnectionDeviceTypesResponse.Builder vpnConnectionDeviceTypes(Consumer<VpnConnectionDeviceType.Builder>... vpnConnectionDeviceTypes) List of customer gateway devices that have a sample configuration file available for use.
This is a convenience method that creates an instance of theVpnConnectionDeviceType.Builder
avoiding the need to create one manually viaVpnConnectionDeviceType.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovpnConnectionDeviceTypes(List<VpnConnectionDeviceType>)
.- Parameters:
vpnConnectionDeviceTypes
- a consumer that will call methods onVpnConnectionDeviceType.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The
NextToken
value to include in a futureGetVpnConnectionDeviceTypes
request. When the results of aGetVpnConnectionDeviceTypes
request exceedMaxResults
, this value can be used to retrieve the next page of results. This value is null when there are no more results to return.- Parameters:
nextToken
- TheNextToken
value to include in a futureGetVpnConnectionDeviceTypes
request. When the results of aGetVpnConnectionDeviceTypes
request exceedMaxResults
, this value can be used to retrieve the next page of results. This value is null when there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-