Interface ListVpcConnectionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListVpcConnectionsResponse.Builder,
,ListVpcConnectionsResponse> KafkaResponse.Builder
,SdkBuilder<ListVpcConnectionsResponse.Builder,
,ListVpcConnectionsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListVpcConnectionsResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe paginated results marker.vpcConnections
(Collection<VpcConnection> vpcConnections) List of VPC connections.vpcConnections
(Consumer<VpcConnection.Builder>... vpcConnections) List of VPC connections.vpcConnections
(VpcConnection... vpcConnections) List of VPC connections.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.kafka.model.KafkaResponse.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
-
vpcConnections
List of VPC connections.
- Parameters:
vpcConnections
-List of VPC connections.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConnections
List of VPC connections.
- Parameters:
vpcConnections
-List of VPC connections.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConnections
ListVpcConnectionsResponse.Builder vpcConnections(Consumer<VpcConnection.Builder>... vpcConnections) List of VPC connections.
This is a convenience method that creates an instance of theVpcConnection.Builder
avoiding the need to create one manually viaVpcConnection.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovpcConnections(List<VpcConnection>)
.- Parameters:
vpcConnections
- a consumer that will call methods onVpcConnection.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The paginated results marker. When the result of a ListClientVpcConnections operation is truncated, the call returns NextToken in the response. To get another batch of configurations, provide this token in your next request.
- Parameters:
nextToken
-The paginated results marker. When the result of a ListClientVpcConnections operation is truncated, the call returns NextToken in the response. To get another batch of configurations, provide this token in your next request.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-