Interface GetVpnConnectionDeviceTypesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetVpnConnectionDeviceTypesResponse.Builder,,GetVpnConnectionDeviceTypesResponse> Ec2Response.Builder,SdkBuilder<GetVpnConnectionDeviceTypesResponse.Builder,,GetVpnConnectionDeviceTypesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetVpnConnectionDeviceTypesResponse
@Mutable
@NotThreadSafe
public static interface GetVpnConnectionDeviceTypesResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<GetVpnConnectionDeviceTypesResponse.Builder,GetVpnConnectionDeviceTypesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionTheNextTokenvalue to include in a futureGetVpnConnectionDeviceTypesrequest.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
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, sdkFieldNameToField, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaVpnConnectionDeviceType.builder().When the
Consumercompletes,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
NextTokenvalue to include in a futureGetVpnConnectionDeviceTypesrequest. When the results of aGetVpnConnectionDeviceTypesrequest 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- TheNextTokenvalue to include in a futureGetVpnConnectionDeviceTypesrequest. When the results of aGetVpnConnectionDeviceTypesrequest 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.
-