Interface ListVpcConnectionsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListVpcConnectionsResponse.Builder,ListVpcConnectionsResponse>,KafkaResponse.Builder,SdkBuilder<ListVpcConnectionsResponse.Builder,ListVpcConnectionsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListVpcConnectionsResponse
public static interface ListVpcConnectionsResponse.Builder extends KafkaResponse.Builder, SdkPojo, CopyableBuilder<ListVpcConnectionsResponse.Builder,ListVpcConnectionsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListVpcConnectionsResponse.BuildernextToken(String nextToken)The paginated results marker.ListVpcConnectionsResponse.BuildervpcConnections(Collection<VpcConnection> vpcConnections)List of VPC connections.ListVpcConnectionsResponse.BuildervpcConnections(Consumer<VpcConnection.Builder>... vpcConnections)List of VPC connections.ListVpcConnectionsResponse.BuildervpcConnections(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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
vpcConnections
ListVpcConnectionsResponse.Builder vpcConnections(Collection<VpcConnection> 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(VpcConnection... 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.Builderavoiding the need to create one manually viaVpcConnection.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#vpcConnections(List.) - 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:
#vpcConnections(java.util.Collection)
-
nextToken
ListVpcConnectionsResponse.Builder nextToken(String 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.
-
-