Interface DescribeVpnConcentratorsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeVpnConcentratorsResponse.Builder,,DescribeVpnConcentratorsResponse> Ec2Response.Builder,SdkBuilder<DescribeVpnConcentratorsResponse.Builder,,DescribeVpnConcentratorsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeVpnConcentratorsResponse
@Mutable
@NotThreadSafe
public static interface DescribeVpnConcentratorsResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DescribeVpnConcentratorsResponse.Builder,DescribeVpnConcentratorsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token to use to retrieve the next page of results.vpnConcentrators(Collection<VpnConcentrator> vpnConcentrators) Information about the VPN concentrators.vpnConcentrators(Consumer<VpnConcentrator.Builder>... vpnConcentrators) Information about the VPN concentrators.vpnConcentrators(VpnConcentrator... vpnConcentrators) Information about the VPN concentrators.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
-
vpnConcentrators
DescribeVpnConcentratorsResponse.Builder vpnConcentrators(Collection<VpnConcentrator> vpnConcentrators) Information about the VPN concentrators.
- Parameters:
vpnConcentrators- Information about the VPN concentrators.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpnConcentrators
Information about the VPN concentrators.
- Parameters:
vpnConcentrators- Information about the VPN concentrators.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpnConcentrators
DescribeVpnConcentratorsResponse.Builder vpnConcentrators(Consumer<VpnConcentrator.Builder>... vpnConcentrators) Information about the VPN concentrators.
This is a convenience method that creates an instance of theVpnConcentrator.Builderavoiding the need to create one manually viaVpnConcentrator.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovpnConcentrators(List<VpnConcentrator>).- Parameters:
vpnConcentrators- a consumer that will call methods onVpnConcentrator.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.
-