Interface ListClientVpcConnectionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListClientVpcConnectionsResponse.Builder,,ListClientVpcConnectionsResponse> KafkaResponse.Builder,SdkBuilder<ListClientVpcConnectionsResponse.Builder,,ListClientVpcConnectionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListClientVpcConnectionsResponse
-
Method Summary
Modifier and TypeMethodDescriptionclientVpcConnections(Collection<ClientVpcConnection> clientVpcConnections) List of client VPC connections.clientVpcConnections(Consumer<ClientVpcConnection.Builder>... clientVpcConnections) List of client VPC connections.clientVpcConnections(ClientVpcConnection... clientVpcConnections) List of client VPC connections.The paginated results marker.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.kafka.model.KafkaResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
clientVpcConnections
ListClientVpcConnectionsResponse.Builder clientVpcConnections(Collection<ClientVpcConnection> clientVpcConnections) List of client VPC connections.
- Parameters:
clientVpcConnections-List of client VPC connections.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientVpcConnections
ListClientVpcConnectionsResponse.Builder clientVpcConnections(ClientVpcConnection... clientVpcConnections) List of client VPC connections.
- Parameters:
clientVpcConnections-List of client VPC connections.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientVpcConnections
ListClientVpcConnectionsResponse.Builder clientVpcConnections(Consumer<ClientVpcConnection.Builder>... clientVpcConnections) List of client VPC connections.
This is a convenience method that creates an instance of theClientVpcConnection.Builderavoiding the need to create one manually viaClientVpcConnection.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toclientVpcConnections(List<ClientVpcConnection>).- Parameters:
clientVpcConnections- a consumer that will call methods onClientVpcConnection.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.
-