Interface DescribeVpcsResponse.Builder

    • Method Detail

      • vpcs

        DescribeVpcsResponse.Builder vpcs​(Collection<Vpc> vpcs)

        Information about one or more VPCs.

        Parameters:
        vpcs - Information about one or more VPCs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • vpcs

        DescribeVpcsResponse.Builder vpcs​(Vpc... vpcs)

        Information about one or more VPCs.

        Parameters:
        vpcs - Information about one or more VPCs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • vpcs

        DescribeVpcsResponse.Builder vpcs​(Consumer<Vpc.Builder>... vpcs)

        Information about one or more VPCs.

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

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

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

        DescribeVpcsResponse.Builder nextToken​(String nextToken)

        The token to include in another request to get the next page of items. This value is null when there are no more items to return.

        Parameters:
        nextToken - The token to include in another request to get the next page of items. This value is null when there are no more items to return.
        Returns:
        Returns a reference to this object so that method calls can be chained together.