Interface ListVpcConnectorsResponse.Builder

    • Method Detail

      • vpcConnectors

        ListVpcConnectorsResponse.Builder vpcConnectors​(Collection<VpcConnector> vpcConnectors)

        A list of information records for VPC connectors. In a paginated request, the request returns up to MaxResults records for each call.

        Parameters:
        vpcConnectors - A list of information records for VPC connectors. In a paginated request, the request returns up to MaxResults records for each call.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • vpcConnectors

        ListVpcConnectorsResponse.Builder vpcConnectors​(VpcConnector... vpcConnectors)

        A list of information records for VPC connectors. In a paginated request, the request returns up to MaxResults records for each call.

        Parameters:
        vpcConnectors - A list of information records for VPC connectors. In a paginated request, the request returns up to MaxResults records for each call.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • vpcConnectors

        ListVpcConnectorsResponse.Builder vpcConnectors​(Consumer<VpcConnector.Builder>... vpcConnectors)

        A list of information records for VPC connectors. In a paginated request, the request returns up to MaxResults records for each call.

        This is a convenience method that creates an instance of the VpcConnector.Builder avoiding the need to create one manually via VpcConnector.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #vpcConnectors(List).

        Parameters:
        vpcConnectors - a consumer that will call methods on VpcConnector.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #vpcConnectors(java.util.Collection)
      • nextToken

        ListVpcConnectorsResponse.Builder nextToken​(String nextToken)

        The token that you can pass in a subsequent request to get the next result page. It's returned in a paginated request.

        Parameters:
        nextToken - The token that you can pass in a subsequent request to get the next result page. It's returned in a paginated request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.